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

Subversion Repositories openrisc

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

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

-- { dg-do compile }
-- { dg-options "-gnatws" }
 
with System.Machine_Code; use System.Machine_Code;
procedure machine_code1 is
   A_Float        : Float;
   An_Other_Float : Float := -99999.0;
begin
   An_Other_Float := An_Other_Float - A_Float;
   Asm("", Inputs => (Float'Asm_Input ("m", A_Float)));
end;
 

Go to most recent revision | 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.