diagnostics: move output formats from diagnostic.{c,h} to their own files
[official-gcc.git] / gcc / testsuite / gcc.target / vax / cpymem.c
blob91805a1a5eb213470a8d597b2e3e3ad1a8b363f6
1 /* { dg-do compile } */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4 #include <stddef.h>
6 void *
7 memcpy8 (void *to, const void *from, size_t size)
9 unsigned char s8 = size;
10 return __builtin_memcpy (to, from, s8);
13 /* Expect assembly like:
15 movl 4(%ap),%r6
16 movzbl 12(%ap),%r7
17 movl 8(%ap),%r8
18 movc3 %r7,(%r8),(%r6)
19 movl %r6,%r0
23 /* { dg-final { scan-assembler "\tmovc3 " } } */