Searched refs:shamt (Results 1 – 3 of 3) sorted by relevance
/art/compiler/utils/riscv64/ |
D | assembler_riscv64.cc | 374 void Riscv64Assembler::Slli(XRegister rd, XRegister rs1, int32_t shamt) { in Slli() argument 375 CHECK_LT(static_cast<uint32_t>(shamt), 64u); in Slli() 378 if (rd == rs1 && rd != Zero && shamt != 0) { in Slli() 379 CSlli(rd, shamt); in Slli() 384 EmitI6(0x0, shamt, rs1, 0x1, rd, 0x13); in Slli() 388 void Riscv64Assembler::Srli(XRegister rd, XRegister rs1, int32_t shamt) { in Srli() argument 389 CHECK_LT(static_cast<uint32_t>(shamt), 64u); in Srli() 392 if (rd == rs1 && IsShortReg(rd) && shamt != 0) { in Srli() 393 CSrli(rd, shamt); in Srli() 398 EmitI6(0x0, shamt, rs1, 0x5, rd, 0x13); in Srli() [all …]
|
D | assembler_riscv64.h | 295 void Slli(XRegister rd, XRegister rs1, int32_t shamt); 296 void Srli(XRegister rd, XRegister rs1, int32_t shamt); 297 void Srai(XRegister rd, XRegister rs1, int32_t shamt); 313 void Slliw(XRegister rd, XRegister rs1, int32_t shamt); 314 void Srliw(XRegister rd, XRegister rs1, int32_t shamt); 315 void Sraiw(XRegister rd, XRegister rs1, int32_t shamt); 563 void CSlli(XRegister rd, int32_t shamt); 564 void CSrli(XRegister rd_s, int32_t shamt); 565 void CSrai(XRegister rd_s, int32_t shamt); 610 void SlliUw(XRegister rd, XRegister rs1, int32_t shamt); [all …]
|
/art/compiler/optimizing/ |
D | code_generator_riscv64.cc | 2369 uint32_t shamt = in HandleShift() local 2372 if (shamt == 0) { in HandleShift() 2378 __ Slliw(rd, rs1, shamt); in HandleShift() 2380 __ Sraiw(rd, rs1, shamt); in HandleShift() 2382 __ Srliw(rd, rs1, shamt); in HandleShift() 2385 __ Roriw(rd, rs1, shamt); in HandleShift() 2389 __ Slli(rd, rs1, shamt); in HandleShift() 2391 __ Srai(rd, rs1, shamt); in HandleShift() 2393 __ Srli(rd, rs1, shamt); in HandleShift() 2396 __ Rori(rd, rs1, shamt); in HandleShift()
|