Index: src/trusted/validator/x86/testing/tf/converted/32/imm-3byte.tf |
diff --git a/src/trusted/validator/x86/testing/tf/converted/32/imm-3byte.tf b/src/trusted/validator/x86/testing/tf/converted/32/imm-3byte.tf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e2f45ac01d2299b52519000b8658a1f844fd292a |
--- /dev/null |
+++ b/src/trusted/validator/x86/testing/tf/converted/32/imm-3byte.tf |
@@ -0,0 +1,10 @@ |
+BITS: 32 |
+OUTCOME: invalid |
+ |
+# Tests that we recognize instructions with 3 bytes of immediate. |
+# Note: The instruction isn't decoded correctly, but it doesn't matter |
+# since the instruction is NaCl illegal. |
+asm: enter $0x201,$0x3 |
+hex: c8 01 02 03 |
+nc_out: Illegal instruction |
+ |