X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-inval-movbe.l;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-inval-movbe.l;h=1c8ceb55c11db5298cb02362e42dca0101c6a426;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gas/testsuite/gas/i386/x86-64-inval-movbe.l b/gas/testsuite/gas/i386/x86-64-inval-movbe.l new file mode 100644 index 0000000..1c8ceb5 --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-inval-movbe.l @@ -0,0 +1,29 @@ +.*: Assembler messages: +.*:4: Error: .* +.*:5: Error: .* +.*:6: Error: .* +.*:7: Error: .* +.*:8: Error: .* +.*:11: Error: .* +.*:12: Error: .* +.*:13: Error: .* +.*:14: Error: .* +.*:15: Error: .* +GAS LISTING .* + + +[ ]*1[ ]+\# Check illegal movbe in 64bit mode\. +[ ]*2[ ]+\.text +[ ]*3[ ]+foo: +[ ]*4[ ]+movbe \(%rcx\),%bl +[ ]*5[ ]+movbe %ecx,%ebx +[ ]*6[ ]+movbe %bx,%rcx +[ ]*7[ ]+movbe %rbx,%rcx +[ ]*8[ ]+movbe %bl,\(%rcx\) +[ ]*9[ ]+ +[ ]*10[ ]+\.intel_syntax noprefix +[ ]*11[ ]+movbe bl, byte ptr \[rcx\] +[ ]*12[ ]+movbe ebx, ecx +[ ]*13[ ]+movbe rcx, bx +[ ]*14[ ]+movbe rcx, rbx +[ ]*15[ ]+movbe byte ptr \[rcx\], bl