Re: [Qemu-devel] [v2 07/13] Add VSX Scalar Move Instructions

2013-10-22 Thread Paolo Bonzini
Il 11/10/2013 14:02, Tom Musta ha scritto: +case OP_CPSGN: { \ +TCGv_i64 xa = tcg_temp_new(); \ +tcg_gen_mov_i64(xa, cpu_vsrh(xA(ctx-opcode))); \ +tcg_gen_andi_i64(xa, xa,

Re: [Qemu-devel] [v2 07/13] Add VSX Scalar Move Instructions

2013-10-22 Thread Tom Musta
On 10/22/2013 1:31 AM, Paolo Bonzini wrote: Il 11/10/2013 14:02, Tom Musta ha scritto: +case OP_CPSGN: { \ +TCGv_i64 xa = tcg_temp_new(); \ +tcg_gen_mov_i64(xa, cpu_vsrh(xA(ctx-opcode))); \ +

[Qemu-devel] [v2 07/13] Add VSX Scalar Move Instructions

2013-10-11 Thread Tom Musta
This patch adds the VSX scalar move instructions: - xsabsdp (Scalar Absolute Value Double-Precision) - xsnabspd (Scalar Negative Absolute Value Double-Precision) - xsnegdp (Scalar Negate Double-Precision) - xscpsgndp (Scalar Copy Sign Double-Precision) A common generator macro