[AArch64] Fix unordered comparisons to floating-point vcond.

Marcus Shawcroft marcus.shawcroft@gmail.com
Fri Jan 18 16:21:00 GMT 2013


OK
/Marcus

On 18 January 2013 11:55, James Greenhalgh <james.greenhalgh@arm.com> wrote:
>
> Hi,
>
> When I added support for floating-point vcond on aarch64,
> I didn't consider the various UNORDERED cases gcc required
> support for.  This could in some circumstances lead to
> an ICE.
>
> This patch fixes that oversight, adding support for
> the UNLT, UNLE, UNEQ, UNGE, UNGT, ORDERED and UNORDERED
> cases to the AArch64 backend.
>
> I've tested this patch with no regressions on aarch64-none-elf.
>
> Is this OK to commit?
>
> Regards,
> James Greenhalgh
>
> ---
>
> gcc/
>
> 2013-01-18  James Greenhalgh  <james.greenhalgh@arm.com>
>
>         * config/aarch64/aarch64-simd.md
>         (aarch64_vcond_internal<mode>): Handle unordered cases.
>         * config/aarch64/iterators.md (v_cmp_result): New.
>
> gcc/testsuite/
>
> 2013-01-18  James Greenhalgh  <james.greenhalgh@arm.com>
>
>         * gcc.target/aarch64/vect-fcm-gt-f.c: Change expected output.
>         * gcc.target/aarch64/vect-fcm-gt-d.c: Likewise.
>         * gcc.target/aarch64/vect-fcm-ge-f.c: Likewise.
>         * gcc.target/aarch64/vect-fcm-ge-d.c: Likewise.
>         * gcc.target/aarch64/vect-fcm-eq-f.c: Likewise.



More information about the Gcc-patches mailing list