From 7ec9f54679af31216dcdf82acb10328cdd91f83e Mon Sep 17 00:00:00 2001 From: David Given Date: Sun, 17 Jun 2018 10:43:39 +0200 Subject: [PATCH] Turns out that andi and andis only have . forms. Fixed; another test passes. --- plat/linuxppc/emu/instructions.dat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;