Lines Matching refs:FP32
22 def SelectF32 : SelectWrapper<f32, FP32>;
29 defm CondStoreF32 : CondStores<FP32, nonvolatile_store,
40 def LZER : InherentRRE<"lzer", 0xB374, FP32, fpimm0>;
46 def LER : UnaryRR <"ler", 0x38, null_frag, FP32, FP32>;
52 def LDR32 : UnaryRR<"ldr", 0x28, null_frag, FP32, FP32>;
57 defm LTEBR : LoadAndTestRRE<"ltebr", 0xB302, FP32>;
65 defm : CompareZeroFP<LTEBRCompare, FP32>;
73 def LTEBRCompare_VecPseudo : Pseudo<(outs), (ins FP32:$R1, FP32:$R2), []>;
78 defm : CompareZeroFP<LTEBRCompare_VecPseudo, FP32>;
88 // fcopysign with an FP32 result.
90 def CPSDRss : BinaryRRFb<"cpsdr", 0xB372, fcopysign, FP32, FP32, FP32>;
91 def CPSDRsd : BinaryRRFb<"cpsdr", 0xB372, fcopysign, FP32, FP32, FP64>;
96 def : Pat<(fcopysign FP32:$src1, (f32 (fpround (f128 FP128:$src2)))),
97 (CPSDRsd FP32:$src1, (EXTRACT_SUBREG FP128:$src2, subreg_h64))>;
99 def : Pat<(fcopysign FP32:$src1, (f32 (fpround (f128 VR128:$src2)))),
100 (CPSDRsd FP32:$src1, (EXTRACT_SUBREG VR128:$src2, subreg_h64))>;
104 def CPSDRds : BinaryRRFb<"cpsdr", 0xB372, fcopysign, FP64, FP64, FP32>;
122 def : CopySign128<FP32, (CPSDRds (EXTRACT_SUBREG FP128:$src1, subreg_h64),
123 FP32:$src2)>;
139 defm LE : UnaryRXPair<"le", 0x78, 0xED64, load, FP32, 4>;
144 def LDE32 : UnaryRXE<"lde", 0xED24, null_frag, FP32, 4>;
159 defm STE : StoreRXPair<"ste", 0x70, 0xED66, store, FP32, 4>;
177 def LEDBR : UnaryRRE<"ledbr", 0xB344, fpround, FP32, FP64>;
181 def LEDBRA : TernaryRRFe<"ledbra", 0xB344, FP32, FP64>,
196 def LDEBR : UnaryRRE<"ldebr", 0xB304, fpextend, FP64, FP32>;
197 def LXEBR : UnaryRRE<"lxebr", 0xB306, null_frag, FP128, FP32>;
200 def : Pat<(f128 (fpextend (f32 FP32:$src))), (LXEBR FP32:$src)>;
216 def CEFBR : UnaryRRE<"cefbr", 0xB394, sint_to_fp, FP32, GR32>;
220 def CEGBR : UnaryRRE<"cegbr", 0xB3A4, sint_to_fp, FP32, GR64>;
227 def CEFBRA : TernaryRRFe<"cefbra", 0xB394, FP32, GR32>;
231 def CEGBRA : TernaryRRFe<"cegbra", 0xB3A4, FP32, GR64>;
238 def CELFBR : TernaryRRFe<"celfbr", 0xB390, FP32, GR32>;
242 def CELGBR : TernaryRRFe<"celgbr", 0xB3A0, FP32, GR64>;
258 def CFEBR : BinaryRRFe<"cfebr", 0xB398, GR32, FP32>;
262 def CGEBR : BinaryRRFe<"cgebr", 0xB3A8, GR64, FP32>;
268 def : Pat<(i32 (fp_to_sint FP32:$src)), (CFEBR 5, FP32:$src)>;
272 def : Pat<(i64 (fp_to_sint FP32:$src)), (CGEBR 5, FP32:$src)>;
279 def CFEBRA : TernaryRRFe<"cfebra", 0xB398, GR32, FP32>;
283 def CGEBRA : TernaryRRFe<"cgebra", 0xB3A8, GR64, FP32>;
291 def CLFEBR : TernaryRRFe<"clfebr", 0xB39C, GR32, FP32>;
295 def CLGEBR : TernaryRRFe<"clgebr", 0xB3AC, GR64, FP32>;
300 def : Pat<(i32 (fp_to_uint FP32:$src)), (CLFEBR 5, FP32:$src, 0)>;
304 def : Pat<(i64 (fp_to_uint FP32:$src)), (CLGEBR 5, FP32:$src, 0)>;
324 def LCEBR : UnaryRRE<"lcebr", 0xB303, null_frag, FP32, FP32>;
331 def LCDFR_32 : UnaryRRE<"lcdfr", 0xB373, fneg, FP32, FP32>;
335 def LPEBR : UnaryRRE<"lpebr", 0xB300, null_frag, FP32, FP32>;
342 def LPDFR_32 : UnaryRRE<"lpdfr", 0xB370, fabs, FP32, FP32>;
346 def LNEBR : UnaryRRE<"lnebr", 0xB301, null_frag, FP32, FP32>;
353 def LNDFR_32 : UnaryRRE<"lndfr", 0xB371, fnabs, FP32, FP32>;
356 def SQEBR : UnaryRRE<"sqebr", 0xB314, fsqrt, FP32, FP32>;
360 def SQEB : UnaryRXE<"sqeb", 0xED14, loadu<fsqrt>, FP32, 4>;
365 def FIEBR : BinaryRRFe<"fiebr", 0xB357, FP32, FP32>;
371 def : Pat<(frint FP32:$src), (FIEBR 0, FP32:$src)>;
378 def FIEBRA : TernaryRRFe<"fiebra", 0xB357, FP32, FP32>;
383 def : Pat<(fnearbyint FP32:$src), (FIEBRA 0, FP32:$src, 4)>;
390 def : Pat<(ffloor FP32:$src), (FIEBRA 7, FP32:$src, 4)>;
395 def : Pat<(fceil FP32:$src), (FIEBRA 6, FP32:$src, 4)>;
400 def : Pat<(ftrunc FP32:$src), (FIEBRA 5, FP32:$src, 4)>;
406 def : Pat<(fround FP32:$src), (FIEBRA 1, FP32:$src, 4)>;
418 def AEBR : BinaryRRE<"aebr", 0xB30A, fadd, FP32, FP32>;
422 def AEB : BinaryRXE<"aeb", 0xED0A, fadd, FP32, load, 4>;
428 def SEBR : BinaryRRE<"sebr", 0xB30B, fsub, FP32, FP32>;
432 def SEB : BinaryRXE<"seb", 0xED0B, fsub, FP32, load, 4>;
438 def MEEBR : BinaryRRE<"meebr", 0xB317, fmul, FP32, FP32>;
442 def MEEB : BinaryRXE<"meeb", 0xED17, fmul, FP32, load, 4>;
445 // f64 multiplication of two FP32 registers.
446 def MDEBR : BinaryRRE<"mdebr", 0xB30C, null_frag, FP64, FP32>;
447 def : Pat<(fmul (f64 (fpextend FP32:$src1)), (f64 (fpextend FP32:$src2))),
449 FP32:$src1, subreg_h32), FP32:$src2)>;
451 // f64 multiplication of an FP32 register and an f32 memory.
453 def : Pat<(fmul (f64 (fpextend FP32:$src1)),
455 (MDEB (INSERT_SUBREG (f64 (IMPLICIT_DEF)), FP32:$src1, subreg_h32),
474 def MAEBR : TernaryRRD<"maebr", 0xB30E, z_fma, FP32, FP32>;
477 def MAEB : TernaryRXF<"maeb", 0xED0E, z_fma, FP32, FP32, load, 4>;
481 def MSEBR : TernaryRRD<"msebr", 0xB30F, z_fms, FP32, FP32>;
484 def MSEB : TernaryRXF<"mseb", 0xED0F, z_fms, FP32, FP32, load, 4>;
488 def DEBR : BinaryRRE<"debr", 0xB30D, fdiv, FP32, FP32>;
492 def DEB : BinaryRXE<"deb", 0xED0D, fdiv, FP32, load, 4>;
497 def DIEBR : TernaryRRFb<"diebr", 0xB353, FP32, FP32, FP32>;
506 def CEBR : CompareRRE<"cebr", 0xB309, z_fcmp, FP32, FP32>;
510 def CEB : CompareRXE<"ceb", 0xED09, z_fcmp, FP32, load, 4>;
513 def KEBR : CompareRRE<"kebr", 0xB308, null_frag, FP32, FP32>;
517 def KEB : CompareRXE<"keb", 0xED08, null_frag, FP32, load, 4>;
523 def TCEB : TestRXE<"tceb", 0xED10, z_tdc, FP32>;