| Index: src/trusted/validator_x86/testdata/32/legacy.tf
|
| diff --git a/src/trusted/validator_x86/testdata/32/legacy.tf b/src/trusted/validator_x86/testdata/32/legacy.tf
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d06205199a5acd30f48bd90bb8f85309c6fcd393
|
| --- /dev/null
|
| +++ b/src/trusted/validator_x86/testdata/32/legacy.tf
|
| @@ -0,0 +1,64 @@
|
| +BITS: 32
|
| +OUTCOME: invalid
|
| +
|
| +# Test legacy instructions.
|
| +# aaa
|
| +asm: aaa
|
| +hex: 37
|
| +nc_out: Illegal instruction
|
| +
|
| +# aad
|
| +asm: aad $0xa
|
| +hex: D5 0A
|
| +nc_out: Illegal instruction
|
| +
|
| +# aam
|
| +asm: aam $0xa
|
| +hex: D4 0A
|
| +nc_out: Illegal instruction
|
| +
|
| +# aas
|
| +asm: aas
|
| +hex: 3F
|
| +nc_out: Illegal instruction
|
| +
|
| +# bound %eax, (%eax)
|
| +asm: bound %eax,(%eax)
|
| +hex: 62 00
|
| +nc_out: Illegal instruction
|
| +
|
| +# daa
|
| +asm: daa
|
| +hex: 27
|
| +nc_out: Illegal instruction
|
| +
|
| +# das
|
| +asm: das
|
| +hex: 2F
|
| +nc_out: Illegal instruction
|
| +
|
| +# xlat (%ebx,%al)
|
| +asm: xlat %ds:(%ebx)
|
| +hex: D7
|
| +nc_out: Illegal instruction
|
| +
|
| +
|
| +# Some undocumented instructions
|
| +# icebp
|
| +hex: F1
|
| +nc_out: Illegal instruction
|
| +
|
| +# salc
|
| +hex: D6
|
| +nc_out: Illegal instruction
|
| +
|
| +
|
| +# Flags operations
|
| +# lahf
|
| +asm: lahf
|
| +hex: 9F
|
| +
|
| +# sahf
|
| +asm: sahf
|
| +hex: 9E
|
| +
|
|
|