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

Method ZEXTH

external/biscuit/src/assembler.cpp:1561–1567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1559}
1560
1561void Assembler::ZEXTH(GPR rd, GPR rs) noexcept {
1562 if (IsRV32(m_features)) {
1563 EmitIType(m_buffer, 0b000010000000, rs, 0b100, rd, 0b0110011);
1564 } else {
1565 EmitIType(m_buffer, 0b000010000000, rs, 0b100, rd, 0b0111011);
1566 }
1567}
1568
1569void Assembler::ZEXTW(GPR rd, GPR rs) noexcept {
1570 ADDUW(rd, rs, x0);

Callers 5

FAST_HANDLEFunction · 0.80
setGPRMethod · 0.80
zextMethod · 0.80
EmitInstructionFunction · 0.80

Calls 2

IsRV32Function · 0.85
EmitITypeFunction · 0.85

Tested by

no test coverage detected