diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-07-16 20:58:13 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-07-16 14:58:13 -0600 |
commit | 690d42283de601ba7abe48a832b4aa47f4e6791e (patch) | |
tree | 7b42eea5b744bd93b66f50769215a22678a8f9e1 /gcc/config/pa/pa.h | |
parent | d7735a074b4b8f8d1070388dbea6528187059319 (diff) | |
download | gcc-690d42283de601ba7abe48a832b4aa47f4e6791e.zip gcc-690d42283de601ba7abe48a832b4aa47f4e6791e.tar.gz gcc-690d42283de601ba7abe48a832b4aa47f4e6791e.tar.bz2 |
pa.c (hppa_legitimize_address): Change references from SImode to either Pmode or word_mode as appropriate.
* pa.c (hppa_legitimize_address): Change references from SImode to
either Pmode or word_mode as appropriate.
(emit_move_sequence, store_reg, load_reg): Likewise.
(set_reg_plus_d, hppa_expand_prologue): Likewise.
(output_mul_insn): Likewise.
* pa.h (PROMOTE_MODE): Likewise.
(INITIALZE_TRAMPOLINE): Likewise.
(Pmode): Define to word_mode.
From-SVN: r28128
Diffstat (limited to 'gcc/config/pa/pa.h')
-rw-r--r-- | gcc/config/pa/pa.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 1f9a917..717e371 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -320,7 +320,7 @@ int lhs_lshift_cint_operand (); #define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \ if (GET_MODE_CLASS (MODE) == MODE_INT \ && GET_MODE_SIZE (MODE) < UNITS_PER_WORD) \ - (MODE) = SImode; + (MODE) = word_mode; /* Define this if most significant bit is lowest numbered in instructions that operate on numbered bit-fields. */ @@ -1206,12 +1206,12 @@ extern union tree_node *current_function_decl; emit_move_insn (gen_rtx_MEM (Pmode, start_addr), (CXT)); \ /* fdc and fic only use registers for the address to flush, \ they do not accept integer displacements. */ \ - start_addr = force_reg (SImode, (TRAMP)); \ - end_addr = force_reg (SImode, plus_constant ((TRAMP), 32)); \ + start_addr = force_reg (Pmode, (TRAMP)); \ + end_addr = force_reg (Pmode, plus_constant ((TRAMP), 32)); \ emit_insn (gen_dcacheflush (start_addr, end_addr)); \ - end_addr = force_reg (SImode, plus_constant (start_addr, 32)); \ + end_addr = force_reg (Pmode, plus_constant (start_addr, 32)); \ emit_insn (gen_icacheflush (start_addr, end_addr, start_addr, \ - gen_reg_rtx (SImode), gen_reg_rtx (SImode)));\ + gen_reg_rtx (Pmode), gen_reg_rtx (Pmode)));\ } /* Emit code for a call to builtin_saveregs. We must emit USE insns which @@ -1631,7 +1631,7 @@ extern struct rtx_def *hppa_legitimize_address (); /* Specify the machine mode that pointers have. After generation of rtl, the compiler makes no further distinction between pointers and any other objects of this machine mode. */ -#define Pmode SImode +#define Pmode word_mode /* Add any extra modes needed to represent the condition code. |