From: Richard Earnshaw Date: Mon, 27 Jun 1994 15:24:36 +0000 (+0000) Subject: (enum floating_point_type): New enumeration type. X-Git-Tag: misc/cutover-egcs-0~6372 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24f0c1b4ccfb8afb37529cbe7e913a859bfece26;p=thirdparty%2Fgcc.git (enum floating_point_type): New enumeration type. (arm_fpu): New declaration. From-SVN: r7571 --- 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