From 24f0c1b4ccfb8afb37529cbe7e913a859bfece26 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Mon, 27 Jun 1994 15:24:36 +0000 Subject: [PATCH] (enum floating_point_type): New enumeration type. (arm_fpu): New declaration. From-SVN: r7571 --- gcc/config/arm/arm.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 984bbca4fd22..de64cea8a6ba 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 -- 2.47.2