aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Quinn <jquinn@nortelnetworks.com>1999-02-27 22:23:31 +0000
committerJeff Law <law@gcc.gnu.org>1999-02-27 15:23:31 -0700
commit2faa455b71459caee44032c52a60fc444eb729be (patch)
treedd1844ea1b057940605f1935db4c5dea8fabcf92
parent8f08ea1e474635cfba9093c0698960d33a9ef549 (diff)
downloadgcc-2faa455b71459caee44032c52a60fc444eb729be.zip
gcc-2faa455b71459caee44032c52a60fc444eb729be.tar.gz
gcc-2faa455b71459caee44032c52a60fc444eb729be.tar.bz2
pa.h (REG_ALLOC_ORDER): Change order to allocate left half of float regs before right half of float regs.
* pa.h (REG_ALLOC_ORDER): Change order to allocate left half of float regs before right half of float regs. Co-Authored-By: Mike Stump <mrs@wrs.com> From-SVN: r25488
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/pa/pa.h25
2 files changed, 22 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 93871bc..f5a8d22 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Sat Feb 27 23:21:47 1999 Jerry Quinn <jquinn@nortelnetworks.com>
+ Mike Stump <mrs@wrs.com>
+
+ * pa.h (REG_ALLOC_ORDER): Change order to allocate left half of
+ float regs before right half of float regs.
+
Sat Feb 27 22:48:38 1999 H.J. Lu (hjl@gnu.org)
Jeffrey A Law (law@cygnus.com)
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index 37f3de78e7..955fb93 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -563,23 +563,30 @@ do { \
registers will generally not be allocated across a call).
Experimentation has shown slightly better results by allocating
- FP registers first. */
+ FP registers first.
+
+ FP registers are ordered so that all L registers are selected before
+ R registers. This works around a false dependency interlock on the
+ PA8000 when accessing the high and low parts of an FP register
+ independently. */
#define REG_ALLOC_ORDER \
{ \
/* caller-saved fp regs. */ \
- 68, 69, 70, 71, 72, 73, 74, 75, \
- 76, 77, 78, 79, 80, 81, 82, 83, \
- 84, 85, 86, 87, \
- 40, 41, 42, 43, 44, 45, 46, 47, \
- 32, 33, 34, 35, 36, 37, 38, 39, \
+ 68, 70, 72, 74, 76, 78, 80, 82, \
+ 84, 86, 40, 42, 44, 46, 32, 34, \
+ 36, 38, \
+ 69, 71, 73, 75, 77, 79, 81, 83, \
+ 85, 87, 41, 43, 45, 47, 33, 35, \
+ 37, 39, \
/* caller-saved general regs. */ \
19, 20, 21, 22, 23, 24, 25, 26, \
27, 28, 29, 31, 2, \
/* callee-saved fp regs. */ \
- 48, 49, 50, 51, 52, 53, 54, 55, \
- 56, 57, 58, 59, 60, 61, 62, 63, \
- 64, 65, 66, 67, \
+ 48, 50, 52, 54, 56, 58, 60, 62, \
+ 64, 66, \
+ 49, 51, 53, 55, 57, 59, 61, 63, \
+ 65, 67, \
/* callee-saved general regs. */ \
3, 4, 5, 6, 7, 8, 9, 10, \
11, 12, 13, 14, 15, 16, 17, 18, \