Re: [Qemu-devel] [PATCH] target-s390x: Add Extract PSW instruction

2014-12-20 Thread Bastian Koppelmann
On 12/19/2014 09:15 PM, Richard Henderson wrote: On 12/17/2014 10:17 AM, Bastian Koppelmann wrote: +tcg_gen_andi_tl(regs[r1], regs[r1], ~0xull); +tcg_gen_or_tl(regs[r1], regs[r1], tmp); This is store_reg32_i64. But just reminds me that I've got patches for 8 missing insns outs

Re: [Qemu-devel] [PATCH] target-s390x: Add Extract PSW instruction

2014-12-19 Thread Richard Henderson
On 12/17/2014 10:17 AM, Bastian Koppelmann wrote: > +tcg_gen_andi_tl(regs[r1], regs[r1], ~0xull); > +tcg_gen_or_tl(regs[r1], regs[r1], tmp); This is store_reg32_i64. But just reminds me that I've got patches for 8 missing insns outstanding since September 2013, that got stalled on

[Qemu-devel] [PATCH] target-s390x: Add Extract PSW instruction

2014-12-17 Thread Bastian Koppelmann
Never versions of the linux kernel need this instruction, so let's add it to the tcg frontend. Signed-off-by: Bastian Koppelmann --- target-s390x/insn-data.def | 3 ++- target-s390x/translate.c | 19 +++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/target-s39