Home
last modified time | relevance | path

Searched refs:SignExtend (Results 1 – 4 of 4) sorted by relevance

/frameworks/libs/binary_translation/decoder/include/berberis/decoder/riscv64/
Ddecoder.h1129 int8_t imm = SignExtend<6>((high_imm << 5) + low_imm); in DecodeCompressedLi()
1168 .imm = SignExtend<6>(imm), in DecodeCompressedMiscAlu()
1250 int32_t imm = SignExtend<18>((high_imm << 17) + (low_imm << 12)); in DecodeCompressedLuiAddi16sp()
1261 int16_t imm = SignExtend<10>((high_imm << 9) + (kAddi16spLow[low_imm] << 2)); in DecodeCompressedLuiAddi16sp()
1332 int8_t imm = SignExtend<6>(high_imm << 5 | low_imm); in DecodeCompressedAddi()
1349 int8_t imm = SignExtend<6>(high_imm << 5 | low_imm); in DecodeCompressedAddiw()
1373 .offset = static_cast<int16_t>(SignExtend<9>(kBHigh[high_imm] + kBLow[low_imm])), in DecodeCompressedBeqzBnez()
1554 static auto SignExtend(const Type val) { in SignExtend() function
1606 .imm = SignExtend<12>(imm), in DecodeMiscMem()
1765 .offset = SignExtend<12>(GetBits<20, 12>()), in DecodeLoad()
[all …]
/frameworks/libs/binary_translation/base/include/berberis/base/
Dbit_util.h188 static auto SignExtend(const Type val) { in SignExtend() function
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc630 int vemul = SignExtend<3>(vlmul); in TestVleXX()
747 int vemul = SignExtend<3>(vlmul); in TestVseXX()
Dinterpreter.h612 auto vemul = Decoder::SignExtend<3>(vtype & 0b111); in OpVector()