This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [aarch64] Remove obsolete comment about X30
- From: Siddhesh Poyarekar <siddhesh at sourceware dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: james dot greenhalgh at arm dot com
- Date: Mon, 18 Jun 2018 19:13:04 +0530
- Subject: [PATCH] [aarch64] Remove obsolete comment about X30
r217431 changed X30 as caller-saved in CALL_USE_REGISTERS because of
which this comment about X30 not being marked as call-clobbered is no
longer accurate.
Siddhesh
* config/aarch64/aarch64.h: Remove obsolete comment.
---
gcc/config/aarch64/aarch64.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index 976f9afae54..df9fb31aa64 100644
--- a/gcc/config/aarch64/aarch64.h
+++ b/gcc/config/aarch64/aarch64.h
@@ -303,15 +303,6 @@ extern unsigned aarch64_architecture_version;
register. GCC internally uses the poly_int variable aarch64_sve_vg
instead. */
-/* Note that we don't mark X30 as a call-clobbered register. The idea is
- that it's really the call instructions themselves which clobber X30.
- We don't care what the called function does with it afterwards.
-
- This approach makes it easier to implement sibcalls. Unlike normal
- calls, sibcalls don't clobber X30, so the register reaches the
- called function intact. EPILOGUE_USES says that X30 is useful
- to the called function. */
-
#define FIXED_REGISTERS \
{ \
0, 0, 0, 0, 0, 0, 0, 0, /* R0 - R7 */ \
--
2.14.4