From 7520cf9b6a0296e3856e374059c2e2f63cecf28d Mon Sep 17 00:00:00 2001 From: pierre Date: Wed, 5 Apr 2000 22:13:42 +0000 Subject: [PATCH] + Use R FPUint suffix in table --- compiler/i386atts.inc | 28 +++++++++---------- compiler/i386ins.dat | 62 +++++++++++++++++++++---------------------- compiler/i386tab.inc | 32 +++++++++++----------- 3 files changed, 61 insertions(+), 61 deletions(-) diff --git a/compiler/i386atts.inc b/compiler/i386atts.inc index 509966696f..902d910281 100644 --- a/compiler/i386atts.inc +++ b/compiler/i386atts.inc @@ -72,23 +72,23 @@ attsufFPU, attsufNONE, attsufNONE, attsufNONE, -attsufFPU, -attsufFPU, -attsufFPU, -attsufFPU, -attsufFPU, +attsufFPUint, +attsufFPUint, +attsufFPUint, +attsufFPUint, +attsufFPUint, attsufINT, -attsufFPU, +attsufFPUint, attsufNONE, attsufNONE, attsufINT, attsufINT, -attsufFPU, -attsufFPU, +attsufFPUint, +attsufFPUint, attsufFPU, attsufNONE, attsufINT, -attsufINT, +attsufNONE, attsufNONE, attsufNONE, attsufNONE, @@ -102,17 +102,17 @@ attsufNONE, attsufNONE, attsufNONE, attsufNONE, +attsufNONE, attsufINT, -attsufINT, -attsufINT, +attsufNONE, attsufINT, attsufNONE, attsufNONE, attsufNONE, attsufNONE, attsufNONE, -attsufINT, -attsufINT, +attsufNONE, +attsufNONE, attsufNONE, attsufNONE, attsufNONE, @@ -120,7 +120,7 @@ attsufNONE, attsufNONE, attsufFPU, attsufINT, -attsufINT, +attsufNONE, attsufFPU, attsufINT, attsufFPU, diff --git a/compiler/i386ins.dat b/compiler/i386ins.dat index 4f7fdedab6..f4f13292d5 100644 --- a/compiler/i386ins.dat +++ b/compiler/i386ins.dat @@ -513,30 +513,30 @@ void \3\x9B\xDB\xE0 8086,FPU (Ch_FPU, Ch_None, Ch_None) fpureg \1\xDD\10\xC0 8086,FPU -[FIADD,fiaddF] +[FIADD,fiaddR] (Ch_FPU, Ch_None, Ch_None) -mem32 \300\1\xDE\200 8086,FPU -mem64 \300\1\xDA\200 8086,FPU +mem16 \300\1\xDE\200 8086,FPU +mem32 \300\1\xDA\200 8086,FPU -[FICOM,ficomF] +[FICOM,ficomR] (Ch_FPU, Ch_None, Ch_None) -mem32 \300\1\xDE\202 8086,FPU -mem64 \300\1\xDA\202 8086,FPU +mem16 \300\1\xDE\202 8086,FPU +mem32 \300\1\xDA\202 8086,FPU -[FICOMP,ficompF] +[FICOMP,ficompR] (Ch_FPU, Ch_None, Ch_None) -mem32 \300\1\xDE\203 8086,FPU -mem64 \300\1\xDA\203 8086,FPU +mem16 \300\1\xDE\203 8086,FPU +mem32 \300\1\xDA\203 8086,FPU -[FIDIV,fidivF] +[FIDIV,fidivR] (Ch_FPU, Ch_None, Ch_None) -mem32 \300\1\xDE\206 8086,FPU -mem64 \300\1\xDA\206 8086,FPU +mem16 \300\1\xDE\206 8086,FPU +mem32 \300\1\xDA\206 8086,FPU -[FIDIVR,fidivrF] +[FIDIVR,fidivrR] (Ch_FPU, Ch_None, Ch_None) -mem32 \300\1\xDE\207 8086,FPU -mem64 \300\1\xDA\207 8086,FPU +mem16 \300\1\xDE\207 8086,FPU +mem32 \300\1\xDA\207 8086,FPU [FILD,fildX] (Ch_FPU, Ch_None, Ch_None) @@ -544,10 +544,10 @@ mem32 \300\1\xDB\200 8086,FPU mem16 \320\300\1\xDF\200 8086,FPU mem64 \300\1\xDF\205 8086,FPU -[FIMUL,fimulF] +[FIMUL,fimulR] (Ch_FPU, Ch_None, Ch_None) -mem32 \300\1\xDE\201 8086,FPU -mem64 \300\1\xDA\201 8086,FPU +mem16 \300\1\xDE\201 8086,FPU +mem32 \300\1\xDA\201 8086,FPU [FINCSTP] (Ch_FPU, Ch_None, Ch_None) @@ -568,15 +568,15 @@ mem32 \300\1\xDB\203 8086,FPU mem16 \320\300\1\xDF\203 8086,FPU mem64 \300\1\xDF\207 8086,FPU -[FISUB,fisubF] +[FISUB,fisubR] (Ch_FPU, Ch_None, Ch_None) -mem32 \300\1\xDE\204 8086,FPU -mem64 \300\1\xDA\204 8086,FPU +mem16 \300\1\xDE\204 8086,FPU +mem32 \300\1\xDA\204 8086,FPU -[FISUBR,fisubrF] +[FISUBR,fisubrR] (Ch_FPU, Ch_None, Ch_None) -mem32 \300\1\xDE\205 8086,FPU -mem64 \300\1\xDA\205 8086,FPU +mem16 \300\1\xDE\205 8086,FPU +mem32 \300\1\xDA\205 8086,FPU [FLD,fldF] (Ch_Rop1, Ch_FPU, Ch_None) @@ -593,7 +593,7 @@ void \2\xD9\xE8 8086,FPU (Ch_FPU, Ch_None, Ch_None) mem \300\1\xD9\205 8086,FPU,SW -[FLDENV,fldenvX] +[FLDENV,fldenv] (Ch_FPU, Ch_None, Ch_None) mem \300\1\xD9\204 8086,FPU @@ -657,7 +657,7 @@ void \2\xDB\xE3 8086,FPU (Ch_FPU, Ch_None, Ch_None) void \2\xD9\xD0 8086,FPU -[FNSAVE,fnsaveX] +[FNSAVE,fnsave] (Ch_FPU, Ch_None, Ch_None) mem \300\1\xDD\206 8086,FPU @@ -665,7 +665,7 @@ mem \300\1\xDD\206 8086,FPU (Ch_Wop1, Ch_None, Ch_None) mem \300\1\xD9\207 8086,FPU,SW -[FNSTENV,fnstenvX] +[FNSTENV,fnstenv] (Ch_Wop1, Ch_None, Ch_None) mem \300\1\xD9\206 8086,FPU @@ -694,11 +694,11 @@ void \2\xD9\xF2 8086,FPU (Ch_FPU, Ch_None, Ch_None) void \2\xD9\xFC 8086,FPU -[FRSTOR,frstorX] +[FRSTOR,frstor] (Ch_FPU, Ch_None, Ch_None) mem \300\1\xDD\204 8086,FPU -[FSAVE,fsaveX] +[FSAVE,fsave] (Ch_Wop1, Ch_None, Ch_None) mem \300\2\x9B\xDD\206 8086,FPU @@ -732,7 +732,7 @@ fpureg \1\xDD\10\xD0 8086,FPU (Ch_Wop1, Ch_None, Ch_None) mem \300\2\x9B\xD9\207 8086,FPU,SW -[FSTENV,fstenvX] +[FSTENV,fstenv] (Ch_Wop1, Ch_None, Ch_None) mem \300\2\x9B\xD9\206 8086,FPU @@ -2734,4 +2734,4 @@ mmxreg,mmxreg \2\x0F\x0F\110\01\xBB PENT,3DNOW,SM [FFREEP] (Ch_All, Ch_None, Ch_None) -fpureg \1\xDF\10\xC0 PENT,3DNOW,FPU +fpureg \1\xDF\10\xC0 PENT,3DNOW,FPU \ No newline at end of file diff --git a/compiler/i386tab.inc b/compiler/i386tab.inc index 8cda3f5dea..a265881a78 100644 --- a/compiler/i386tab.inc +++ b/compiler/i386tab.inc @@ -1991,70 +1991,70 @@ ( opcode : A_FIADD; ops : 1; - optypes : (ot_memory or ot_bits32,ot_none,ot_none); + optypes : (ot_memory or ot_bits16,ot_none,ot_none); code : #192#1#222#128; flags : if_8086 or if_fpu ), ( opcode : A_FIADD; ops : 1; - optypes : (ot_memory or ot_bits64,ot_none,ot_none); + optypes : (ot_memory or ot_bits32,ot_none,ot_none); code : #192#1#218#128; flags : if_8086 or if_fpu ), ( opcode : A_FICOM; ops : 1; - optypes : (ot_memory or ot_bits32,ot_none,ot_none); + optypes : (ot_memory or ot_bits16,ot_none,ot_none); code : #192#1#222#130; flags : if_8086 or if_fpu ), ( opcode : A_FICOM; ops : 1; - optypes : (ot_memory or ot_bits64,ot_none,ot_none); + optypes : (ot_memory or ot_bits32,ot_none,ot_none); code : #192#1#218#130; flags : if_8086 or if_fpu ), ( opcode : A_FICOMP; ops : 1; - optypes : (ot_memory or ot_bits32,ot_none,ot_none); + optypes : (ot_memory or ot_bits16,ot_none,ot_none); code : #192#1#222#131; flags : if_8086 or if_fpu ), ( opcode : A_FICOMP; ops : 1; - optypes : (ot_memory or ot_bits64,ot_none,ot_none); + optypes : (ot_memory or ot_bits32,ot_none,ot_none); code : #192#1#218#131; flags : if_8086 or if_fpu ), ( opcode : A_FIDIV; ops : 1; - optypes : (ot_memory or ot_bits32,ot_none,ot_none); + optypes : (ot_memory or ot_bits16,ot_none,ot_none); code : #192#1#222#134; flags : if_8086 or if_fpu ), ( opcode : A_FIDIV; ops : 1; - optypes : (ot_memory or ot_bits64,ot_none,ot_none); + optypes : (ot_memory or ot_bits32,ot_none,ot_none); code : #192#1#218#134; flags : if_8086 or if_fpu ), ( opcode : A_FIDIVR; ops : 1; - optypes : (ot_memory or ot_bits32,ot_none,ot_none); + optypes : (ot_memory or ot_bits16,ot_none,ot_none); code : #192#1#222#135; flags : if_8086 or if_fpu ), ( opcode : A_FIDIVR; ops : 1; - optypes : (ot_memory or ot_bits64,ot_none,ot_none); + optypes : (ot_memory or ot_bits32,ot_none,ot_none); code : #192#1#218#135; flags : if_8086 or if_fpu ), @@ -2082,14 +2082,14 @@ ( opcode : A_FIMUL; ops : 1; - optypes : (ot_memory or ot_bits32,ot_none,ot_none); + optypes : (ot_memory or ot_bits16,ot_none,ot_none); code : #192#1#222#129; flags : if_8086 or if_fpu ), ( opcode : A_FIMUL; ops : 1; - optypes : (ot_memory or ot_bits64,ot_none,ot_none); + optypes : (ot_memory or ot_bits32,ot_none,ot_none); code : #192#1#218#129; flags : if_8086 or if_fpu ), @@ -2145,28 +2145,28 @@ ( opcode : A_FISUB; ops : 1; - optypes : (ot_memory or ot_bits32,ot_none,ot_none); + optypes : (ot_memory or ot_bits16,ot_none,ot_none); code : #192#1#222#132; flags : if_8086 or if_fpu ), ( opcode : A_FISUB; ops : 1; - optypes : (ot_memory or ot_bits64,ot_none,ot_none); + optypes : (ot_memory or ot_bits32,ot_none,ot_none); code : #192#1#218#132; flags : if_8086 or if_fpu ), ( opcode : A_FISUBR; ops : 1; - optypes : (ot_memory or ot_bits32,ot_none,ot_none); + optypes : (ot_memory or ot_bits16,ot_none,ot_none); code : #192#1#222#133; flags : if_8086 or if_fpu ), ( opcode : A_FISUBR; ops : 1; - optypes : (ot_memory or ot_bits64,ot_none,ot_none); + optypes : (ot_memory or ot_bits32,ot_none,ot_none); code : #192#1#218#133; flags : if_8086 or if_fpu ),