]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(enum floating_point_type): New enumeration type.
authorRichard Earnshaw <erich@gnu.org>
Mon, 27 Jun 1994 15:24:36 +0000 (15:24 +0000)
committerRichard Earnshaw <erich@gnu.org>
Mon, 27 Jun 1994 15:24:36 +0000 (15:24 +0000)
(arm_fpu): New declaration.

From-SVN: r7571

gcc/config/arm/arm.h

index 984bbca4fd22cec2e4b0f20b1605d94d4af51a13..de64cea8a6badc63c7ccae1ae23c597418668e2d 100644 (file)
@@ -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