Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1524)

Unified Diff: src/IceInstX8664.def

Issue 1260163003: Subzero. Removes references to %ah. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/IceInstX8664.def
diff --git a/src/IceInstX8664.def b/src/IceInstX8664.def
index 6857ed6f121753c0fe73a0983184ff414008fd87..02f09705bdae729ae60ae7ed5e6843a91a62371b 100644
--- a/src/IceInstX8664.def
+++ b/src/IceInstX8664.def
@@ -62,15 +62,10 @@
// all of the registers are considered and have distinct numberings.
// This is in contrast to the above, where the "encode" is based on how
// the register numbers will be encoded in binaries and values can overlap.
-// We don't want the register allocator choosing Reg_ah, in particular
-// for lowering insertelement to pinsrb where internally we use an
-// 8-bit operand but externally pinsrb uses a 32-bit register, in
-// which Reg_ah doesn't map to eax.
#define REGX8664_TABLE \
/* val, encode, name64, name, name16, name8, scratch, preserved, \
stackptr, frameptr, isInt, isFP */ \
REGX8664_GPR_TABLE \
- X(Reg_ah, = Reg_rax + 4, "?ah", "?ah", "?ah", "ah", 0, 0, 0, 0, 0, 0) \
REGX8664_XMM_TABLE
//#define X(val, encode, name, name32, name16, name8, scratch, preserved,
// stackptr, frameptr, isI8, isInt, isFP)
« no previous file with comments | « src/IceInstX8632.def ('k') | src/IceRegistersX8632.h » ('j') | src/IceRegistersX8632.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698