Searched refs:csr_reg (Results 1 – 2 of 2) sorted by relevance
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/ |
D | lite_translator.h | 293 Register csr_reg = AllocTempReg(); in GetCsr() local 295 csr_reg, {.base = Assembler::rbp, .disp = kCsrFieldOffset<kName>}); in GetCsr() 296 return csr_reg; in GetCsr() 485 Register csr_reg = AllocTempReg(); variable 493 csr_reg, {.base = Assembler::rbp, .disp = kCsrFieldOffset<CsrName::kFrm>}); 494 as_.Shl<uint8_t>(csr_reg, 5); 495 as_.Or<uint8_t>(csr_reg, as_.rax); 496 return csr_reg;
|
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/ |
D | frontend.h | 343 auto csr_reg = AllocTempReg(); in GetCsr() local 345 Gen<x86_64::MovzxblRegMemBaseDisp>(csr_reg, x86_64::kMachineRegRBP, kCsrFieldOffset<kName>); in GetCsr() 347 Gen<x86_64::MovqRegMemBaseDisp>(csr_reg, x86_64::kMachineRegRBP, kCsrFieldOffset<kName>); in GetCsr() 351 return csr_reg; in GetCsr() 509 auto csr_reg = AllocTempReg(); variable 514 csr_reg, x86_64::kMachineRegRBP, kCsrFieldOffset<CsrName::kFrm>); 515 Gen<x86_64::ShlbRegImm>(csr_reg, 5, GetFlagsRegister()); 516 Gen<x86_64::OrbRegReg>(csr_reg, tmp, GetFlagsRegister()); 517 return csr_reg;
|