From: Kirill Yukhin Date: Fri, 2 Sep 2016 20:04:14 +0000 (+0000) Subject: avx512f-klogic-2.c: Fix operand calculation order. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b826676441910f7f13a80251c9f166f76d98e06;p=gcc.git avx512f-klogic-2.c: Fix operand calculation order. gcc/testsuite/ * gcc.target/i386/avx512f-klogic-2.c: Fix operand calculation order. From-SVN: r239966 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 255d6c2c7cb..6764da1b3e5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-09-02 Kirill Yukhin + + * gcc.target/i386/avx512f-klogic-2.c: Fix operand calculation order. + 2016-09-02 David Malcolm * gcc.dg/plugin/diagnostic-test-show-locus-generate-patch.c: New diff --git a/gcc/testsuite/gcc.target/i386/avx512f-klogic-2.c b/gcc/testsuite/gcc.target/i386/avx512f-klogic-2.c index feff9558a15..ec09e4c6182 100644 --- a/gcc/testsuite/gcc.target/i386/avx512f-klogic-2.c +++ b/gcc/testsuite/gcc.target/i386/avx512f-klogic-2.c @@ -51,7 +51,7 @@ avx512f_test (void) dst = _mm512_kunpackb (src1, src2); x = _mm512_mask_add_ps (x, dst, x, x); - dst_ref = ((src2 << 8) | src1) & 0xFFFF; + dst_ref = ((src1 << 8) | src2) & 0xFFFF; if (dst != dst_ref) abort ();