Index: src/trusted/validator_x86/testdata/64/fs_use.tf |
diff --git a/src/trusted/validator_x86/testdata/64/fs_use.tf b/src/trusted/validator_x86/testdata/64/fs_use.tf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..290f2a642ca2810bb0b7822b97c9a9262a992691 |
--- /dev/null |
+++ b/src/trusted/validator_x86/testdata/64/fs_use.tf |
@@ -0,0 +1,9 @@ |
+BITS: 64 |
+OUTCOME: invalid |
+ |
+# Example of use of segment register fs as a use, for instruction: mov %eax, %fs[%r15] |
+asm: mov %fs:(%r15),%eax |
+hex: 64 41 8b 07 |
+nc_out: ERROR: Uses a segment prefix byte not allowed by Native Client |
+nc_out: ERROR: Segment memory reference not allowed |
+ |