Index: src/trusted/validator_x86/testdata/32/load-segment.tf |
diff --git a/src/trusted/validator_x86/testdata/32/load-segment.tf b/src/trusted/validator_x86/testdata/32/load-segment.tf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..35dc7b4774f750da6637a3eaa002244ac004d99e |
--- /dev/null |
+++ b/src/trusted/validator_x86/testdata/32/load-segment.tf |
@@ -0,0 +1,43 @@ |
+BITS: 32 |
+OUTCOME: invalid |
+ |
+# lds (%eax),%eax |
+asm: lds (%eax),%eax |
+hex: C5 00 |
+nc_out: Illegal instruction |
+ |
+# les (%eax),%eax |
+asm: les (%eax),%eax |
+hex: C4 00 |
+nc_out: Illegal instruction |
+ |
+# lfs (%eax),%eax |
+asm: lfs (%eax),%eax |
+hex: 0F B4 00 |
+nc_out: Illegal instruction |
+ |
+# lgs (%eax),%eax |
+asm: lgs (%eax),%eax |
+hex: 0F B5 00 |
+nc_out: Illegal instruction |
+ |
+# lss (%eax),%eax |
+asm: lss (%eax),%eax |
+hex: 0F B2 00 |
+nc_out: Illegal instruction |
+ |
+# lfs (%eax),%ebx |
+asm: lfs (%eax),%ebx |
+hex: 0F B4 18 |
+nc_out: Illegal instruction |
+ |
+# lgs (%eax),%ebx |
+asm: lgs (%eax),%ebx |
+hex: 0F B5 18 |
+nc_out: Illegal instruction |
+ |
+# lss (%eax),%ebx |
+asm: lss (%eax),%ebx |
+hex: 0F B2 18 |
+nc_out: Illegal instruction |
+ |