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/] [machine_code1.adb] - Blame information for rev 514

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
-- { dg-options "-gnatws" }
3
 
4
with System.Machine_Code; use System.Machine_Code;
5
procedure machine_code1 is
6
   A_Float        : Float;
7
   An_Other_Float : Float := -99999.0;
8
begin
9
   An_Other_Float := An_Other_Float - A_Float;
10
   Asm("", Inputs => (Float'Asm_Input ("m", A_Float)));
11
end;

powered by: WebSVN 2.1.0

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