X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-opcode-inval.d;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-opcode-inval.d;h=ccb19ac43da9d5c7a3edffa186ea028d901246f8;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gas/testsuite/gas/i386/x86-64-opcode-inval.d b/gas/testsuite/gas/i386/x86-64-opcode-inval.d new file mode 100644 index 0000000..ccb19ac --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-opcode-inval.d @@ -0,0 +1,49 @@ +#as: --32 +#objdump: -dw -Mx86-64 +#name: 64bit illegal opcodes + +.*: +file format .* + +Disassembly of section .text: + +0+ : +[ ]*[a-f0-9]+: 37 \(bad\) + +0+1 : +[ ]*[a-f0-9]+: d5 \(bad\) +[ ]*[a-f0-9]+: 0a d5 or %ch,%dl + +0+3 : +[ ]*[a-f0-9]+: d5 \(bad\) +[ ]*[a-f0-9]+: 02 d4 add %ah,%dl + +0+5 : +[ ]*[a-f0-9]+: d4 \(bad\) +[ ]*[a-f0-9]+: 0a d4 or %ah,%dl + +0+7 : +[ ]*[a-f0-9]+: d4 \(bad\) +[ ]*[a-f0-9]+: 02 3f add \(%rdi\),%bh + +0+9 : +[ ]*[a-f0-9]+: 3f \(bad\) + +0+a : +[ ]*[a-f0-9]+: 62 \(bad\) +[ ]*[a-f0-9]+: 10 27 adc %ah,\(%rdi\) + +0+c : +[ ]*[a-f0-9]+: 27 \(bad\) + +0+d : +[ ]*[a-f0-9]+: 2f \(bad\) + +0+e : +[ ]*[a-f0-9]+: ce \(bad\) + +0+f : +[ ]*[a-f0-9]+: 60 \(bad\) + +0+10 : +[ ]*[a-f0-9]+: 61 \(bad\) +#pass