PPC core fix by Tantric

This commit is contained in:
bgk 2008-10-31 09:03:14 +00:00
parent 2eecb6d983
commit 9fe6d69a2e
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ static INSN_REGPARM void thumbBreakpoint(u32 opcode)
{\
register int Flags; \
register int Result; \
asm volatile("mtspr xer, %4\n" \
asm volatile("mtspr 1, %4\n" \ /* reg 1 is xer */
"addeo. %0, %2, %3\n" \
"mcrxr cr1\n" \
"mfcr %1\n" \
@ -248,7 +248,7 @@ static INSN_REGPARM void thumbBreakpoint(u32 opcode)
{\
register int Flags; \
register int Result; \
asm volatile("mtspr xer, %4\n" \
asm volatile("mtspr 1, %4\n" \ /* reg 1 is xer */
"subfeo. %0, %3, %2\n" \
"mcrxr cr1\n" \
"mfcr %1\n" \