https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108946

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>:

https://gcc.gnu.org/g:929c6b8cd12a3bd338a4c250274a9d86da5b2ea7

commit r13-6433-g929c6b8cd12a3bd338a4c250274a9d86da5b2ea7
Author: Iain Buclaw <ibuc...@gdcproject.org>
Date:   Fri Mar 3 00:00:44 2023 +0100

    d: Allow vectors to be compared for identity [PR108946]

    Vector equality and comparisons are now accepted by the language
    implementation, but identity wasn't.  Implement it as an extra integer
    comparison of the bit-casted bitmask.

            PR d/108946

    gcc/d/ChangeLog:

            * d-target.cc (Target::isVectorOpSupported): Allow identity ops.
            * expr.cc (ExprVisitor::visit (IdentityExp *)): Handle vector
identity
            comparisons.

    gcc/testsuite/ChangeLog:

            * gdc.dg/simd2a.d: Update test.
            * gdc.dg/simd2b.d: Likewise.
            * gdc.dg/simd2c.d: Likewise.
            * gdc.dg/simd2d.d: Likewise.
            * gdc.dg/simd2e.d: Likewise.
            * gdc.dg/simd2f.d: Likewise.
            * gdc.dg/simd2g.d: Likewise.
            * gdc.dg/simd2h.d: Likewise.
            * gdc.dg/simd2i.d: Likewise.
            * gdc.dg/simd2j.d: Likewise.

Reply via email to