Searched refs:DecodeRS2 (Results 1 – 3 of 3) sorted by relevance
/llvm-project/lldb/unittests/Instruction/RISCV/ |
H A D | TestRISCVEmulator.cpp | 233 rs2 = DecodeRS2(inst.inst); in TestInst() 252 uint32_t rs2 = DecodeRS2(inst); in TestAtomic() 504 uint32_t rs2 = DecodeRS2(inst.inst); in TestF_D_CalInst() 721 this->fpr.fpr[DecodeRS2(FSWInst)] = bits; in TEST_F() 745 this->fpr.fpr[DecodeRS2(FSDInst)] = bits; in TEST_F()
|
/llvm-project/lldb/source/Plugins/Instruction/RISCV/ |
H A D | EmulateInstructionRISCV.cpp | 397 return T{Rs{DecodeRS1(inst)}, Rs{DecodeRS2(inst)}, DecodeBImm(inst), in DecodeBType() 402 return T{Rs{DecodeRS1(inst)}, Rs{DecodeRS2(inst)}, DecodeSImm(inst)}; in DecodeSType() 406 return T{Rd{DecodeRD(inst)}, Rs{DecodeRS1(inst)}, Rs{DecodeRS2(inst)}}; in DecodeRType() 410 return T{Rd{DecodeRD(inst)}, Rs{DecodeRS1(inst)}, DecodeRS2(inst)}; in DecodeRShamtType() 418 return T{Rd{DecodeRD(inst)}, Rs{DecodeRS1(inst)}, Rs{DecodeRS2(inst)}, in DecodeR4Type()
|
H A D | RISCVInstructions.h | 317 constexpr uint32_t DecodeRS2(uint32_t inst) { return (inst & 0x1F00000) >> 20; } in DecodeRS2() function
|