* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / sh4a-memmovua.c
blob689279298548bef7922a131566e15531abc484ef
1 /* Verify that we generate movua to copy unaligned memory regions to
2 32-bit-aligned addresses. */
3 /* { dg-do compile { target "sh*-*-*" } } */
4 /* { dg-options "-O" } */
5 /* { dg-final { scan-assembler-times "\tmovua\\.l\t(.*)+" 2 } } */
7 #ifdef __SH4A__
8 #include <stdlib.h>
10 struct s { int i; char a[10], b[10]; } x;
11 int f() {
12 memcpy(x.a, x.b, 10);
14 #else
15 asm ("movua.l\t+");
16 asm ("movua.l\t+");
17 #endif