Index: src/trusted/validator_x86/testdata/64/dup-prefix.tf |
diff --git a/src/trusted/validator_x86/testdata/64/dup-prefix.tf b/src/trusted/validator_x86/testdata/64/dup-prefix.tf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6b04d513387eada1d2712a34cd4f567c8c8bde37 |
--- /dev/null |
+++ b/src/trusted/validator_x86/testdata/64/dup-prefix.tf |
@@ -0,0 +1,10 @@ |
+BITS: 64 |
+OUTCOME: invalid |
+ |
+# Sample of instruction with duplicated prefix. |
+asm: fs; fs; add %al,%al |
+hex: 64 64 00 c0 |
+nc_out: ERROR: More than one (non-REX) prefix byte specified |
+nc_out: ERROR: Uses a segment prefix byte not allowed by Native Client |
+nc_out: ERROR: Duplicating a prefix byte is not allowed by Native Client |
+ |