OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [loop_optimization7.adb] - Blame information for rev 304

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
-- { dg-options "-O3" }
3
-- { dg-options "-O3 -msse" { target i?86-*-* x86_64-*-* } }
4
-- { dg-require-effective-target sse } 
5
 
6
package body Loop_Optimization7 is
7
 
8
  function Conv (A : Arr) return Arr is
9
    Result : Arr;
10
  begin
11
    for I in A'Range loop
12
      Result (I) := Conv (A (I));
13
    end loop;
14
    return Result;
15
  end;
16
 
17
end Loop_Optimization7;

powered by: WebSVN 2.1.0

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