X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-inval.s;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-inval.s;h=180db8e2e03b94a0dd837e91fe4f28eb4493458d;hp=f7a4379ad407be28604246b1d151cf40084c3cec;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/i386/x86-64-inval.s b/gas/testsuite/gas/i386/x86-64-inval.s index f7a4379..180db8e 100644 --- a/gas/testsuite/gas/i386/x86-64-inval.s +++ b/gas/testsuite/gas/i386/x86-64-inval.s @@ -11,15 +11,18 @@ calll *(%eax) # 32-bit data size not allowed calll *(%r8) # 32-bit data size not allowed calll *(%rax) # 32-bit data size not allowed - callq *(%ax) # 32-bit data size not allowed - callw *(%ax) # no 16-bit addressing + callq *(%ax) # no 16-bit addressing daa # illegal das # illegal enterl $0,$0 # can't have 32-bit stack operands into # illegal foo: jcxz foo # No prefix exists to select CX as a counter jmpl *%eax # 32-bit data size not allowed - jmpl *(%rax) # 32-bit data size not allowed + jmpl *(%ax) # 32-bit data size not allowed + jmpl *(%eax) # 32-bit data size not allowed + jmpl *(%r8) # 32-bit data size not allowed + jmpl *(%rax) # 32-bit data size not allowed + jmpq *(%ax) # no 16-bit addressing lcalll $0,$0 # illegal lcallq $0,$0 # illegal ldsl %eax,(%rax) # illegal @@ -50,5 +53,48 @@ foo: jcxz foo # No prefix exists to select CX as a counter popfl # can't have 32-bit stack operands retl # can't have 32-bit stack operands insertq $4,$2,%xmm2,%ebx # The last operand must be XMM register. + fnstsw %eax + fnstsw %al + fstsw %eax + fstsw %al + in $8,%rax + out %rax,$8 +movzxl (%rax),%rax +movnti %ax, (%rax) +movntiw %ax, (%rax) + .intel_syntax noprefix cmpxchg16b dword ptr [rax] # Must be oword + movq xmm1, XMMWORD PTR [rsp] + movq xmm1, DWORD PTR [rsp] + movq xmm1, WORD PTR [rsp] + movq xmm1, BYTE PTR [rsp] + movq XMMWORD PTR [rsp],xmm1 + movq DWORD PTR [rsp],xmm1 + movq WORD PTR [rsp],xmm1 + movq BYTE PTR [rsp],xmm1 + fnstsw eax + fnstsw al + fstsw eax + fstsw al + in rax,8 + out 8,rax +movsx ax, [rax] +movsx eax, [rax] +movsx rax, [rax] +movzx ax, [rax] +movzx eax, [rax] +movzx rax, [rax] +movnti word ptr [rax], ax + calld eax # 32-bit data size not allowed + calld [ax] # 32-bit data size not allowed + calld [eax] # 32-bit data size not allowed + calld [r8] # 32-bit data size not allowed + calld [rax] # 32-bit data size not allowed + callq [ax] # no 16-bit addressing + jmpd eax # 32-bit data size not allowed + jmpd [ax] # 32-bit data size not allowed + jmpd [eax] # 32-bit data size not allowed + jmpd [r8] # 32-bit data size not allowed + jmpd [rax] # 32-bit data size not allowed + jmpq [ax] # no 16-bit addressing