diff --git a/plat/linuxppc/emu/instructions.dat b/plat/linuxppc/emu/instructions.dat index 862e7b091..9bd39af8e 100644 --- a/plat/linuxppc/emu/instructions.dat +++ b/plat/linuxppc/emu/instructions.dat @@ -107,8 +107,8 @@ # Logical instructions -<28--> cpu.gpr[RA] = reg(RS) & UI; -<29--> cpu.gpr[RA] = reg(RS) & (UI<<16); +<28--> setcr0(1, cpu.gpr[RA] = reg(RS) & UI); +<29--> setcr0(1, cpu.gpr[RA] = reg(RS) & (UI<<16)); <24--> cpu.gpr[RA] = reg(RS) | UI; <25--> cpu.gpr[RA] = reg(RS) | (UI<<16); <26--> cpu.gpr[RA] = reg(RS) ^ UI;