Lines Matching refs:FP64
22 def SelectF64 : SelectWrapper<f64, FP64>;
30 defm CondStoreF64 : CondStores<FP64, simple_store,
40 def LZDR : InherentRRE<"lzdr", 0xB375, FP64, fpimm0>;
46 def LDR : UnaryRR <"ldr", 0x28, null_frag, FP64, FP64>;
59 def LTDBR : UnaryRRE<"ltdbr", 0xB312, null_frag, FP64, FP64>;
68 def LTDBRCompare_Pseudo : Pseudo<(outs), (ins FP64:$R1), []>;
72 defm : CompareZeroFP<LTDBRCompare_Pseudo, FP64>;
77 def LGDR : UnaryRRE<"lgdr", 0xB3CD, bitconvert, GR64, FP64>;
78 def LDGR : UnaryRRE<"ldgr", 0xB3C1, bitconvert, FP64, GR64>;
83 def CPSDRsd : BinaryRRFb<"cpsdr", 0xB372, fcopysign, FP32, FP32, FP64>;
94 // fcopysign with an FP64 result.
96 def CPSDRds : BinaryRRFb<"cpsdr", 0xB372, fcopysign, FP64, FP64, FP32>;
97 def CPSDRdd : BinaryRRFb<"cpsdr", 0xB372, fcopysign, FP64, FP64, FP64>;
101 def : Pat<(fcopysign FP64:$src1, (f64 (fpround (f128 FP128:$src2)))),
102 (CPSDRdd FP64:$src1, (EXTRACT_SUBREG FP128:$src2, subreg_h64))>;
104 def : Pat<(fcopysign FP64:$src1, (f64 (fpround (f128 VR128:$src2)))),
105 (CPSDRdd FP64:$src1, (EXTRACT_SUBREG VR128:$src2, subreg_h64))>;
116 def : CopySign128<FP64, (CPSDRdd (EXTRACT_SUBREG FP128:$src1, subreg_h64),
117 FP64:$src2)>;
133 defm LD : UnaryRXPair<"ld", 0x68, 0xED65, z_load, FP64, 8>;
153 defm STD : StoreRXPair<"std", 0x60, 0xED67, store, FP64, 8>;
171 def LEDBR : UnaryRRE<"ledbr", 0xB344, any_fpround, FP32, FP64>;
175 def LEDBRA : TernaryRRFe<"ledbra", 0xB344, FP32, FP64>,
192 def LDEBR : UnaryRRE<"ldebr", 0xB304, any_fpextend, FP64, FP32>;
194 def LXDBR : UnaryRRE<"lxdbr", 0xB305, null_frag, FP128, FP64>;
198 def : Pat<(f128 (any_fpextend (f64 FP64:$src))), (LXDBR FP64:$src)>;
203 def LDEB : UnaryRXE<"ldeb", 0xED04, z_any_extloadf32, FP64, 4>;
217 def CDFBR : UnaryRRE<"cdfbr", 0xB395, any_sint_to_fp, FP64, GR32>;
221 def CDGBR : UnaryRRE<"cdgbr", 0xB3A5, any_sint_to_fp, FP64, GR64>;
229 def CDFBRA : TernaryRRFe<"cdfbra", 0xB395, FP64, GR32>;
233 def CDGBRA : TernaryRRFe<"cdgbra", 0xB3A5, FP64, GR64>;
241 def CDLFBR : TernaryRRFe<"cdlfbr", 0xB391, FP64, GR32>;
245 def CDLGBR : TernaryRRFe<"cdlgbr", 0xB3A1, FP64, GR64>;
262 def CFDBR : BinaryRRFe<"cfdbr", 0xB399, GR32, FP64>;
266 def CGDBR : BinaryRRFe<"cgdbr", 0xB3A9, GR64, FP64>;
272 def : Pat<(i32 (any_fp_to_sint FP64:$src)), (CFDBR 5, FP64:$src)>;
276 def : Pat<(i64 (any_fp_to_sint FP64:$src)), (CGDBR 5, FP64:$src)>;
284 def CFDBRA : TernaryRRFe<"cfdbra", 0xB399, GR32, FP64>;
288 def CGDBRA : TernaryRRFe<"cgdbra", 0xB3A9, GR64, FP64>;
296 def CLFDBR : TernaryRRFe<"clfdbr", 0xB39D, GR32, FP64>;
300 def CLGDBR : TernaryRRFe<"clgdbr", 0xB3AD, GR64, FP64>;
305 def : Pat<(i32 (any_fp_to_uint FP64:$src)), (CLFDBR 5, FP64:$src, 0)>;
309 def : Pat<(i64 (any_fp_to_uint FP64:$src)), (CLGDBR 5, FP64:$src, 0)>;
329 def LCDBR : UnaryRRE<"lcdbr", 0xB313, null_frag, FP64, FP64>;
333 def LCDFR : UnaryRRE<"lcdfr", 0xB373, fneg, FP64, FP64>;
340 def LPDBR : UnaryRRE<"lpdbr", 0xB310, null_frag, FP64, FP64>;
344 def LPDFR : UnaryRRE<"lpdfr", 0xB370, fabs, FP64, FP64>;
351 def LNDBR : UnaryRRE<"lndbr", 0xB311, null_frag, FP64, FP64>;
355 def LNDFR : UnaryRRE<"lndfr", 0xB371, fnabs, FP64, FP64>;
362 def SQDBR : UnaryRRE<"sqdbr", 0xB315, any_fsqrt, FP64, FP64>;
366 def SQDB : UnaryRXE<"sqdb", 0xED15, loadu<any_fsqrt>, FP64, 8>;
373 def FIDBR : BinaryRRFe<"fidbr", 0xB35F, FP64, FP64>;
380 def : Pat<(any_frint FP64:$src), (FIDBR 0, FP64:$src)>;
388 def FIDBRA : TernaryRRFe<"fidbra", 0xB35F, FP64, FP64>;
394 def : Pat<(any_fnearbyint FP64:$src), (FIDBRA 0, FP64:$src, 4)>;
401 def : Pat<(any_ffloor FP64:$src), (FIDBRA 7, FP64:$src, 4)>;
406 def : Pat<(any_fceil FP64:$src), (FIDBRA 6, FP64:$src, 4)>;
411 def : Pat<(any_ftrunc FP64:$src), (FIDBRA 5, FP64:$src, 4)>;
417 def : Pat<(any_fround FP64:$src), (FIDBRA 1, FP64:$src, 4)>;
430 def ADBR : BinaryRRE<"adbr", 0xB31A, any_fadd, FP64, FP64>;
435 defm ADB : BinaryRXEAndPseudo<"adb", 0xED1A, z_any_fadd_noreassoc, FP64,
443 def SDBR : BinaryRRE<"sdbr", 0xB31B, any_fsub, FP64, FP64>;
448 defm SDB : BinaryRXEAndPseudo<"sdb", 0xED1B, z_any_fsub_noreassoc, FP64,
456 def MDBR : BinaryRRE<"mdbr", 0xB31C, any_fmul, FP64, FP64>;
461 defm MDB : BinaryRXEAndPseudo<"mdb", 0xED1C, z_any_fmul_noreassoc, FP64,
467 def MDEBR : BinaryRRE<"mdebr", 0xB30C, null_frag, FP64, FP32>;
475 def MDEB : BinaryRXE<"mdeb", 0xED0C, null_frag, FP64, z_load, 4>;
481 // f128 multiplication of two FP64 registers.
483 def MXDBR : BinaryRRE<"mxdbr", 0xB307, null_frag, FP128, FP64>;
485 def : Pat<(any_fmul (f128 (any_fpextend FP64:$src1)),
486 (f128 (any_fpextend FP64:$src2))),
488 FP64:$src1, subreg_h64), FP64:$src2)>;
490 // f128 multiplication of an FP64 register and an f64 memory.
494 def : Pat<(any_fmul (f128 (any_fpextend FP64:$src1)),
496 (MXDB (INSERT_SUBREG (f128 (IMPLICIT_DEF)), FP64:$src1, subreg_h64),
502 def MADBR : TernaryRRD<"madbr", 0xB31E, z_any_fma, FP64, FP64>;
505 defm MADB : TernaryRXFAndPseudo<"madb", 0xED1E, z_any_fma, FP64, FP64, z_load, 8>;
511 def MSDBR : TernaryRRD<"msdbr", 0xB31F, z_any_fms, FP64, FP64>;
514 defm MSDB : TernaryRXFAndPseudo<"msdb", 0xED1F, z_any_fms, FP64, FP64, z_load, 8>;
520 def DDBR : BinaryRRE<"ddbr", 0xB31D, any_fdiv, FP64, FP64>;
524 defm DDB : BinaryRXEAndPseudo<"ddb", 0xED1D, any_fdiv, FP64, z_load, 8>;
530 def DIDBR : TernaryRRFb<"didbr", 0xB35B, FP64, FP64, FP64>;
539 def CDBR : CompareRRE<"cdbr", 0xB319, z_any_fcmp, FP64, FP64>;
543 def CDB : CompareRXE<"cdb", 0xED19, z_any_fcmp, FP64, z_load, 8>;
546 def KDBR : CompareRRE<"kdbr", 0xB318, z_strict_fcmps, FP64, FP64>;
550 def KDB : CompareRXE<"kdb", 0xED18, z_strict_fcmps, FP64, z_load, 8>;
556 def TCDB : TestRXE<"tcdb", 0xED11, z_tdc, FP64>;