[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] target-arm: Implement ARMv8 VSEL instruction
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v2] target-arm: Implement ARMv8 VSEL instruction. |
Date: |
Thu, 03 Oct 2013 13:39:33 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
On 10/03/2013 10:28 AM, Richard Henderson wrote:
> For the simple conditions, yes. For the more complex ones,
> you might want to do the computation in 32-bit and extend
> the result.
Alternately, compute the condition with setcond_i32 and
only extend that result to 64 bits. That means doing
something different with GT with its compound. Maybe
xor_i32 tmp, vf, nf
setcond_i32 tmp, tmp, zero, ge
movcond_i32 tmp, zf, zero, tmp, zero, ne (tmp = z ? tmp : 0)
r~