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

Unified Diff: src/trusted/validator_arm/testdata-thumb/mem_test.S

Issue 7799013: Intial Thumb2 Sandbox (naclrev 6680) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: asdsa Created 9 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
Index: src/trusted/validator_arm/testdata-thumb/mem_test.S
diff --git a/src/trusted/validator_arm/testdata-thumb/mem_test.S b/src/trusted/validator_arm/testdata-thumb/mem_test.S
new file mode 100644
index 0000000000000000000000000000000000000000..89cc42a07432ebb42f444ceb94c3f23e564997d8
--- /dev/null
+++ b/src/trusted/validator_arm/testdata-thumb/mem_test.S
@@ -0,0 +1,16 @@
+#include "masks.h"
+.syntax unified
+.code 16
+.thumb_func
+.global _start
+_start:
+//imm_access:
+// str r0, #0x1
+//imm_access_high:
+// str r0, #0x10000000
+indir_access:
+// mov r0, #0x10000000
+ str r1, [r0, #0]
+indir_access_safe:
+ DMASK(r0)
+ str r1, [r0, #0]

Powered by Google App Engine
This is Rietveld 408576698