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

Unified Diff: src/IceTargetLoweringX8664.def

Issue 1224173006: Adds the x86-64 assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Introduces the X8664 assembler and tests. No REX support yet. 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/IceTargetLoweringX8664.def
diff --git a/src/IceTargetLoweringX8632.def b/src/IceTargetLoweringX8664.def
similarity index 85%
copy from src/IceTargetLoweringX8632.def
copy to src/IceTargetLoweringX8664.def
index 543b153e770b349e3121986d578a0f9922e6f996..8ee61d06e13edca5660908b09d5012e2edc4041c 100644
--- a/src/IceTargetLoweringX8632.def
+++ b/src/IceTargetLoweringX8664.def
@@ -1,4 +1,4 @@
-//===- subzero/src/IceTargetLoweringX8632.def - x86-32 X-macros -*- C++ -*-===//
+//===- subzero/src/IceTargetLoweringX8664.def - x86-64 X-macros -*- C++ -*-===//
//
// The Subzero Code Generator
//
@@ -7,15 +7,15 @@
//
//===----------------------------------------------------------------------===//
//
-// This file defines certain patterns for lowering to x86-32 target
+// This file defines certain patterns for lowering to x86-64 target
// instructions, in the form of x-macros.
//
//===----------------------------------------------------------------------===//
-#ifndef SUBZERO_SRC_ICETARGETLOWERINGX8632_DEF
-#define SUBZERO_SRC_ICETARGETLOWERINGX8632_DEF
+#ifndef SUBZERO_SRC_ICETARGETLOWERINGX8664_DEF
+#define SUBZERO_SRC_ICETARGETLOWERINGX8664_DEF
-#define FCMPX8632_TABLE \
+#define FCMPX8664_TABLE \
/* <---- scalar comparison ----> <- vector comparison -> */ \
/* val, dflt, swap, C1, C2, swap, predicate */ \
X(False, 0, 0, Br_None, Br_None, 0, Cmpps_Invalid) \
@@ -36,7 +36,7 @@
X(True, 1, 0, Br_None, Br_None, 0, Cmpps_Invalid) \
//#define X(val, dflt, swapS, C1, C2, swapV, pred)
-#define ICMPX8632_TABLE \
+#define ICMPX8664_TABLE \
/* val, C_32, C1_64, C2_64, C3_64 */ \
X(Eq, Br_e, Br_None, Br_ne, Br_e) \
X(Ne, Br_ne, Br_ne, Br_None, Br_ne) \
@@ -50,4 +50,4 @@
X(Sle, Br_le, Br_l, Br_g, Br_be) \
//#define X(val, C_32, C1_64, C2_64, C3_64)
-#endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_DEF
+#endif // SUBZERO_SRC_ICETARGETLOWERINGX8664_DEF

Powered by Google App Engine
This is Rietveld 408576698