summaryrefslogtreecommitdiff
path: root/ortho/agcc/agcc-autils.ads
blob: 8ca7da446b2dc898efdefb68ffb884d806d7e388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--  Ada bindings for GCC internals.
--  Copyright (C) 2002, 2003, 2004, 2005 Tristan Gingold
--
--  GHDL is free software; you can redistribute it and/or modify it under
--  the terms of the GNU General Public License as published by the Free
--  Software Foundation; either version 2, or (at your option) any later
--  version.
--
--  GHDL is distributed in the hope that it will be useful, but WITHOUT ANY
--  WARRANTY; without even the implied warranty of MERCHANTABILITY or
--  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
--  for more details.
--
--  You should have received a copy of the GNU General Public License
--  along with GCC; see the file COPYING.  If not, write to the Free
--  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
--  02111-1307, USA.
with Agcc.Hwint; use Agcc.Hwint;
with Agcc.Real; use Agcc.Real;
with Interfaces; use Interfaces;

--  Additional utils.
package Agcc.Autils is
   procedure To_Host_Wide_Int (V : Unsigned_64; L, H : out HOST_WIDE_INT);
   procedure To_Host_Wide_Int (V : Integer_64; L, H : out HOST_WIDE_INT);
   function To_Real_Value_Type (V : IEEE_Float_64) return REAL_VALUE_TYPE;
end Agcc.Autils;