summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_vfpt.ads
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-02 14:08:34 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-02 14:08:34 +0000
commitee6ba406bdc83a0b016ec0099d84035d7fd26fd7 (patch)
tree133a71d6793865f2028234c0125afcfa4c7afc76 /gcc/ada/exp_vfpt.ads
parent1fac938ee5fb71eb038b3b33e393a02d5ea33190 (diff)
downloadgcc-ee6ba406bdc83a0b016ec0099d84035d7fd26fd7.tar.gz
New Language: Ada
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45954 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_vfpt.ads')
-rw-r--r--gcc/ada/exp_vfpt.ads56
1 files changed, 56 insertions, 0 deletions
diff --git a/gcc/ada/exp_vfpt.ads b/gcc/ada/exp_vfpt.ads
new file mode 100644
index 00000000000..8e3c95c0789
--- /dev/null
+++ b/gcc/ada/exp_vfpt.ads
@@ -0,0 +1,56 @@
+------------------------------------------------------------------------------
+-- --
+-- GNAT COMPILER COMPONENTS --
+-- --
+-- E X P _ V F P T --
+-- --
+-- S p e c --
+-- --
+-- $Revision: 1.2 $ --
+-- --
+-- Copyright (C) 1997 Free Software Foundation, Inc. --
+-- --
+-- GNAT is free software; you can redistribute it and/or modify it under --
+-- terms of the GNU General Public License as published by the Free Soft- --
+-- ware Foundation; either version 2, or (at your option) any later ver- --
+-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
+-- OUT 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 distributed with GNAT; see file COPYING. If not, write --
+-- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
+-- MA 02111-1307, USA. --
+-- --
+-- GNAT was originally developed by the GNAT team at New York University. --
+-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
+-- --
+------------------------------------------------------------------------------
+
+-- This package contains specialized routines for handling the expansion
+-- of arithmetic and conversion operations involving Vax format floating-
+-- point formats as used on the Vax and the Alpha.
+
+with Types; use Types;
+
+package Exp_VFpt is
+
+ procedure Expand_Vax_Arith (N : Node_Id);
+ -- The node N is an arithmetic node (N_Op_Abs, N_Op_Add, N_Op_Sub,
+ -- N_Op_Div, N_Op_Mul, N_Op_Minus where the operands are in Vax
+ -- float format. This procedure expands the necessary call.
+
+ procedure Expand_Vax_Comparison (N : Node_Id);
+ -- The node N is an arithmetic comparison node where the types to
+ -- be compared are in Vax float format. This procedure expands the
+ -- necessary call.
+
+ procedure Expand_Vax_Conversion (N : Node_Id);
+ -- The node N is a type conversion node where either the source or
+ -- the target type, or both, are Vax floating-point type.
+
+ procedure Expand_Vax_Real_Literal (N : Node_Id);
+ -- The node N is a real literal node where the type is a Vax
+ -- floating-point type. This procedure rewrites the node to eliminate
+ -- the occurrence of such constants.
+
+end Exp_VFpt;