On Fri, May 13, 2022 at 11:46 AM Roger Sayle <ro...@nextmovesoftware.com> wrote:
>
>
> Hi Uros,
> Now that we're back in stage 1, here's the revised version of the patch I 
> submitted here:
> https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593434.html
> incorporating all the suggested improvements from your review here:
> https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593454.html
>
> This revised patch has been (re)tested against mainline (GCC 13) on
> x86_64-pc-linux-gnu with make bootstrap and make -k check, both
> with and without --target_board=unix{-m32}, with no new failures.
> Ok for mainline?
>
>
> 2022-05-13  Roger Sayle  <ro...@nextmovesoftware.com>
>             Uroš Bizjak  <ubiz...@gmail.com>
>
> gcc/ChangeLog
>         * config/i386/sse.md (vec_cmpeqv2div2di): Enable for TARGET_SSE2.
>         For !TARGET_SSE4_1, expand as a V4SI vector comparison, followed
>         by a pshufd and pand.
>         (vec_cmpeqv1tiv1ti): New define_expand implementing V1TImode
>         vector equality as a V2DImode vector comparison (see above),
>         followed by a pshufd and pand.
>
> gcc/testsuite/ChangeLog
>         * gcc.target/i386/sse2-v1ti-veq.c: New test case.
>         * gcc.target/i386/sse2-v1ti-vne.c: New test case.

OK with the small testsuite adjustment.

Thanks,
Uros.

diff --git a/gcc/testsuite/gcc.target/i386/sse2-v1ti-veq.c
b/gcc/testsuite/gcc.target/i386/sse2-v1ti-veq.c
new file mode 100644
index 0000000..8bbda06
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/sse2-v1ti-veq.c
@@ -0,0 +1,12 @@
+/* { dg-do compile { target { ! ia32 } } } */

Please use:

/* { dg-do compile { target int128 } } */

instead (also in the other test case).

Reply via email to