1 ; relaxed encodings for FPU instructions, which NASM should support
2 ; -----------------------------------------------------------------
8 ; no operands instead of one operand:
10 ; F(U)COM(P), FCOM2, FCOMP3, FCOMP5
20 ; FLD, FST, FSTP, FSTP1, FSTP8, FSTP9
29 ; FXCH, FXCH4, FXCH7, FFREE, FFREEP
37 ; no operands instead of two operands:
39 ; FADD(P), FMUL(P), FSUBR(P), FSUB(P), FDIVR(P), FDIV(P)
54 ; one operand instead of two operands:
56 ; FADD, FMUL, FSUB, FSUBR, FDIV, FDIVR
65 ; FADD, FMUL, FSUBR, FSUB, FDIVR, FDIV (with TO qualifier)
74 ; FADDP, FMULP, FSUBRP, FSUBP, FDIVRP, FDIVP
83 ; FCMOV(N)B, FCMOV(N)E, FCMOV(N)BE, FCMOV(N)U, and F(U)COMI(P)
98 ; two operands instead of one operand:
100 ; these don't really exist, and thus are _NOT_ supported:
102 ; FCOM reg_fpu,reg_fpu0
103 ; FCOM reg_fpu0,reg_fpu
104 ; FUCOM reg_fpu,reg_fpu0
105 ; FUCOM reg_fpu0,reg_fpu
106 ; FCOMP reg_fpu,reg_fpu0
107 ; FCOMP reg_fpu0,reg_fpu
108 ; FUCOMP reg_fpu,reg_fpu0
109 ; FUCOMP reg_fpu0,reg_fpu
111 ; FCOM2 reg_fpu,reg_fpu0
112 ; FCOM2 reg_fpu0,reg_fpu
113 ; FCOMP3 reg_fpu,reg_fpu0
114 ; FCOMP3 reg_fpu0,reg_fpu
115 ; FCOMP5 reg_fpu,reg_fpu0
116 ; FCOMP5 reg_fpu0,reg_fpu
118 ; FXCH reg_fpu,reg_fpu0
119 ; FXCH reg_fpu0,reg_fpu
120 ; FXCH4 reg_fpu,reg_fpu0
121 ; FXCH4 reg_fpu0,reg_fpu
122 ; FXCH7 reg_fpu,reg_fpu0
123 ; FXCH7 reg_fpu0,reg_fpu