aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <erich@gnu.org>1994-06-27 15:24:36 +0000
committerRichard Earnshaw <erich@gnu.org>1994-06-27 15:24:36 +0000
commit24f0c1b4ccfb8afb37529cbe7e913a859bfece26 (patch)
tree4e081372ecc96a2f4ac4c60f83f49af96bdecef5
parentcb039f8aa0fa4838ce8842b02eb2416d505c027e (diff)
downloadgcc-24f0c1b4ccfb8afb37529cbe7e913a859bfece26.zip
gcc-24f0c1b4ccfb8afb37529cbe7e913a859bfece26.tar.gz
gcc-24f0c1b4ccfb8afb37529cbe7e913a859bfece26.tar.bz2
(enum floating_point_type): New enumeration type.
(arm_fpu): New declaration. From-SVN: r7571
-rw-r--r--gcc/config/arm/arm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 984bbca..de64cea 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -126,6 +126,18 @@ enum processor_type
extern enum processor_type arm_cpu;
+/* What sort of floating point unit do we have? Hardware or software. */
+enum floating_point_type
+{
+ FP_HARD,
+ FP_SOFT
+};
+
+/* Recast the floating point class to be the floating point attribute. */
+#define arm_fpu_attr ((enum attr_fpu) arm_fpu)
+
+extern enum floating_point_type arm_fpu;
+
#define TARGET_DEFAULT 0
#define TARGET_MEM_FUNCTIONS 1