Remove not needed __builtin_expect due to malloc predictor.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / inline-memcpy-3.c
bloba449107ad90f23c8a527650a425614b58f46b207
1 /* { dg-options "-fno-common isa_rev<=5 -mabi=32 (REQUIRES_STDLIB)" } */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" "-Os"} { "" } } */
3 /* { dg-final { scan-assembler-not "\tmemcpy" } } */
4 /* { dg-final { scan-assembler-times "swl" 8 } } */
5 /* { dg-final { scan-assembler-times "swr" 8 } } */
7 /* Test that inline memcpy for hardware with swl, swr handles subword
8 alignment and produces enough swl/swrs for mips32. */
10 #include <string.h>
12 char c[40] __attribute__ ((aligned(2)));
14 void
15 f1 ()
17 memcpy (c, "1234567890QWERTYUIOPASDFGHJKLZXCVBNM", 32);