Index: src/trusted/validator_x86/testdata/64/add_cs_gs_prefix.tf |
diff --git a/src/trusted/validator_x86/testdata/64/add_cs_gs_prefix.tf b/src/trusted/validator_x86/testdata/64/add_cs_gs_prefix.tf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3da56a7217994b6b5cd475259d60c8bda040f1a8 |
--- /dev/null |
+++ b/src/trusted/validator_x86/testdata/64/add_cs_gs_prefix.tf |
@@ -0,0 +1,11 @@ |
+BITS: 64 |
+OUTCOME: invalid |
+ |
+# Example of using multiple prefixes that are illegal. In this case the CS |
+# and GS semgment prefixes. Instruction is: |
+# add %al, %al |
+hex: 2e 36 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: Specifying different segment registers using prefix bytes is not allowed by Native Client |
+ |