URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [405-dlmzb-strlen-1.c] - Rev 691
Compare with Previous | Blame | View Log
/* Test generation of dlmzb for strlen on 405. */ /* Origin: Joseph Myers <joseph@codesourcery.com> */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ /* { dg-options "-O2 -mcpu=405" } */ /* { dg-skip-if "other options override -mcpu=405" { ! powerpc_405_nocache } { "*" } { "" } } */ /* { dg-final { scan-assembler "dlmzb\\. " } } */ typedef __SIZE_TYPE__ size_t; size_t strlen(const char *); size_t strlen8(const long long *s) { return strlen((const char *)s); }