1 ;Testname=test; Arguments=-fbin -ofpu.bin; Files=stdout stderr fpu.bin
3 ; relaxed encodings for FPU instructions, which NASM should support
4 ; -----------------------------------------------------------------
10 ; no operands instead of one operand:
12 ; F(U)COM(P), FCOM2, FCOMP3, FCOMP5
22 ; FLD, FST, FSTP, FSTP1, FSTP8, FSTP9
31 ; FXCH, FXCH4, FXCH7, FFREE, FFREEP
39 ; no operands instead of two operands:
41 ; FADD(P), FMUL(P), FSUBR(P), FSUB(P), FDIVR(P), FDIV(P)
56 ; one operand instead of two operands:
58 ; FADD, FMUL, FSUB, FSUBR, FDIV, FDIVR
67 ; FADD, FMUL, FSUBR, FSUB, FDIVR, FDIV (with TO qualifier)
76 ; FADDP, FMULP, FSUBRP, FSUBP, FDIVRP, FDIVP
85 ; FCMOV(N)B, FCMOV(N)E, FCMOV(N)BE, FCMOV(N)U, and F(U)COMI(P)
100 ; two operands instead of one operand:
102 ; these don't really exist, and thus are _NOT_ supported:
104 ; FCOM reg_fpu,reg_fpu0
105 ; FCOM reg_fpu0,reg_fpu
106 ; FUCOM reg_fpu,reg_fpu0
107 ; FUCOM reg_fpu0,reg_fpu
108 ; FCOMP reg_fpu,reg_fpu0
109 ; FCOMP reg_fpu0,reg_fpu
110 ; FUCOMP reg_fpu,reg_fpu0
111 ; FUCOMP reg_fpu0,reg_fpu
113 ; FCOM2 reg_fpu,reg_fpu0
114 ; FCOM2 reg_fpu0,reg_fpu
115 ; FCOMP3 reg_fpu,reg_fpu0
116 ; FCOMP3 reg_fpu0,reg_fpu
117 ; FCOMP5 reg_fpu,reg_fpu0
118 ; FCOMP5 reg_fpu0,reg_fpu
120 ; FXCH reg_fpu,reg_fpu0
121 ; FXCH reg_fpu0,reg_fpu
122 ; FXCH4 reg_fpu,reg_fpu0
123 ; FXCH4 reg_fpu0,reg_fpu
124 ; FXCH7 reg_fpu,reg_fpu0
125 ; FXCH7 reg_fpu0,reg_fpu