[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [V4 PATCH 18/22] target-ppc: Add VSX xmax/xm
From: |
Richard Henderson |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [V4 PATCH 18/22] target-ppc: Add VSX xmax/xmin Instructions |
Date: |
Tue, 24 Dec 2013 08:23:50 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 12/18/2013 12:19 PM, Tom Musta wrote:
> + if (unlikely(tp##_is_any_nan(xa.fld[i]) ||
> \
> + tp##_is_any_nan(xb.fld[i]))) {
> \
> + if (tp##_is_signaling_nan(xa.fld[i])) {
> \
> + xt.fld[i] = tp##_snan_to_qnan(xa.fld[i]);
> \
> + fload_invalid_op_excp(env, POWERPC_EXCP_FP_VXSNAN, 0);
> \
> + } else if (tp##_is_signaling_nan(xb.fld[i])) {
> \
> + xt.fld[i] = tp##_snan_to_qnan(xb.fld[i]);
> \
> + fload_invalid_op_excp(env, POWERPC_EXCP_FP_VXSNAN, 0);
> \
> + } else if (tp##_is_quiet_nan(xb.fld[i])) {
> \
> + xt.fld[i] = xa.fld[i];
> \
> + } else { /* XA is QNaN */
> \
> + xt.fld[i] = xb.fld[i];
> \
> + }
> \
> + } else {
> \
> + xt.fld[i] = tp##_##op(xa.fld[i], xb.fld[i], &env->fp_status);
> \
> + }
> \
We have minnum/maxnum now.
r~
- [Qemu-ppc] [V4 PATCH 08/22] target-ppc: Add VSX ISA2.06 xadd/xsub Instructions, (continued)
- [Qemu-ppc] [V4 PATCH 08/22] target-ppc: Add VSX ISA2.06 xadd/xsub Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 10/22] target-ppc: Add VSX ISA2.06 xdiv Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 09/22] target-ppc: Add VSX ISA2.06 xmul Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 12/22] target-ppc: Add VSX ISA2.06 xsqrt Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 11/22] target-ppc: Add VSX ISA2.06 xre Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 16/22] target-ppc: Add VSX ISA2.06 Multiply Add Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 13/22] target-ppc: Add VSX ISA2.06 xrsqrte Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 14/22] target-ppc: Add VSX ISA2.06 xtdiv Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 17/22] target-ppc: Add VSX xscmp*dp Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 18/22] target-ppc: Add VSX xmax/xmin Instructions, Tom Musta, 2013/12/18
- Re: [Qemu-ppc] [Qemu-devel] [V4 PATCH 18/22] target-ppc: Add VSX xmax/xmin Instructions,
Richard Henderson <=
- [Qemu-ppc] [V4 PATCH 19/22] target-ppc: Add VSX Vector Compare Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 15/22] target-ppc: Add VSX ISA2.06 xtsqrt Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 20/22] target-ppc: Add VSX Floating Point to Floating Point Conversion Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 21/22] target-ppc: Add VSX ISA2.06 Integer Conversion Instructions, Tom Musta, 2013/12/18
- [Qemu-ppc] [V4 PATCH 22/22] target-ppc: Add VSX Rounding Instructions, Tom Musta, 2013/12/18