X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Fi386.s;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Fi386.s;h=7da361f5f8593396abb8257ecfa5c5b87a569463;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/i386/i386.s b/gas/testsuite/gas/i386/i386.s new file mode 100644 index 0000000..7da361f --- /dev/null +++ b/gas/testsuite/gas/i386/i386.s @@ -0,0 +1,70 @@ +# i386 instructions + .text + + fnstsw + fnstsw %ax + fstsw + fstsw %ax + + movsx %al, %si + movsx %al, %esi + movsx %ax, %esi + movsx (%eax), %edx + movsx (%eax), %dx + movsxb (%eax), %dx + movsxb (%eax), %edx + movsxw (%eax), %edx + movsbl (%eax), %edx + movsbw (%eax), %dx + movswl (%eax), %edx + + movzx %al, %si + movzx %al, %esi + movzx %ax, %esi + movzx (%eax), %edx + movzx (%eax), %dx + movzxb (%eax), %dx + movzxb (%eax), %edx + movzxw (%eax), %edx + movzb (%eax), %edx + movzb (%eax), %dx + movzbl (%eax), %edx + movzbw (%eax), %dx + movzwl (%eax), %edx + + movnti %eax, (%eax) + movntil %eax, (%eax) + + .intel_syntax noprefix + fnstsw + fnstsw ax + fstsw + fstsw ax + + movsx si,al + movsx esi,al + movsx esi,ax + movsx edx,BYTE PTR [eax] + movsx dx,BYTE PTR [eax] + movsx edx,WORD PTR [eax] + + movzx si,al + movzx esi,al + movzx esi,ax + movzx edx,BYTE PTR [eax] + movzx dx,BYTE PTR [eax] + movzx edx,WORD PTR [eax] + + movq xmm1,QWORD PTR [esp] + movq xmm1,[esp] + movq QWORD PTR [esp],xmm1 + movq [esp],xmm1 + +movsx ax, byte ptr [eax] +movsx eax, byte ptr [eax] +movsx eax, word ptr [eax] +movzx ax, byte ptr [eax] +movzx eax, byte ptr [eax] +movzx eax, word ptr [eax] + +movnti dword ptr [eax], eax