1 /* Test generation of dlmzb for strlen on 405. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { powerpc*-*-aix* } } */
5 /* { dg-require-effective-target ilp32 } */
6 /* { dg-options "-O2 -mdejagnu-cpu=405" } */
7 /* { dg-skip-if "other options override -mcpu=405" { ! powerpc_405_nocache } } */
9 /* { dg-final { scan-assembler "dlmzb\\. " } } */
11 typedef __SIZE_TYPE__
size_t;
13 size_t strlen(const char *);
15 char s
[100] __attribute__ ((aligned (8)));