Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZfh.td218 def : InstAlias<"fmv.h $rd, $rs", (FSGNJ_H FPR16:$rd, FPR16:$rs, FPR16:$rs)>;
219 def : InstAlias<"fabs.h $rd, $rs", (FSGNJX_H FPR16:$rd, FPR16:$rs, FPR16:$rs)>;
284 def : Pat<(any_fma FPR16:$rs1, FPR16:$rs2, FPR16:$rs3),
288 def : Pat<(any_fma FPR16:$rs1, FPR16:$rs2, (fneg FPR16:$rs3)),
289 (FMSUB_H FPR16:$rs1, FPR16:$rs2, FPR16:$rs3, 0b111)>;
292 def : Pat<(any_fma (fneg FPR16:$rs1), FPR16:$rs2, FPR16:$rs3),
293 (FNMSUB_H FPR16:$rs1, FPR16:$rs2, FPR16:$rs3, 0b111)>;
296 def : Pat<(any_fma (fneg FPR16:$rs1), FPR16:$rs2, (fneg FPR16:$rs3)),
297 (FNMADD_H FPR16:$rs1, FPR16:$rs2, FPR16:$rs3, 0b111)>;
300 def : Pat<(fneg (any_fma_nsz FPR16:$rs1, FPR16:$rs2, FPR16:$rs3)),
[all …]
H A DRISCVRegisterInfo.td228 def FPR16 : RegisterClass<"RISCV", [f16], 16, (add
H A DRISCVInstrInfoVPseudos.td128 def SCALAR_F16 : FPR_Info<FPR16, "F16", MxSet<16>.m>;
247 def VF16MF4: VTypeInfo<vfloat16mf4_t, vbool64_t, 16, VR, V_MF4, f16, FPR16>;
248 def VF16MF2: VTypeInfo<vfloat16mf2_t, vbool32_t, 16, VR, V_MF2, f16, FPR16>;
251 def VF16M1: VTypeInfo<vfloat16m1_t, vbool16_t, 16, VR, V_M1, f16, FPR16>;
258 VRM2, V_M2, f16, FPR16>;
260 VRM4, V_M4, f16, FPR16>;
262 VRM8, V_M8, f16, FPR16>;
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64InstrFormats.td5104 (node (f16 FPR16:$Rn), (f16 FPR16:$Rm)))]> {
5125 [(set (f16 FPR16:$Rd), (fneg (node (f16 FPR16:$Rn), (f16 FPR16:$Rm))))]> {
5169 (node (f16 FPR16:$Rn), (f16 FPR16:$Rm), (f16 FPR16:$Ra)))]> {
5230 [(OpNode (f16 FPR16:$Rn), (f16 FPR16:$Rm)), (implicit NZCV)]> {
6934 (ins FPR16:$Rd, FPR16:$Rn, FPR16:$Rm),
6950 [(set (f16 FPR16:$Rd), (OpNode (f16 FPR16:$Rn), (f16 FPR16:$Rm)))]>;
7164 def v1i16 : BaseSIMDTwoScalar<U, {S,1}, 0b11, opc, FPR16, FPR16, asm,
8395 def : Pat<(f16 (OpNode (f16 FPR16:$Rd), (f16 FPR16:$Rn),
9095 FPR16, FPR16, vecshiftR16, asm, []> {
9186 FPR16, FPR16, vecshiftL16, asm, []> {
[all …]
H A DAArch64InstrInfo.td4167 def : Pat<(f16 (fma (fneg FPR16:$Rn), FPR16:$Rm, FPR16:$Ra)),
4168 (FMSUBHrrr FPR16:$Rn, FPR16:$Rm, FPR16:$Ra)>;
4179 def : Pat<(f16 (fma (fneg FPR16:$Rn), FPR16:$Rm, (fneg FPR16:$Ra))),
4180 (FNMADDHrrr FPR16:$Rn, FPR16:$Rm, FPR16:$Ra)>;
5034 (FRECPEv1f16 FPR16:$Rn)>;
6601 def : Pat<(i32 (int_aarch64_neon_facge (f16 FPR16:$Rn), (f16 FPR16:$Rm))),
6604 (FACGE16 FPR16:$Rn, FPR16:$Rm),
6606 def : Pat<(i32 (int_aarch64_neon_facgt (f16 FPR16:$Rn), (f16 FPR16:$Rm))),
6609 (FACGT16 FPR16:$Rn, FPR16:$Rm),
7548 def : Pat<(f16 (bitconvert (bf16 FPR16:$src))), (f16 FPR16:$src)>;
[all …]
H A DAArch64SVEInstrInfo.td692 def : Pat<(nxv8f16 (splat_vector (f16 FPR16:$src))),
693 (DUP_ZZI_H (INSERT_SUBREG (IMPLICIT_DEF), FPR16:$src, hsub), 0)>;
694 def : Pat<(nxv4f16 (splat_vector (f16 FPR16:$src))),
695 (DUP_ZZI_H (INSERT_SUBREG (IMPLICIT_DEF), FPR16:$src, hsub), 0)>;
696 def : Pat<(nxv2f16 (splat_vector (f16 FPR16:$src))),
704 def : Pat<(nxv8bf16 (splat_vector (bf16 FPR16:$src))),
706 def : Pat<(nxv4bf16 (splat_vector (bf16 FPR16:$src))),
708 def : Pat<(nxv2bf16 (splat_vector (bf16 FPR16:$src))),
2856 (INSERT_SUBREG (nxv8f16 (IMPLICIT_DEF)), FPR16:$src, hsub)>;
2858 (INSERT_SUBREG (nxv4f16 (IMPLICIT_DEF)), FPR16:$src, hsub)>;
[all …]
H A DAArch64RegisterInfo.td436 def FPR16 : RegisterClass<"AArch64", [f16, bf16], 16, (sequence "H%u", 0, 31)> {
440 def FPR16_lo : RegisterClass<"AArch64", [f16], 16, (trunc FPR16, 16)> {
664 def FPR16Op : RegisterOperand<FPR16, "printOperand"> {
665 let ParserMatchClass = FPRAsmOperand<"FPR16">;
H A DSVEInstrFormats.td6398 def _H : sve_int_perm_clast_vz<0b01, ab, asm, ZPR16, FPR16>;
6502 def _H : sve_int_perm_last_v<0b01, ab, asm, ZPR16, FPR16>;
6704 def _H : sve_int_perm_cpy_v<0b01, asm, ZPR16, FPR16>;
6711 (!cast<Instruction>(NAME # _H) ZPR16:$Zd, PPR3bAny:$Pg, FPR16:$Vn), 1>;
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Dhalf-mem.ll125 %4 = fadd half %3, %a ; force load in to FPR16
153 %1 = fadd half %a, %b ; force store from FPR16
/llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCTargetDesc.cpp314 const auto &FPR16 = AArch64MCRegisterClasses[AArch64::FPR16RegClassID]; in isFpOrNEON() local
322 FPR16.contains(Reg) || FPR8.contains(Reg); in isFpOrNEON()