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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [loop_optimization10.adb] - Rev 696

Compare with Previous | Blame | View Log

-- { dg-do compile }
-- { dg-options "-O3" }
-- { dg-options "-O3 -msse2" { target i?86-*-* x86_64-*-* } }
 
package body Loop_Optimization10 is
 
   function F (Low, High : in Array_Real_Type) return Array_Limit_Type is
      Result : Array_Limit_Type;
   begin
      for I in Result'Range
      loop
         Result (I) := F (Low (I), High (I));
      end loop;
      return Result;
   end;
 
end Loop_Optimization10;
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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