diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-25 21:46:32 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-25 21:46:32 +0000 |
commit | bb269b2f4525130da5effba604619451cf0e36fa (patch) | |
tree | 284105be708372bf5543c50132112c18baf16068 /gcc/config/sparc/sparc-protos.h | |
parent | 4afe46fe26b7fb762569d0bd3089d2fbaed6a204 (diff) | |
download | gcc-bb269b2f4525130da5effba604619451cf0e36fa.tar.gz |
PR target/44707
* config/sparc/sparc-protos.h (sparc_legitimize_reload_address): New.
* config/sparc/sparc.c: Include reload.h.
(legitimize_tls_address): Rename into...
(sparc_legitimize_tls_address): ...this.
(legitimize_pic_address): Rename into...
(sparc_legitimize_pic_address): ...this.
(sparc_expand_move): Adjust to above renaming.
(sparc_tls_referenced_p): Likewise.
(sparc_legitimize_tls_address): Likewise.
(sparc_legitimize_pic_address): Likewise.
(sparc_legitimize_address): Likewise.
(sparc_output_mi_thunk): Likewise.
(sparc_legitimize_reload_address): New global function. Recognize
(lo_sum (high ...) ...) patterns generated by earlier passes.
* config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Use above function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162521 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc/sparc-protos.h')
-rw-r--r-- | gcc/config/sparc/sparc-protos.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc-protos.h b/gcc/config/sparc/sparc-protos.h index 35c99b967ba..f5efcb988f2 100644 --- a/gcc/config/sparc/sparc-protos.h +++ b/gcc/config/sparc/sparc-protos.h @@ -63,6 +63,8 @@ extern void emit_tfmode_cvt (enum rtx_code, rtx *); extern bool legitimate_constant_p (rtx); extern bool constant_address_p (rtx); extern bool legitimate_pic_operand_p (rtx); +extern rtx sparc_legitimize_reload_address (rtx, enum machine_mode, int, int, + int, int *win); extern void sparc_emit_call_insn (rtx, rtx); extern void sparc_defer_case_vector (rtx, rtx, int); extern bool sparc_expand_move (enum machine_mode, rtx *); |