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

Unified Diff: src/IceInstARM32.def

Issue 1136793002: Handle ARM "ret void" and function alignment with proper padding. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: note moved to cpp Created 5 years, 7 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/IceInstARM32.cpp ('k') | src/IceTargetLoweringARM32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInstARM32.def
diff --git a/src/IceInstARM32.def b/src/IceInstARM32.def
index ea7032abe51f136aab69c3470cb2fbc85133eae4..8eca14ba64bb520621adb6637ace6c35680fe01a 100644
--- a/src/IceInstARM32.def
+++ b/src/IceInstARM32.def
@@ -61,5 +61,24 @@
// TODO(jvoung): add condition code tables, etc.
+// Load/Store instruction width suffixes.
+#define ICETYPEARM32_TABLE \
+ /* tag, element type, width, addr off bits sext, zext */ \
+ X(IceType_void, IceType_void, "", 0, 0) \
+ X(IceType_i1, IceType_void, "b", 8, 12) \
+ X(IceType_i8, IceType_void, "b", 8, 12) \
+ X(IceType_i16, IceType_void, "h", 8, 8) \
+ X(IceType_i32, IceType_void, "", 12, 12) \
+ X(IceType_i64, IceType_void, "d", 8, 8) \
+ X(IceType_f32, IceType_void, "", 10, 10) \
+ X(IceType_f64, IceType_void, "", 10, 10) \
+ X(IceType_v4i1, IceType_i32 , "", 0, 0) \
+ X(IceType_v8i1, IceType_i16 , "", 0, 0) \
+ X(IceType_v16i1, IceType_i8 , "", 0, 0) \
+ X(IceType_v16i8, IceType_i8 , "", 0, 0) \
+ X(IceType_v8i16, IceType_i16 , "", 0, 0) \
+ X(IceType_v4i32, IceType_i32 , "", 0, 0) \
+ X(IceType_v4f32, IceType_f32 , "", 0, 0) \
+//#define X(tag, elementty, width, sbits, ubits)
#endif // SUBZERO_SRC_ICEINSTARM32_DEF
« no previous file with comments | « src/IceInstARM32.cpp ('k') | src/IceTargetLoweringARM32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698