Home
last modified time | relevance | path

Searched refs:FPR16 (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZfh.td209 def : InstAlias<"fmv.h $rd, $rs", (FSGNJ_H FPR16:$rd, FPR16:$rs, FPR16:$rs)>;
210 def : InstAlias<"fabs.h $rd, $rs", (FSGNJX_H FPR16:$rd, FPR16:$rs, FPR16:$rs)>;
280 def : Pat<(f16 (any_fma FPR16:$rs1, FPR16:$rs2, FPR16:$rs3)),
284 def : Pat<(f16 (any_fma FPR16:$rs1, FPR16:$rs2, (fneg FPR16:$rs3))),
285 (FMSUB_H FPR16:$rs1, FPR16:$rs2, FPR16:$rs3, FRM_DYN)>;
288 def : Pat<(f16 (any_fma (fneg FPR16:$rs1), FPR16:$rs2, FPR16:$rs3)),
289 (FNMSUB_H FPR16:$rs1, FPR16:$rs2, FPR16:$rs3, FRM_DYN)>;
292 def : Pat<(f16 (any_fma (fneg FPR16:$rs1), FPR16:$rs2, (fneg FPR16:$rs3))),
293 (FNMADD_H FPR16:$rs1, FPR16:$rs2, FPR16:$rs3, FRM_DYN)>;
296 def : Pat<(f16 (fneg (any_fma_nsz FPR16:$rs1, FPR16:$rs2, FPR16:$rs3))),
[all …]
H A DRISCVInstrInfoZfa.td151 def FROUND_H : FPUnaryOp_r_frm<0b0100010, 0b00100, FPR16, FPR16, "fround.h">,
153 def FROUNDNX_H : FPUnaryOp_r_frm<0b0100010, 0b00101, FPR16, FPR16, "froundnx.h">,
182 (FLTQ_H GPR:$rd, FPR16:$rt, FPR16:$rs), 0>;
184 (FLEQ_H GPR:$rd, FPR16:$rt, FPR16:$rs), 0>;
247 def: Pat<(f16 (any_frint FPR16:$rs1)), (FROUNDNX_H FPR16:$rs1, FRM_DYN)>;
250 def: Pat<(f16 (any_fnearbyint FPR16:$rs1)), (FROUND_H FPR16:$rs1, FRM_DYN)>;
252 def: Pat<(f16 (any_fround FPR16:$rs1)), (FROUND_H FPR16:$rs1, FRM_RMM)>;
253 def: Pat<(f16 (any_froundeven FPR16:$rs1)), (FROUND_H FPR16:$rs1, FRM_RNE)>;
254 def: Pat<(f16 (any_ffloor FPR16:$rs1)), (FROUND_H FPR16:$rs1, FRM_RDN)>;
255 def: Pat<(f16 (any_fceil FPR16:$rs1)), (FROUND_H FPR16:$rs1, FRM_RUP)>;
[all …]
H A DRISCVInstrInfoZfbfmin.td35 def FCVT_BF16_S : FPUnaryOp_r_frm<0b0100010, 0b01000, FPR16, FPR32, "fcvt.bf16.s">,
37 def FCVT_S_BF16 : FPUnaryOp_r_frm<0b0100000, 0b00110, FPR32, FPR16, "fcvt.s.bf16">,
50 def : StPat<store, FSH, FPR16, bf16>;
56 def : Pat<(riscv_fpextend_bf16 (bf16 FPR16:$rs1)),
57 (FCVT_S_BF16 FPR16:$rs1, FRM_DYN)>;
61 def : Pat<(riscv_fmv_x_anyexth (bf16 FPR16:$src)), (FMV_X_H FPR16:$src)>;
62 def : Pat<(riscv_fmv_x_signexth (bf16 FPR16:$src)), (FMV_X_H FPR16:$src)>;
68 def : Pat<(i32 (any_fp_to_sint (bf16 FPR16:$rs1))), (FCVT_W_S (FCVT_S_BF16 $rs1, FRM_RNE), FRM_RTZ)…
69 def : Pat<(i32 (any_fp_to_uint (bf16 FPR16:$rs1))), (FCVT_WU_S (FCVT_S_BF16 $rs1, FRM_RNE), FRM_RTZ…
79 def : Pat<(i64 (any_fp_to_sint (bf16 FPR16:$rs1))), (FCVT_L_S (FCVT_S_BF16 $rs1, FRM_RNE), FRM_RTZ)…
[all …]
H A DRISCVInstrInfoXSf.td552 RegisterClass ScalarRegClass = !cond(!eq(Sew, 16) : FPR16,
556 string ScalarSuffix = !cond(!eq(Scalar, f16) : "FPR16",
H A DRISCVInstrInfoVPseudos.td120 ["FPR16", "F"],
275 !eq(Scal, f16) : "FPR16",
276 !eq(Scal, bf16) : "FPR16",
330 def VF16M1: VTypeInfo<vfloat16m1_t, vbool16_t, 16, V_M1, f16, FPR16>;
337 V_M2, f16, FPR16>;
339 V_M4, f16, FPR16>;
341 V_M8, f16, FPR16>;
366 def VBF16M1: VTypeInfo<vbfloat16m1_t, vbool16_t, 16, V_M1, bf16, FPR16>;
371 V_M2, bf16, FPR16>;
373 V_M4, bf16, FPR16>;
[all …]
H A DRISCVRegisterInfo.td227 def FPR16 : RegisterClass<"RISCV", [f16, bf16], 16, (add
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrFormats.td5438 (node (f16 FPR16:$Rn), (f16 FPR16:$Rm)))]> {
5459 [(set (f16 FPR16:$Rd), (fneg (node (f16 FPR16:$Rn), (f16 FPR16:$Rm))))]> {
5503 (node (f16 FPR16:$Rn), (f16 FPR16:$Rm), (f16 FPR16:$Ra)))]> {
5602 [(OpNode (f16 FPR16:$Rn), (f16 FPR16:$Rm)), (implicit NZCV)]> {
7390 (ins FPR16:$Rd, FPR16:$Rn, FPR16:$Rm),
7406 [(set (f16 FPR16:$Rd), (OpNode (f16 FPR16:$Rn), (f16 FPR16:$Rm)))]>;
7623 def v1i16 : BaseSIMDTwoScalar<U, {S,1}, 0b11, opc, FPR16, FPR16, asm,
8968 def : Pat<(f16 (OpNode (f16 FPR16:$Rd), (f16 FPR16:$Rn),
9677 FPR16, FPR16, vecshiftR16, asm, []> {
9768 FPR16, FPR16, vecshiftL16, asm, []> {
[all …]
H A DAArch64InstrInfo.td4724 def : Pat<(fmul (fneg FPR16:$a), (f16 FPR16:$b)),
4725 (FNMULHrr FPR16:$a, FPR16:$b)>,
4762 def : Pat<(f16 (fma (fneg FPR16:$Rn), FPR16:$Rm, FPR16:$Ra)),
4763 (FMSUBHrrr FPR16:$Rn, FPR16:$Rm, FPR16:$Ra)>;
4774 def : Pat<(f16 (fma (fneg FPR16:$Rn), FPR16:$Rm, (fneg FPR16:$Ra))),
4775 (FNMADDHrrr FPR16:$Rn, FPR16:$Rm, FPR16:$Ra)>;
4805 (FCSELHrrr FPR16:$Rn, FPR16:$Rm, imm:$cond)>;
7423 (FACGE16 FPR16:$Rn, FPR16:$Rm),
7428 (FACGT16 FPR16:$Rn, FPR16:$Rm),
8442 def : Pat<(f16 (bitconvert (bf16 FPR16:$src))), (f16 FPR16:$src)>;
[all …]
H A DAArch64SVEInstrInfo.td784 def : Pat<(nxv8f16 (splat_vector (f16 FPR16:$src))),
786 def : Pat<(nxv4f16 (splat_vector (f16 FPR16:$src))),
788 def : Pat<(nxv2f16 (splat_vector (f16 FPR16:$src))),
796 def : Pat<(nxv8bf16 (splat_vector (bf16 FPR16:$src))),
798 def : Pat<(nxv4bf16 (splat_vector (bf16 FPR16:$src))),
800 def : Pat<(nxv2bf16 (splat_vector (bf16 FPR16:$src))),
3086 (INSERT_SUBREG (nxv8f16 (IMPLICIT_DEF)), FPR16:$src, hsub)>;
3088 (INSERT_SUBREG (nxv4f16 (IMPLICIT_DEF)), FPR16:$src, hsub)>;
3090 (INSERT_SUBREG (nxv2f16 (IMPLICIT_DEF)), FPR16:$src, hsub)>;
3092 (INSERT_SUBREG (nxv8bf16 (IMPLICIT_DEF)), FPR16:$src, hsub)>;
[all …]
H A DAArch64RegisterInfo.td439 def FPR16 : RegisterClass<"AArch64", [f16, bf16, i16], 16, (sequence "H%u", 0, 31)> {
443 def FPR16_lo : RegisterClass<"AArch64", [f16], 16, (trunc FPR16, 16)> {
683 def FPR16Op : RegisterOperand<FPR16, "printOperand"> {
684 let ParserMatchClass = FPRAsmOperand<"FPR16">;
H A DAArch64SMEInstrInfo.td206 defm _FPR16 : CoalescerBarrierPseudo<FPR16, [bf16, f16]>;
H A DSVEInstrFormats.td6917 def _H : sve_int_perm_clast_vz<0b01, ab, asm, ZPR16, FPR16>;
7026 def _H : sve_int_perm_last_v<0b01, ab, asm, ZPR16, FPR16>;
7234 def _H : sve_int_perm_cpy_v<0b01, asm, ZPR16, FPR16>;
7241 (!cast<Instruction>(NAME # _H) ZPR16:$Zd, PPR3bAny:$Pg, FPR16:$Vn), 1>;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCTargetDesc.cpp304 const auto &FPR16 = AArch64MCRegisterClasses[AArch64::FPR16RegClassID]; in isHForm() local
306 return Op.isReg() && FPR16.contains(Op.getReg()); in isHForm()
321 const auto &FPR16 = AArch64MCRegisterClasses[AArch64::FPR16RegClassID]; in isFpOrNEON() local
329 FPR16.contains(Reg) || FPR8.contains(Reg); in isFpOrNEON()