Index: src/trusted/validator_x86/testdata/64/inc67.tf |
diff --git a/src/trusted/validator_x86/testdata/64/inc67.tf b/src/trusted/validator_x86/testdata/64/inc67.tf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f2c92c916f8e370064cde42ab37ec119719f3488 |
--- /dev/null |
+++ b/src/trusted/validator_x86/testdata/64/inc67.tf |
@@ -0,0 +1,10 @@ |
+BITS: 64 |
+OUTCOME: invalid |
+ |
+# Show that we don't accept the 67 prefix (i.e. 16 bit addressing). |
+# Uses case of rip relative addressing. |
+asm: addr32 incl 0x3976a4(%eip) # 0x3976ab |
+hex: 67 ff 05 a4 76 39 00 |
+nc_out: ERROR: Use of 67 (ADDR16) prefix not allowed by Native Client |
+nc_out: ERROR: Assignment to non-64 bit memory address |
+ |