• Home
  • Raw
  • Download

Lines Matching refs:FP32

15 def SelectF32  : SelectWrapper<FP32>;
19 defm CondStoreF32 : CondStores<FP32, nonvolatile_store,
30 def LZER : InherentRRE<"lzer", 0xB374, FP32, (fpimm0)>;
37 def LER : UnaryRR <"le", 0x38, null_frag, FP32, FP32>;
45 defm LTEBR : LoadAndTestRRE<"lteb", 0xB302, FP32>;
49 defm : CompareZeroFP<LTEBRCompare, FP32>;
57 // fcopysign with an FP32 result.
59 def CPSDRss : BinaryRRF<"cpsd", 0xB372, fcopysign, FP32, FP32>;
60 def CPSDRsd : BinaryRRF<"cpsd", 0xB372, fcopysign, FP32, FP64>;
64 def : Pat<(fcopysign FP32:$src1, FP128:$src2),
65 (CPSDRsd FP32:$src1, (EXTRACT_SUBREG FP128:$src2, subreg_h64))>;
69 def CPSDRds : BinaryRRF<"cpsd", 0xB372, fcopysign, FP64, FP32>;
82 def : CopySign128<FP32, (CPSDRds (EXTRACT_SUBREG FP128:$src1, subreg_h64),
83 FP32:$src2)>;
98 defm LE : UnaryRXPair<"le", 0x78, 0xED64, load, FP32, 4>;
114 defm STE : StoreRXPair<"ste", 0x70, 0xED66, store, FP32, 4>;
132 def LEDBR : UnaryRRE<"ledb", 0xB344, fround, FP32, FP64>;
136 def LEDBRA : UnaryRRF4<"ledbra", 0xB344, FP32, FP64>,
149 def LDEBR : UnaryRRE<"ldeb", 0xB304, fextend, FP64, FP32>;
150 def LXEBR : UnaryRRE<"lxeb", 0xB306, fextend, FP128, FP32>;
159 def CEFBR : UnaryRRE<"cefb", 0xB394, sint_to_fp, FP32, GR32>;
163 def CEGBR : UnaryRRE<"cegb", 0xB3A4, sint_to_fp, FP32, GR64>;
169 def CELFBR : UnaryRRF4<"celfbr", 0xB390, FP32, GR32>;
173 def CELGBR : UnaryRRF4<"celgbr", 0xB3A0, FP32, GR64>;
189 def CFEBR : UnaryRRF<"cfeb", 0xB398, GR32, FP32>;
193 def CGEBR : UnaryRRF<"cgeb", 0xB3A8, GR64, FP32>;
199 def : Pat<(i32 (fp_to_sint FP32:$src)), (CFEBR 5, FP32:$src)>;
203 def : Pat<(i64 (fp_to_sint FP32:$src)), (CGEBR 5, FP32:$src)>;
210 def CLFEBR : UnaryRRF4<"clfebr", 0xB39C, GR32, FP32>;
214 def CLGEBR : UnaryRRF4<"clgebr", 0xB3AC, GR64, FP32>;
219 def : Pat<(i32 (fp_to_uint FP32:$src)), (CLFEBR 5, FP32:$src, 0)>;
223 def : Pat<(i64 (fp_to_uint FP32:$src)), (CLGEBR 5, FP32:$src, 0)>;
235 def LCEBR : UnaryRRE<"lceb", 0xB303, fneg, FP32, FP32>;
242 def LPEBR : UnaryRRE<"lpeb", 0xB300, fabs, FP32, FP32>;
249 def LNEBR : UnaryRRE<"lneb", 0xB301, fnabs, FP32, FP32>;
255 def SQEBR : UnaryRRE<"sqeb", 0xB314, fsqrt, FP32, FP32>;
259 def SQEB : UnaryRXE<"sqeb", 0xED14, loadu<fsqrt>, FP32, 4>;
264 def FIEBR : UnaryRRF<"fieb", 0xB357, FP32, FP32>;
270 def : Pat<(frint FP32:$src), (FIEBR 0, FP32:$src)>;
277 def FIEBRA : UnaryRRF4<"fiebra", 0xB357, FP32, FP32>;
282 def : Pat<(fnearbyint FP32:$src), (FIEBRA 0, FP32:$src, 4)>;
289 def : Pat<(ffloor FP32:$src), (FIEBRA 7, FP32:$src, 4)>;
294 def : Pat<(fceil FP32:$src), (FIEBRA 6, FP32:$src, 4)>;
299 def : Pat<(ftrunc FP32:$src), (FIEBRA 5, FP32:$src, 4)>;
305 def : Pat<(frnd FP32:$src), (FIEBRA 1, FP32:$src, 4)>;
317 def AEBR : BinaryRRE<"aeb", 0xB30A, fadd, FP32, FP32>;
321 def AEB : BinaryRXE<"aeb", 0xED0A, fadd, FP32, load, 4>;
327 def SEBR : BinaryRRE<"seb", 0xB30B, fsub, FP32, FP32>;
331 def SEB : BinaryRXE<"seb", 0xED0B, fsub, FP32, load, 4>;
337 def MEEBR : BinaryRRE<"meeb", 0xB317, fmul, FP32, FP32>;
341 def MEEB : BinaryRXE<"meeb", 0xED17, fmul, FP32, load, 4>;
344 // f64 multiplication of two FP32 registers.
345 def MDEBR : BinaryRRE<"mdeb", 0xB30C, null_frag, FP64, FP32>;
346 def : Pat<(fmul (f64 (fextend FP32:$src1)), (f64 (fextend FP32:$src2))),
348 FP32:$src1, subreg_h32), FP32:$src2)>;
350 // f64 multiplication of an FP32 register and an f32 memory.
352 def : Pat<(fmul (f64 (fextend FP32:$src1)),
354 (MDEB (INSERT_SUBREG (f64 (IMPLICIT_DEF)), FP32:$src1, subreg_h32),
371 def MAEBR : TernaryRRD<"maeb", 0xB30E, z_fma, FP32>;
374 def MAEB : TernaryRXF<"maeb", 0xED0E, z_fma, FP32, load, 4>;
378 def MSEBR : TernaryRRD<"mseb", 0xB30F, z_fms, FP32>;
381 def MSEB : TernaryRXF<"mseb", 0xED0F, z_fms, FP32, load, 4>;
385 def DEBR : BinaryRRE<"deb", 0xB30D, fdiv, FP32, FP32>;
389 def DEB : BinaryRXE<"deb", 0xED0D, fdiv, FP32, load, 4>;
397 def CEBR : CompareRRE<"ceb", 0xB309, z_fcmp, FP32, FP32>;
401 def CEB : CompareRXE<"ceb", 0xED09, z_fcmp, FP32, load, 4>;