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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [memcpy-1.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* { dg-do compile } */
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[2048];
13
char b[2048];
14
t()
15
{
16
  __builtin_memcpy (a,b,2048);
17
}

powered by: WebSVN 2.1.0

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