Home
last modified time | relevance | path

Searched refs:uimm (Results 1 – 3 of 3) sorted by relevance

/art/compiler/utils/riscv64/
Dassembler_riscv64_test.cc1429 for (int64_t uimm : uimms) { in RepeatCsrrXi() local
1431 reg, dchecked_integral_cast<uint32_t>(csr), dchecked_integral_cast<uint32_t>(uimm)); in RepeatCsrrXi()
1436 ReplaceCsrrImm(UIMM_TOKEN, uimm, &base); in RepeatCsrrXi()
2052 for (int64_t uimm : uimms) { in TestCsrrXiMacro() local
2053 emit_csrrxi(dchecked_integral_cast<uint32_t>(csr), dchecked_integral_cast<uint32_t>(uimm)); in TestCsrrXiMacro()
2057 ReplaceCsrrImm(UIMM_TOKEN, uimm, &base); in TestCsrrXiMacro()
3910 auto replacer = [=](uint32_t uimm, std::string* s) { in TEST_F() argument
3911 ReplaceImm(uimm, /*bias=*/ 0, /*multiplier=*/ 1, s); in TEST_F()
8473 "Csrwi", "csrwi {csr}, {uimm}", [&](uint32_t csr, uint32_t uimm) { __ Csrwi(csr, uimm); }); in TEST_F() argument
8478 "Csrsi", "csrsi {csr}, {uimm}", [&](uint32_t csr, uint32_t uimm) { __ Csrsi(csr, uimm); }); in TEST_F() argument
[all …]
Dassembler_riscv64.h682 void VSetivli(XRegister rd, uint32_t uimm, uint32_t vtypei);
2309 static constexpr bool IsImmCLuiEncodable(uint32_t uimm) { in IsImmCLuiEncodable() argument
2319 return uimm != 0u && (IsUint<5>(uimm) || IsUint<5>(uimm - 0xfffe0u)); in IsImmCLuiEncodable()
Dassembler_riscv64.cc1367 uint32_t uimm = (BitFieldExtract(nzuimm, 4, 2) << 6) | in CAddi4Spn() local
1372 EmitCIW(0b000u, uimm, rd_s, 0b00u); in CAddi4Spn()
1736 void Riscv64Assembler::VSetivli(XRegister rd, uint32_t uimm, uint32_t vtypei) { in VSetivli() argument
1739 DCHECK(IsUint<5>(uimm)); in VSetivli()
1740 EmitI((~0U << 10 | vtypei), uimm, enum_cast<uint32_t>(VAIEncoding::kOPCFG), rd, 0x57); in VSetivli()