Searched refs:Rs2 (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiInstrInfo.td | 294 def R : InstRR<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI), 295 !strconcat(AsmStr, "$DDDI\t$Rs1, $Rs2, $Rd"), 296 [(set GPR:$Rd, (OpNode GPR:$Rs1, GPR:$Rs2))]>; 307 def R : InstRR<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI), 308 !strconcat(AsmStr, "$DDDI\t$Rs1, $Rs2, $Rd"), 309 [(set GPR:$Rd, (OpNode GPR:$Rs1, GPR:$Rs2))]>; 396 def : Pat<(LanaiSubbF GPR:$Rs1, GPR:$Rs2), 397 (SUBB_F_R GPR:$Rs1, GPR:$Rs2)>; 444 : InstRR<0b111, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI), AsmStr, 449 def SHL_R : ShiftRR<"sh$DDDI\t$Rs1, $Rs2, $Rd", [all …]
|
| H A D | LanaiInstrFormats.td | 112 // opcode Rd Rs1 Rs2 \ operation / 115 // `Rd <- Rs1 op Rs2' iff condition DDDI is true. 129 // determined by the contents of `Rs2' interpreted as a two's complement 132 // condition DDDI is true, Rs2 otherwise. All other `JJJJJ' combinations 152 bits<5> Rs2; 162 let Inst{15 - 11} = Rs2; 225 // opcode Rd Rs1 Rs2 \ operation / 234 // 1. `Rs1 + constant' is replaced with `Rs1 op Rs2', where `op' is 261 bits<5> Rs2; 275 let Inst{15 - 11} = Rs2;
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_riscv.cpp | 46 uint32_t Rs2, uint32_t Rd) { in encodeRTypeInstruction() argument 47 return Rs2 << 20 | Rs1 << 15 | Rd << 7 | Opcode; in encodeRTypeInstruction() 56 uint32_t Rs2, uint32_t Imm) { in encodeSTypeInstruction() argument 59 return ImmMSB | Rs2 << 20 | Rs1 << 15 | ImmLSB | Opcode; in encodeSTypeInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/Disassembler/ |
| H A D | RISCVDisassembler.cpp | 642 uint32_t Rs2 = fieldFromInstruction(Insn, 2, 5); in decodeRVCInstrRdRs2() local 645 if (!Check(S, DecodeGPRRegisterClass(Inst, Rs2, Address, Decoder))) in decodeRVCInstrRdRs2() 655 uint32_t Rs2 = fieldFromInstruction(Insn, 2, 5); in decodeRVCInstrRdRs1Rs2() local 659 if (!Check(S, DecodeGPRRegisterClass(Inst, Rs2, Address, Decoder))) in decodeRVCInstrRdRs1Rs2()
|