1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-require-effective-target vect_shift } */
5 unsigned long int __attribute__ ((aligned (64)))arr
[100];
8 void negative_test_for_vectorshifts_via_mul_with_const ()
11 arr
[i
] = arr
[i
] * 123;
14 void negative_test_for_vectorshifts_via_mul_with_negative_const ()
17 arr
[i
] = arr
[i
] * (-123);
20 void negative_test_for_vectorshifts_via_mul_with_varable (int x
)
27 /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 3 "vect" {target { ! { vect_int_mult } } } } } */
28 /* { dg-final { scan-tree-dump-not "vect_recog_mult_pattern: detected" "vect" {target { ! { vect_int_mult } } } } } */