X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Fintel.s;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Fintel.s;h=a3a07b336a429cd09d299e609e54af5d518f5ce5;hp=ef65aa9c30f09a2609f75aa5896ca165095c495b;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/i386/intel.s b/gas/testsuite/gas/i386/intel.s index ef65aa9..a3a07b3 100644 --- a/gas/testsuite/gas/i386/intel.s +++ b/gas/testsuite/gas/i386/intel.s @@ -131,9 +131,9 @@ foo: mov 0x90909090[eax], edx mov dl, 0x90909090[eax] mov edx, 0x90909090[eax] - mov dword ptr 0x90909090[eax], ss + mov word ptr 0x90909090[eax], ss lea edx, 0x90909090[eax] - mov ss, dword ptr 0x90909090[eax] + mov ss, word ptr 0x90909090[eax] pop dword ptr 0x90909090[eax] xchg eax, eax xchg ecx, eax @@ -145,16 +145,16 @@ foo: xchg edi, eax cwde cdq - call 0x9090,0x90909090 + call 0x9090:0x90909090 fwait pushf popf sahf lahf - mov al, [0x90909090] - mov eax, [0x90909090] - mov [0x90909090], al - mov [0x90909090], eax + mov al, FLAT:[0x90909090] + mov eax, FLAT:[0x90909090] + mov FLAT:[0x90909090], al + mov FLAT:[0x90909090], eax movs byte ptr es:[edi], byte ptr ds:[esi] movs dword ptr es:[edi], dword ptr ds:[esi] cmps byte ptr ds:[esi], byte ptr es:[edi] @@ -193,6 +193,8 @@ foo: mov dword ptr 0x90909090[eax], 0x90909090 enter 0x9090, 0x90 leave + retf 0x9090 + retf lret 0x9090 lret int3 @@ -224,7 +226,7 @@ foo: out 0x90, eax call .+5+0x90909090 jmp .+5+0x90909090 - jmp 0x9090,0x90909090 + jmp 0x9090:0x90909090 jmp .+2-0x70 in al, dx in eax, dx @@ -486,11 +488,11 @@ foo: xchg di, ax cbw cwd - callw 0x9090,0x9090 + callw 0x9090:0x9090 pushfw popfw - mov ax, [0x90909090] - mov [0x90909090], ax + mov ax, FLAT:[0x90909090] + mov FLAT:[0x90909090], ax movs word ptr es:[edi], word ptr ds:[esi] cmps word ptr ds:[esi], word ptr es:[edi] test ax, 0x9090 @@ -513,6 +515,8 @@ foo: mov word ptr 0x90909090[eax], 0x9090 enterw 0x9090, 0x90 leavew + retfw 0x9090 + retfw lretw 0x9090 lretw iretw @@ -521,7 +525,7 @@ foo: in ax, 0x90 out 0x90, ax callw .+3+0x9090 - jmpw 0x9090,0x9090 + jmpw 0x9090:0x9090 in ax, dx out dx, ax not word ptr 0x90909090[eax] @@ -595,13 +599,13 @@ rot5: mov eax, [ebx*2] adc BYTE PTR [eax*4+0x90909090], dl das - jmp 0x9090,0x90909090 + jmp 0x9090:0x90909090 movs WORD PTR es:[edi], WORD PTR ds:[esi] jo .+2-0x70 1: jne 1b - movq mm6, [DWORD PTR .LC5+40] + movq mm6, [QWORD PTR .LC5+40] add edi, dword ptr [ebx+8*eax] movd mm0, dword ptr [ebx+8*eax+4] add edi, dword ptr [ebx+8*ecx+((4095+1)*8)] @@ -613,7 +617,7 @@ rot5: mov ax, word ptr [ebx+2*eax+(2*(4095+1)*2)] jmp eax jmp [eax] - jmp [bar] + jmp FLAT:[bar] jmp bar # Check arithmetic operators @@ -628,4 +632,69 @@ rot5: shrd eax, edx, cl shld eax, edx, cl - .p2align 4,0 +fadd +fadd st(3) +fadd st,st(3) +fadd st(3),st +fadd DWORD PTR [ebx] +fadd QWORD PTR [ebx] +faddp +faddp st(3) +faddp st(3),st +fdiv +fdiv st(3) +fdiv st,st(3) +fdiv st(3),st +fdiv DWORD PTR [ebx] +fdiv QWORD PTR [ebx] +fdivp +fdivp st(3) +fdivp st(3),st +fdivp st,st(3) +fdivr +fdivr st(3) +fdivr st,st(3) +fdivr st(3),st +fdivr DWORD PTR [ebx] +fdivr QWORD PTR [ebx] +fdivrp +fdivrp st(3) +fdivrp st(3),st +fdivrp st,st(3) +fmul +fmul st(3) +fmul st,st(3) +fmul st(3),st +fmul DWORD PTR [ebx] +fmul QWORD PTR [ebx] +fmulp +fmulp st(3) +fmulp st(3),st +fsub +fsubr +fsub st(3) +fsub st,st(3) +fsub st(3),st +fsub DWORD PTR [ebx] +fsub QWORD PTR [ebx] +fsubp +fsubp st(3) +fsubp st,st(3) +fsubp st(3),st +fsubr st(3) +fsubr st,st(3) +fsubr st(3),st +fsubr DWORD PTR [ebx] +fsubr QWORD PTR [ebx] +fsubrp +fsubrp st(3) +fsubrp st(3),st +fsubrp st,st(3) + +fidivr word ptr [ebx] +fidivr dword ptr [ebx] + + cmovpe edx, 0x90909090[eax] + cmovpo edx, 0x90909090[eax] + cmovpe dx, 0x90909090[eax] + cmovpo dx, 0x90909090[eax]