gcc/testsuite/gcc.target/i386/vect-insert-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O -msse2 -fdump-tree-ccp1" } */ |
| 3 | |
| 4 | typedef int v4si __attribute__((vector_size(16))); |
| 5 | |
| 6 | float f; |
| 7 | |
| 8 | v4si foo (v4si a) |
| 9 | { |
| 10 | __builtin_memcpy ((char *)&a + 4, &f, 4); |
| 11 | return a; |
| 12 | } |
| 13 | |
| 14 | /* { dg-final { scan-tree-dump "Now a gimple register: a" "ccp1" } } */ |
| 15 | /* { dg-final { scan-tree-dump "BIT_INSERT_EXPR <a" "ccp1" } } */ |