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~

Reply via email to