From 2faa455b71459caee44032c52a60fc444eb729be Mon Sep 17 00:00:00 2001 From: Jerry Quinn Date: Sat, 27 Feb 1999 22:23:31 +0000 Subject: 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 From-SVN: r25488 --- gcc/ChangeLog | 6 ++++++ gcc/config/pa/pa.h | 25 ++++++++++++++++--------- 2 files changed, 22 insertions(+), 9 deletions(-) (limited to 'gcc') 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 + Mike Stump + + * 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, \ -- cgit v1.1