Home
last modified time | relevance | path

Searched refs:imm20 (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/riscv/riscv/
H A Delf_machdep.c302 uint32_t imm20; in elf_reloc_internal() local
399 imm20 = calc_hi20_imm(val); in elf_reloc_internal()
400 insn32p[0] = insert_imm(insn32p[0], imm20, 31, 12, 12); in elf_reloc_internal()
419 imm20 = calc_hi20_imm(val); in elf_reloc_internal()
420 *insn32p = insert_imm(*insn32p, imm20, 31, 12, 12); in elf_reloc_internal()
466 imm20 = calc_hi20_imm(val); in elf_reloc_internal()
467 *insn32p = insert_imm(*insn32p, imm20, 31, 12, 12); in elf_reloc_internal()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrFormats.td448 bits<20> imm20;
451 let Inst{31-12} = imm20;
459 bits<20> imm20;
462 let Inst{31} = imm20{19};
463 let Inst{30-21} = imm20{9-0};
464 let Inst{20} = imm20{10};
465 let Inst{19-12} = imm20{18-11};
578 bits<20> imm20;
581 let Inst{31-12} = imm20;
592 bits<20> imm20;
[all …]
H A DRISCVInstrInfo.td607 def LUI : RVInstU<OPC_LUI, (outs GPR:$rd), (ins uimm20_lui:$imm20),
608 "lui", "$rd, $imm20">, Sched<[WriteIALU]>;
611 "auipc", "$rd, $imm20">, Sched<[WriteIALU]>;
614 "jal", "$rd, $imm20">, Sched<[WriteJal]>;
1063 def : InstAlias<"lpad $imm20", (AUIPC X0, uimm20:$imm20)>;
1108 "$opcode, $rd, $imm20">;
1111 "$opcode, $rd, $imm20">;
1146 def : InstAlias<".insn_u $opcode, $rd, $imm20",
1148 def : InstAlias<".insn_j $opcode, $rd, $imm20",
1151 def : InstAlias<".insn_uj $opcode, $rd, $imm20",
[all …]
H A DRISCVMacroFusion.td23 // auipc rd, imm20
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrFormats.td206 bits<20> imm20;
210 let Inst{24-5} = imm20;
H A DLoongArchInstrInfo.td637 : Fmt1RI20<op, (outs GPR:$rd), (ins ImmOpnd:$imm20), "$rd, $imm20">;
858 (ins GPR:$rd, simm20_lu32id:$imm20),
859 "$rd, $imm20">;
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DRISCV.cpp397 uint32_t imm20 = extractBits(val, 20, 20) << 31; in relocate() local
401 insn |= imm20 | imm10_1 | imm11 | imm19_12; in relocate()