Commit f2c91aa5 by Nicolas Capens Committed by Jim Stichnoth

Fix inadvertent use of the Microsoft x86-64 calling convention.

Change-Id: I3d60dd5d2020b0fe234587810bdddbf855fa9e4a Reviewed-on: https://chromium-review.googlesource.com/425829Reviewed-by: 's avatarJim Stichnoth <stichnot@chromium.org>
parent c78be4ec
......@@ -211,7 +211,7 @@
// sboxres, isGPR, is64, is32, is16, is8, isXmm, is64To8, is32To8,
// is16To8, isTrunc8Rcvr, isAhRcvr, aliases)
#if defined(_WIN32) // Microsoft x86-64 ABI
#if defined(_WIN32) && defined(SUBZERO_USE_MICROSOFT_ABI) // Microsoft x86-64 ABI
#define REGX8664_BYTEREG_TABLE REGX8664_BYTEREG_TABLE2(0, 1)
#define REGX8664_GPR_TABLE REGX8664_GPR_TABLE2(0, 1)
#elif defined(__unix__) // System V AMD64 ABI
......
......@@ -702,7 +702,7 @@ public:
static RegNumT getRdxOrDie() { return RegisterSet::Reg_rdx; }
#if defined(_WIN32)
#if defined(_WIN32) && defined(SUBZERO_USE_MICROSOFT_ABI)
// Microsoft x86-64 calling convention:
//
// * The first four arguments of vector/fp type, regardless of their
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment