mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
powerpc: Fixed wrong condition register in stwcx. (nw)
This commit is contained in:
parent
253a641a63
commit
1fe9458bb0
@ -3157,7 +3157,7 @@ int ppc_device::generate_instruction_1f(drcuml_block *block, compiler_state *com
|
||||
UML_CMP(block, I0, I0); // cmp i0,i0
|
||||
UML_GETFLGS(block, I0, FLAG_Z | FLAG_C | FLAG_S); // getflgs i0,zcs
|
||||
UML_LOAD(block, I0, m_cmp_cr_table, I0, SIZE_BYTE, SCALE_x1);// load i0,cmp_cr_table,i0,byte
|
||||
UML_OR(block, CR32(G_CRFD(op)), I0, XERSO32); // or [crn],i0,[xerso]
|
||||
UML_OR(block, CR32(0), I0, XERSO32); // or [cr0],i0,[xerso]
|
||||
|
||||
generate_compute_flags(block, desc, TRUE, 0, FALSE); // <update flags>
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user