Home
last modified time | relevance | path

Searched refs:imm6 (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchLBTInstrFormats.td121 : LAInst<(outs), (ins GPR:$rj, uimm6:$imm6),
122 deriveInsnMnemonic<NAME>.ret, "$rj, $imm6"> {
123 bits<6> imm6;
127 let Inst{15-10} = imm6;
H A DLoongArchInstrFormats.td131 bits<6> imm6;
136 let Inst{15-10} = imm6;
H A DLoongArchLASXInstrFormats.td233 bits<6> imm6;
238 let Inst{15-10} = imm6;
H A DLoongArchLSXInstrFormats.td261 bits<6> imm6;
266 let Inst{15-10} = imm6;
H A DLoongArchLASXInstrInfo.td99 : Fmt2RI6_XXI<op, (outs LASX256:$xd), (ins LASX256:$xj, ImmOpnd:$imm6),
100 "$xd, $xj, $imm6">;
163 : Fmt2RI6_XXI<op, (outs LASX256:$dst), (ins LASX256:$xd, LASX256:$xj, ImmOpnd:$imm6),
164 "$xd, $xj, $imm6">;
H A DLoongArchLSXInstrInfo.td259 : Fmt2RI6_VVI<op, (outs LSX128:$vd), (ins LSX128:$vj, ImmOpnd:$imm6),
260 "$vd, $vj, $imm6">;
322 : Fmt2RI6_VVI<op, (outs LSX128:$dst), (ins LSX128:$vd, LSX128:$vj, ImmOpnd:$imm6),
323 "$vd, $vj, $imm6">;
H A DLoongArchInstrInfo.td649 : Fmt2RI6<op, (outs GPR:$rd), (ins GPR:$rj, ImmOpnd:$imm6),
650 "$rd, $rj, $imm6">;
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrFormatsC.td247 bits<6> imm6;
251 let Inst{12} = imm6{5};
253 let Inst{6-2} = imm6{4-0};
280 bits<6> imm6;
284 let Inst{12-7} = imm6;
H A DRISCVInstrInfoXCV.td293 bits<6> imm6;
297 let Inst{25} = imm6{0}; // funct1 unused
298 let Inst{24-20} = imm6{5-1};
316 (ins GPR:$rs1, simm6:$imm6), opcodestr, "$rd, $rs1, $imm6">;
320 (outs GPR:$rd_wb), (ins GPR:$rd, GPR:$rs1, simm6:$imm6),
321 opcodestr, "$rd, $rs1, $imm6"> {
328 (outs GPR:$rd), (ins GPR:$rs1, immtype:$imm6),
329 opcodestr, "$rd, $rs1, $imm6">;
334 (ins GPR:$rd, GPR:$rs1, uimm6:$imm6),
335 opcodestr, "$rd, $rs1, $imm6"> {
H A DRISCVInstrInfoC.td769 simm6:$imm6),
770 "$opcode, $funct3, $rd, $imm6">;
778 uimm6:$imm6),
779 "$opcode, $funct3, $rs2, $imm6">;
820 def : InstAlias<".insn_ci $opcode, $funct3, $rd, $imm6",
822 simm6:$imm6)>;
826 def : InstAlias<".insn_css $opcode, $funct3, $rs2, $imm6",
828 uimm6:$imm6)>;
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaInstrFormats.td202 bits<6> imm6;
205 let Inst{15-12} = imm6{3-0};
209 let Inst{5-4} = imm6{5-4};
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstrNEON.td4034 let Inst{21-19} = 0b001; // imm6 = 001xxx
4038 let Inst{21-20} = 0b01; // imm6 = 01xxxx
4042 let Inst{21} = 0b1; // imm6 = 1xxxxx
4046 // imm6 = xxxxxx
4051 let Inst{21-19} = 0b001; // imm6 = 001xxx
4055 let Inst{21-20} = 0b01; // imm6 = 01xxxx
4059 let Inst{21} = 0b1; // imm6 = 1xxxxx
4063 // imm6 = xxxxxx
4071 let Inst{21-19} = 0b001; // imm6 = 001xxx
4075 let Inst{21-20} = 0b01; // imm6 = 01xxxx
[all …]
H A DARMInstrFormats.td324 // other shift immediates. The imm6 field is encoded like so:
327 // 8 imm6<5:3> = '001', 8 - <imm> is encoded in imm6<2:0>
328 // 16 imm6<5:4> = '01', 16 - <imm> is encoded in imm6<3:0>
329 // 32 imm6<5> = '1', 32 - <imm> is encoded in imm6<4:0>
330 // 64 64 - <imm> is encoded in imm6<5:0>
H A DARMInstrMVE.td3893 (outs MQPR:$Qd), (ins MQPR:$Qm, imm_operand_type:$imm6),
3894 "$Qd, $Qm, $imm6", vpred_r, "", !if(fsi, 0b10, 0b01), []> {
3896 bits<6> imm6;
3902 let Inst{19-16} = imm6{3-0};
3929 let Inst{20} = imm6{4};
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DRISCV.cpp369 uint16_t imm6 = extractBits(val, 6, 6) << 7; in relocate() local
373 insn |= imm11 | imm4 | imm9_8 | imm10 | imm6 | imm7 | imm3_1 | imm5; in relocate()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSVEInstrFormats.td2837 : I<(outs GPR64sp:$Rd), (ins GPR64sp:$Rn, simm6_32b:$imm6),
2838 asm, "\t$Rd, $Rn, $imm6",
2843 bits<6> imm6;
2850 let Inst{10-5} = imm6;
2858 : I<(outs GPR64:$Rd), (ins simm6_32b:$imm6),
2859 asm, "\t$Rd, $imm6",
2863 bits<6> imm6;
2870 let Inst{10-5} = imm6;
7467 : I<(outs VecList:$Zt), (ins PPR3bAny:$Pg, GPR64sp:$Rn, immtype:$imm6),
7468 asm, "\t$Zt, $Pg/z, [$Rn, $imm6]",
[all …]
H A DAArch64InstrFormats.td1143 // {5-0} - imm6
1173 // {5-0} - imm6
1203 // {5-0} - imm6: #0, #8, #16, or #24
1212 // {5-0} - imm6: #0 or #8
1242 // {5-0} - imm6: #0 or #12
3088 isSub, 0, GPR64sp, asm_inst, "\t$Rd, $Rn, $imm6, $imm4",
3089 (ins GPR64sp:$Rn, uimm6s16:$imm6, imm0_15:$imm4),
3090 (set GPR64sp:$Rd, (OpNode GPR64sp:$Rn, imm0_63:$imm6, imm0_15:$imm4))> {
3091 bits<6> imm6;
3095 let Inst{21-16} = imm6;
H A DAArch64InstrInfo.td2636 def : Pat<(int_aarch64_addg (am_indexedu6s128 GPR64sp:$Rn, uimm6s16:$imm6), imm0_15:$imm4),
2637 (ADDG GPR64sp:$Rn, imm0_63:$imm6, imm0_15:$imm4)>;
2680 : Pseudo<(outs GPR64sp:$Rd), (ins GPR64sp:$Rn, uimm6s16:$imm6, GPR64sp:$Rm, imm0_15:$imm4), []>,
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/Disassembler/
H A DARMDisassembler.cpp6933 unsigned imm6 = fieldFromInstruction(Insn, 16, 6); in DecodeMVEVCVTt1fp() local
6939 if (!Check(S, DecodeVCVTImmOperand(Inst, imm6, Address, Decoder))) in DecodeMVEVCVTt1fp()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRInstrInfo.td234 // Addressing mode pattern reg+imm6
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulateInstructionARM.cpp2839 uint32_t imm6 = Bits32(opcode, 21, 16); in EmulateB() local
2844 (S << 20) | (J2 << 19) | (J1 << 18) | (imm6 << 12) | (imm11 << 1); in EmulateB()