Searched refs:imm20 (Results 1 – 3 of 3) sorted by relevance
| /openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/ |
| D | RISCVInstrFormats.td | 22 // a 21-bit value (where the LSB is always zero), we describe it as an imm20 427 bits<20> imm20; 430 let Inst{31-12} = imm20; 438 bits<20> imm20; 441 let Inst{31} = imm20{19}; 442 let Inst{30-21} = imm20{9-0}; 443 let Inst{20} = imm20{10}; 444 let Inst{19-12} = imm20{18-11}; 557 bits<20> imm20; 560 let Inst{31-12} = imm20; [all …]
|
| D | RISCVInstrInfo.td | 604 def LUI : RVInstU<OPC_LUI, (outs GPR:$rd), (ins uimm20_lui:$imm20), 605 "lui", "$rd, $imm20">, Sched<[WriteIALU]>; 607 def AUIPC : RVInstU<OPC_AUIPC, (outs GPR:$rd), (ins uimm20_auipc:$imm20), 608 "auipc", "$rd, $imm20">, Sched<[WriteIALU]>; 611 def JAL : RVInstJ<OPC_JAL, (outs GPR:$rd), (ins simm21_lsb0_jal:$imm20), 612 "jal", "$rd, $imm20">, Sched<[WriteJal]>; 1113 uimm20_lui:$imm20), 1114 "$opcode, $rd, $imm20">; 1116 simm21_lsb0_jal:$imm20), 1117 "$opcode, $rd, $imm20">; [all …]
|
| /openbsd/src/gnu/llvm/lld/ELF/Arch/ |
| D | RISCV.cpp | 371 uint32_t imm20 = extractBits(val, 20, 20) << 31; in relocate() local 375 insn |= imm20 | imm10_1 | imm11 | imm19_12; in relocate()
|