| 403 | } |
| 404 | |
| 405 | void Assembler::LH(GPR rd, int32_t imm, GPR rs) noexcept { |
| 406 | BISCUIT_ASSERT(IsValidSigned12BitImm(imm)); |
| 407 | EmitIType(m_buffer, static_cast<uint32_t>(imm), rs, 0b001, rd, 0b0000011); |
| 408 | } |
| 409 | |
| 410 | void Assembler::LHU(GPR rd, int32_t imm, GPR rs) noexcept { |
| 411 | BISCUIT_ASSERT(IsValidSigned12BitImm(imm)); |
no test coverage detected