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

Unified Diff: src/IceTypes.def

Issue 561883002: Add load and store instructions to Subzero bitcode reader. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix isses in patch set 2. Created 6 years, 3 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
« no previous file with comments | « src/IceTypes.cpp ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTypes.def
diff --git a/src/IceTypes.def b/src/IceTypes.def
index 26e92166c3e85133af07130b416da6c6d7601e0e..19175f098567fcc097c0e7f311d33b58e086d994 100644
--- a/src/IceTypes.def
+++ b/src/IceTypes.def
@@ -40,25 +40,26 @@
// I - Is integer value (scalar or vector).
// F - Is floating point value (scalar or vector).
// IA - Is integer arithmetic type
+// LS - true if load/store allowed on type.
// CR - Result type of compare instruction for argument type
// (IceType_void if disallowed)
#define ICETYPE_PROPS_TABLE \
- /* Enum Value V I F IA CR */ \
- X(IceType_void, 0, 0, 0, 0, IceType_void) \
- X(IceType_i1, 0, 1, 0, 0, IceType_i1) \
- X(IceType_i8, 0, 1, 0, 1, IceType_i1) \
- X(IceType_i16, 0, 1, 0, 1, IceType_i1) \
- X(IceType_i32, 0, 1, 0, 1, IceType_i1) \
- X(IceType_i64, 0, 1, 0, 1, IceType_i1) \
- X(IceType_f32, 0, 0, 1, 0, IceType_i1) \
- X(IceType_f64, 0, 0, 1, 0, IceType_i1) \
- X(IceType_v4i1, 1, 1, 0, 0, IceType_v4i1) \
- X(IceType_v8i1, 1, 1, 0, 0, IceType_v8i1) \
- X(IceType_v16i1, 1, 1, 0, 0, IceType_v16i1) \
- X(IceType_v16i8, 1, 1, 0, 1, IceType_v16i1) \
- X(IceType_v8i16, 1, 1, 0, 1, IceType_v8i1) \
- X(IceType_v4i32, 1, 1, 0, 1, IceType_v4i1) \
- X(IceType_v4f32, 1, 0, 1, 0, IceType_v4i1) \
-//#define X(tag, IsVec, IsInt, IsFloat, IsIntArith, CompareResult)
+ /* Enum Value V I F IA LS CR */ \
+ X(IceType_void, 0, 0, 0, 0, 0, IceType_void) \
+ X(IceType_i1, 0, 1, 0, 0, 0, IceType_i1) \
+ X(IceType_i8, 0, 1, 0, 1, 1, IceType_i1) \
+ X(IceType_i16, 0, 1, 0, 1, 1, IceType_i1) \
+ X(IceType_i32, 0, 1, 0, 1, 1, IceType_i1) \
+ X(IceType_i64, 0, 1, 0, 1, 1, IceType_i1) \
+ X(IceType_f32, 0, 0, 1, 0, 1, IceType_i1) \
+ X(IceType_f64, 0, 0, 1, 0, 1, IceType_i1) \
+ X(IceType_v4i1, 1, 1, 0, 0, 0, IceType_v4i1) \
+ X(IceType_v8i1, 1, 1, 0, 0, 0, IceType_v8i1) \
+ X(IceType_v16i1, 1, 1, 0, 0, 0, IceType_v16i1) \
+ X(IceType_v16i8, 1, 1, 0, 1, 1, IceType_v16i1) \
+ X(IceType_v8i16, 1, 1, 0, 1, 1, IceType_v8i1) \
+ X(IceType_v4i32, 1, 1, 0, 1, 1, IceType_v4i1) \
+ X(IceType_v4f32, 1, 0, 1, 0, 1, IceType_v4i1) \
+//#define X(tag, IsVec, IsInt, IsFloat, IsIntArith, IsLoadStore, CompareResult)
#endif // SUBZERO_SRC_ICETYPES_DEF
« no previous file with comments | « src/IceTypes.cpp ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698