[commit: ghc] master: Comments only: more alternate names for ARM registers [skip ci] (edb30fd)
git at git.haskell.org
git at git.haskell.org
Mon Jan 25 14:13:15 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/edb30fd4d21fb7d41fe718fc52a800c93607953f/ghc
>---------------------------------------------------------------
commit edb30fd4d21fb7d41fe718fc52a800c93607953f
Author: Reid Barton <rwbarton at gmail.com>
Date: Mon Jan 25 09:13:04 2016 -0500
Comments only: more alternate names for ARM registers [skip ci]
Summary:
These are the names used by arm-linux-androideabi-objdump, so
it's helpful to have them here next to the Stg register mapping.
Reviewers: austin, erikd, bgamari
Reviewed By: erikd, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1840
>---------------------------------------------------------------
edb30fd4d21fb7d41fe718fc52a800c93607953f
includes/stg/MachRegs.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/includes/stg/MachRegs.h b/includes/stg/MachRegs.h
index b1a0ef0..ce4ebf4 100644
--- a/includes/stg/MachRegs.h
+++ b/includes/stg/MachRegs.h
@@ -485,14 +485,15 @@ the stack. See Note [Overlapping global registers] for implications.
Here we consider ARM mode (i.e. 32bit isns)
and also CPU with full VFPv3 implementation
- ARM registers (see Chapter 5.1 in ARM IHI 0042D)
+ ARM registers (see Chapter 5.1 in ARM IHI 0042D and
+ Section 9.2.2 in ARM Software Development Toolkit Reference Guide)
r15 PC The Program Counter.
r14 LR The Link Register.
r13 SP The Stack Pointer.
r12 IP The Intra-Procedure-call scratch register.
- r11 v8 Variable-register 8.
- r10 v7 Variable-register 7.
+ r11 v8/fp Variable-register 8.
+ r10 v7/sl Variable-register 7.
r9 v6/SB/TR Platform register. The meaning of this register is
defined by the platform standard.
r8 v5 Variable-register 5.
More information about the ghc-commits
mailing list