i386: Utilize VCOMSBF16 for BF16 Comparisons with AVX10.2
[official-gcc.git] / gcc / testsuite / gcc.target / vax / movmem.c
blobb907d8a376d350f0c3f2e282a8c4f0e7eb3225f8
1 /* { dg-do compile } */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4 #include <stddef.h>
6 void *
7 memmove8 (void *to, const void *from, size_t size)
9 unsigned char s8 = size;
10 return __builtin_memmove (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 " } } */