MCPcopy Create free account
hub / github.com/OFFTKP/felix86 / LH

Method LH

external/biscuit/src/assembler.cpp:405–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405void 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
410void Assembler::LHU(GPR rd, int32_t imm, GPR rs) noexcept {
411 BISCUIT_ASSERT(IsValidSigned12BitImm(imm));

Callers 3

emitPrologueMethod · 0.80

Calls 3

EmitITypeFunction · 0.85
EmitAtomicFunction · 0.85
IsValidSigned12BitImmFunction · 0.70

Tested by

no test coverage detected