aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1993-01-03 11:58:56 -0700
committerJeff Law <law@gcc.gnu.org>1993-01-03 11:58:56 -0700
commit81f433e4372e8a05f26c789bde3a292860d1ed7a (patch)
treecd74702473d8c7fbd6a55f1daee9484519359211
parent4d72c2417ff982d380e28e07fe515d52c8f2f788 (diff)
downloadgcc-81f433e4372e8a05f26c789bde3a292860d1ed7a.zip
gcc-81f433e4372e8a05f26c789bde3a292860d1ed7a.tar.gz
gcc-81f433e4372e8a05f26c789bde3a292860d1ed7a.tar.bz2
pa.h (FIXED_REGISTERS, [...]): r3 isn't fixed!
* pa.h (FIXED_REGISTERS, CALL_USED_REGISTERS): r3 isn't fixed! (REG_ALLOC_ORDER): Move r3 up in the allocation order. (HAVE_ATEXIT): Define. From-SVN: r3067
-rw-r--r--gcc/config/pa/pa.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index a56c9a5..1004bda 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -264,7 +264,7 @@ extern int target_flags;
*/
#define FIXED_REGISTERS \
- {0, 0, 1, 1, 1, 0, 0, 0, \
+ {0, 0, 1, 0, 1, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 1, 0, 0, 1, 1, \
@@ -289,7 +289,7 @@ extern int target_flags;
and the register where structure-value addresses are passed.
Aside from that, you can include as many other registers as you like. */
#define CALL_USED_REGISTERS \
- {1, 1, 1, 1, 1, 0, 0, 0, \
+ {1, 1, 1, 0, 1, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 1, 1, 1, 1, 1, \
1, 1, 1, 1, 1, 1, 1, 1, \
@@ -354,12 +354,12 @@ extern int target_flags;
88, 89, 90, 91, 92, 93, 94, 95, \
96, 97, 98, 99, 100, 101, 102, 103, \
104, 105, 106, 107, 108, 109, 110, 111,\
- 5, 6, 7, \
+ 3, 5, 6, 7, \
8, 9, 10, 11, 12, 13, 14, 15, \
16, 17, 18, 44, 45, 46, 47, \
48, 49, 50, 51, 52, 53, 54, 55, \
1, \
- 2, 3, 4, 32, 33, 34, 35, 0, \
+ 2, 4, 32, 33, 34, 35, 0, \
112}
@@ -1369,6 +1369,10 @@ while (0)
but a CALL with constant address is cheap. */
#define NO_FUNCTION_CSE
+/* Use atexit for static constructors/destructors, instead of defining
+ our own exit function. */
+#define HAVE_ATEXIT
+
/* Compute the cost of computing a constant rtl expression RTX
whose rtx-code is CODE. The body of this macro is a portion
of a switch statement. If the code is computed here,
@@ -1775,3 +1779,5 @@ extern struct rtx_def *legitimize_pic_address ();
extern struct rtx_def *gen_cmp_fp ();
extern struct rtx_def *gen_scond_fp ();
extern void hppa_encode_label ();
+
+extern struct rtx_def *hppa_save_pic_table_rtx;