Searched refs:imm20 (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/riscv/riscv/ |
H A D | elf_machdep.c | 302 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 D | RISCVInstrFormats.td | 22 // a 21-bit value (where the LSB is always zero), we describe it as an imm20 450 bits<20> imm20; 453 let Inst{31-12} = imm20; 461 bits<20> imm20; 464 let Inst{31} = imm20{19}; 465 let Inst{30-21} = imm20{9-0}; 466 let Inst{20} = imm20{10}; 467 let Inst{19-12} = imm20{18-11}; 580 bits<20> imm20; 583 let Inst{31-12} = imm20; [all …]
|
H A D | RISCVInstrInfo.td | 613 def LUI : RVInstU<OPC_LUI, (outs GPR:$rd), (ins uimm20_lui:$imm20), 614 "lui", "$rd, $imm20">, Sched<[WriteIALU]>; 616 def AUIPC : RVInstU<OPC_AUIPC, (outs GPR:$rd), (ins uimm20_auipc:$imm20), 617 "auipc", "$rd, $imm20">, Sched<[WriteIALU]>; 619 def JAL : RVInstJ<OPC_JAL, (outs GPR:$rd), (ins simm21_lsb0_jal:$imm20), 620 "jal", "$rd, $imm20">, Sched<[WriteJal]>; 1072 def : InstAlias<"lpad $imm20", (AUIPC X0, uimm20:$imm20)>; 1116 uimm20_lui:$imm20), 1117 "$opcode, $rd, $imm20">; 1119 simm21_lsb0_jal:$imm20), [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchInstrFormats.td | 206 bits<20> imm20; 210 let Inst{24-5} = imm20;
|
H A D | LoongArchInstrInfo.td | 658 : Fmt1RI20<op, (outs GPR:$rd), (ins ImmOpnd:$imm20), "$rd, $imm20">; 890 (ins GPR:$rd, simm20_lu32id:$imm20), 891 "$rd, $imm20">;
|
/freebsd/contrib/llvm-project/lld/ELF/Arch/ |
H A D | RISCV.cpp | 397 uint32_t imm20 = extractBits(val, 20, 20) << 31; in relocate() local 401 insn |= imm20 | imm10_1 | imm11 | imm19_12; in relocate()
|