+2019-08-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR libgomp/91530
+ * config/i386/sse.md (vec_shl_<mode>, vec_shr_<mode>): Use
+ V_128 iterator instead of VI_128.
+
2019-08-28 Martin Liska <mliska@suse.cz>
PR tree-optimization/90970
(define_expand "vec_shl_<mode>"
[(set (match_dup 3)
(ashift:V1TI
- (match_operand:VI_128 1 "register_operand")
+ (match_operand:V_128 1 "register_operand")
(match_operand:SI 2 "const_0_to_255_mul_8_operand")))
- (set (match_operand:VI_128 0 "register_operand") (match_dup 4))]
+ (set (match_operand:V_128 0 "register_operand") (match_dup 4))]
"TARGET_SSE2"
{
operands[1] = gen_lowpart (V1TImode, operands[1]);
(define_expand "vec_shr_<mode>"
[(set (match_dup 3)
(lshiftrt:V1TI
- (match_operand:VI_128 1 "register_operand")
+ (match_operand:V_128 1 "register_operand")
(match_operand:SI 2 "const_0_to_255_mul_8_operand")))
- (set (match_operand:VI_128 0 "register_operand") (match_dup 4))]
+ (set (match_operand:V_128 0 "register_operand") (match_dup 4))]
"TARGET_SSE2"
{
operands[1] = gen_lowpart (V1TImode, operands[1]);
+2019-08-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR libgomp/91530
+ * testsuite/libgomp.c/scan-21.c: New test.
+ * testsuite/libgomp.c/scan-22.c: New test.
+
2019-08-27 Jakub Jelinek <jakub@redhat.com>
PR libgomp/91530
--- /dev/null
+/* { dg-require-effective-target size32plus } */
+/* { dg-require-effective-target avx_runtime } */
+/* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details -msse2 -mno-sse3" } */
+/* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" } } */
+
+#include "scan-13.c"
+/* { dg-require-effective-target size32plus } */
+/* { dg-require-effective-target avx_runtime } */
+/* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details -msse2 -mno-sse3" } */
+/* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" } } */
+
+#include "scan-13.c"
--- /dev/null
+/* { dg-require-effective-target size32plus } */
+/* { dg-require-effective-target avx_runtime } */
+/* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details -msse2 -mno-sse3" } */
+/* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" } } */
+
+#include "scan-17.c"
+/* { dg-require-effective-target size32plus } */
+/* { dg-require-effective-target avx_runtime } */
+/* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details -msse2 -mno-sse3" } */
+/* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" } } */
+
+#include "scan-17.c"