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

Function gen285

source/emulation/cpu/srcgen.cpp:1644–1658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1642void OPCALL teste32r32_16(struct CPU* cpu, struct Op* op);
1643void OPCALL teste32r32_32(struct CPU* cpu, struct Op* op);
1644void gen285(struct GenData* data, struct Op* op) {
1645 if (inlineTestJump(data, op, sFLAGS_TEST32, op->func == testr32r32?"1":"2"))
1646 return;
1647
1648 if (op->func == testr32r32) {
1649 genArithRR(data, "&", "FLAGS_TEST32", "32", r32(op->r1), r32(op->r2), 0, 0, "1");
1650 } else if (op->func==teste32r32_16) {
1651 genArithER(data, "&", "FLAGS_TEST32", "32", getEaa16(op), "d", r32(op->r1), 0, 0,"2");
1652 } else if (op->func==teste32r32_32) {
1653 genArithER(data, "&", "FLAGS_TEST32", "32", getEaa32(op), "d", r32(op->r1), 0, 0,"2");
1654 } else {
1655 kpanic("gen285");
1656 }
1657 data->lazyFlags = sFLAGS_TEST32;
1658}
1659
1660void OPCALL xchgr8r8(struct CPU* cpu, struct Op* op);
1661void OPCALL xchge8r8_16(struct CPU* cpu, struct Op* op);

Callers

nothing calls this directly

Calls 7

inlineTestJumpFunction · 0.85
genArithRRFunction · 0.85
r32Function · 0.85
genArithERFunction · 0.85
getEaa16Function · 0.85
getEaa32Function · 0.85
kpanicFunction · 0.85

Tested by

no test coverage detected