OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [i386/] [memcpy-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile { target i?86-*-* } } */
2
/* { dg-require-effective-target ilp32 } */
3
/* { dg-options "-O2 -march=pentiumpro -minline-all-stringops" } */
4
/* { dg-final { scan-assembler "rep" } } */
5
/* { dg-final { scan-assembler "movs" } } */
6
/* { dg-final { scan-assembler-not "test" } } */
7
/* { dg-final { scan-assembler "\.L?:" } } */
8
 
9
/* A and B are aligned, but we used to lose track of it.
10
   Ensure that memcpy is inlined and alignment prologue is missing.  */
11
 
12
char a[900];
13
char b[900];
14
t()
15
{
16
  __builtin_memcpy (a,b,900);
17
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.