1  /* { dg-options "-fno-common isa_rev<=5 -mabi=n32 (REQUIRES_STDLIB)" } */
       2  /* { dg-skip-if "code quality test" { *-*-* } { "-O0" "-Os"} { "" } } */
       3  /* { dg-final { scan-assembler-not "\tmemcpy" } } */
       4  /* { dg-final { scan-assembler-times "sdl" 4 } } */
       5  /* { dg-final { scan-assembler-times "sdr" 4 } } */
       6  
       7  /* Test that inline memcpy for hardware with sdl, sdr handles subword
       8     alignment and produces enough sdr/sdls on n32.  */
       9  
      10  #include <string.h>
      11  
      12  char c[40] __attribute__ ((aligned(2)));
      13  
      14  void
      15  f1 ()
      16  {
      17    memcpy (c, "1234567890QWERTYUIOPASDFGHJKLZXCVBNM", 32);
      18  }