MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / bsrReg

Method bsrReg

source/emulation/cpu/x32/jitX86CodeGen.cpp:1658–1666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1656}
1657
1658void JitX86CodeGen::bsrReg(JitWidth regWidth, RegPtr reg, RegPtr rm) {
1659 if (regWidth == JitWidth::b32) {
1660 compiler.bsr(R32(reg), R32(rm));
1661 } else if (regWidth == JitWidth::b16) {
1662 compiler.bsr(R16(reg), R16(rm));
1663 } else {
1664 kpanic("JitX86CodeGen::bsrReg");
1665 }
1666}
1667
1668void JitX86CodeGen::rolReg(JitWidth regWidth, RegPtr reg, RegPtr rm) {
1669 if (regWidth == JitWidth::b32) {

Callers

nothing calls this directly

Calls 4

R16Function · 0.85
kpanicFunction · 0.85
bsrMethod · 0.80
R32Function · 0.70

Tested by

no test coverage detected