summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2016-11-21 15:59:13 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2016-11-21 15:59:13 +0000
commit091c7e6839385151d7e4aa051ac3cc0a4d126d13 (patch)
treeb34b46644ef4189b2e24485e8b51e8471f4b100f
parent7bfddeff213fb627b027c9cf8a3132e76719965d (diff)
downloadgcc-091c7e6839385151d7e4aa051ac3cc0a4d126d13.tar.gz
[arm] Remove unimplemented option -macps-float
* arm.opt (mapcs-float): Delete option * arm.c (arm_option_override): Remove hunk relating to TARGET_APCS_FLOAT. * doc/invoke.texi (arm options): Remove documentation for -mapcs-float. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242669 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/arm/arm.c3
-rw-r--r--gcc/config/arm/arm.opt4
-rw-r--r--gcc/doc/invoke.texi11
4 files changed, 7 insertions, 18 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 56fa35b2691..5957b9564ef 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2016-11-21 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm.opt (mapcs-float): Delete option.
+ * arm.c (arm_option_override): Remove hunk relating to
+ TARGET_APCS_FLOAT.
+ * doc/invoke.texi (arm options): Remove documentation for -mapcs-float.
+
2016-11-21 Richard Sandiford <richard.sandiford@arm.com>
* tree-tailcall.c (process_assignment): Simplify the check for
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 69c4a2bba81..dc88853987e 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -3187,9 +3187,6 @@ arm_option_override (void)
if (TARGET_APCS_REENT)
warning (0, "APCS reentrant code not supported. Ignored");
- if (TARGET_APCS_FLOAT)
- warning (0, "passing floating point arguments in fp regs not yet supported");
-
/* Initialize boolean versions of the flags, for use in the arm.md file. */
arm_arch3m = ARM_FSET_HAS_CPU1 (insn_flags, FL_ARCH3M);
arm_arch4 = ARM_FSET_HAS_CPU1 (insn_flags, FL_ARCH4);
diff --git a/gcc/config/arm/arm.opt b/gcc/config/arm/arm.opt
index 0fcabb90ed2..8856976c6de 100644
--- a/gcc/config/arm/arm.opt
+++ b/gcc/config/arm/arm.opt
@@ -61,10 +61,6 @@ Generate a call to abort if a noreturn function returns.
mapcs
Target RejectNegative Mask(APCS_FRAME) Undocumented
-mapcs-float
-Target Report Mask(APCS_FLOAT)
-Pass FP arguments in FP registers.
-
mapcs-frame
Target Report Mask(APCS_FRAME)
Generate APCS conformant stack frames.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4dcaf10eb6a..67ed240b8aa 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -621,7 +621,6 @@ Objective-C and Objective-C++ Dialects}.
@gccoptlist{-mapcs-frame -mno-apcs-frame @gol
-mabi=@var{name} @gol
-mapcs-stack-check -mno-apcs-stack-check @gol
--mapcs-float -mno-apcs-float @gol
-mapcs-reentrant -mno-apcs-reentrant @gol
-msched-prolog -mno-sched-prolog @gol
-mlittle-endian -mbig-endian @gol
@@ -14892,16 +14891,6 @@ system is required to provide these functions. The default is
@option{-mno-apcs-stack-check}, since this produces smaller code.
@c not currently implemented
-@item -mapcs-float
-@opindex mapcs-float
-Pass floating-point arguments using the floating-point registers. This is
-one of the variants of the APCS@. This option is recommended if the
-target hardware has a floating-point unit or if a lot of floating-point
-arithmetic is going to be performed by the code. The default is
-@option{-mno-apcs-float}, since the size of integer-only code is
-slightly increased if @option{-mapcs-float} is used.
-
-@c not currently implemented
@item -mapcs-reentrant
@opindex mapcs-reentrant
Generate reentrant, position-independent code. The default is