mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-04 22:27:25 +00:00
patch a mistake in NZM calculation for OPCODE_NOT
This commit is contained in:
parent
327cc9eff5
commit
08232de8cc
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ uint64_t SimplificationPass::GetScalarNZM(hir::Value* value, hir::Instr* def,
|
|||
} else if (def_opcode == OPCODE_XOR || def_opcode == OPCODE_OR) {
|
||||
return GetScalarNZM(def->src1.value) | GetScalarNZM(def->src2.value);
|
||||
} else if (def_opcode == OPCODE_NOT) {
|
||||
return ~GetScalarNZM(def->src1.value);
|
||||
return typemask;
|
||||
} else if (def_opcode == OPCODE_ASSIGN) {
|
||||
return GetScalarNZM(def->src1.value);
|
||||
} else if (def_opcode == OPCODE_BYTE_SWAP) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue