From 5bc9de3234f7ccb6d0ecbb72f855c6ba42879171 Mon Sep 17 00:00:00 2001 From: rth Date: Mon, 16 May 2005 18:22:48 +0000 Subject: [PATCH] PR target/21556 * config/ia64/ia64.md (load_dtpmod, load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22, load_dtprel_gd, load_ltoff_dtprel, add_dtprel, add_dtprel14, add_dtprel22, load_tprel, load_tprel64, load_tprel22, load_tprel_ie, load_ltoff_tprel, add_tprel, add_tprel14, add_tprel22): Remove mode from symbolic operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99785 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 9 +++++++++ gcc/config/ia64/ia64.md | 36 ++++++++++++++++++------------------ 2 files changed, 27 insertions(+), 18 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aadf8ff..46317a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2005-05-16 Richard Henderson + + PR target/21556 + * config/ia64/ia64.md (load_dtpmod, load_ltoff_dtpmod, load_dtprel, + load_dtprel64, load_dtprel22, load_dtprel_gd, load_ltoff_dtprel, + add_dtprel, add_dtprel14, add_dtprel22, load_tprel, load_tprel64, + load_tprel22, load_tprel_ie, load_ltoff_tprel, add_tprel, add_tprel14, + add_tprel22): Remove mode from symbolic operand. + 2005-05-16 Richard Sandiford * optc-gen.awk: Include intl.h after the externally-provided files. diff --git a/gcc/config/ia64/ia64.md b/gcc/config/ia64/ia64.md index 179a6e7..7260678 100644 --- a/gcc/config/ia64/ia64.md +++ b/gcc/config/ia64/ia64.md @@ -471,7 +471,7 @@ (define_insn_and_split "load_dtpmod" [(set (match_operand:DI 0 "register_operand" "=r") - (unspec:DI [(match_operand:DI 1 "tls_symbolic_operand" "")] + (unspec:DI [(match_operand 1 "tls_symbolic_operand" "")] UNSPEC_DTPMOD))] "" "#" @@ -487,7 +487,7 @@ (define_insn "*load_ltoff_dtpmod" [(set (match_operand:DI 0 "register_operand" "=r") - (plus:DI (unspec:DI [(match_operand:DI 1 "tls_symbolic_operand" "")] + (plus:DI (unspec:DI [(match_operand 1 "tls_symbolic_operand" "")] UNSPEC_LTOFF_DTPMOD) (match_operand:DI 2 "register_operand" "a")))] "reload_completed" @@ -496,14 +496,14 @@ (define_expand "load_dtprel" [(set (match_operand:DI 0 "register_operand" "") - (unspec:DI [(match_operand:DI 1 "tls_symbolic_operand" "")] + (unspec:DI [(match_operand 1 "tls_symbolic_operand" "")] UNSPEC_DTPREL))] "" "") (define_insn "*load_dtprel64" [(set (match_operand:DI 0 "register_operand" "=r") - (unspec:DI [(match_operand:DI 1 "ld_tls_symbolic_operand" "")] + (unspec:DI [(match_operand 1 "ld_tls_symbolic_operand" "")] UNSPEC_DTPREL))] "TARGET_TLS64" "movl %0 = @dtprel(%1)" @@ -511,7 +511,7 @@ (define_insn "*load_dtprel22" [(set (match_operand:DI 0 "register_operand" "=r") - (unspec:DI [(match_operand:DI 1 "ld_tls_symbolic_operand" "")] + (unspec:DI [(match_operand 1 "ld_tls_symbolic_operand" "")] UNSPEC_DTPREL))] "" "addl %0 = @dtprel(%1), r0" @@ -519,7 +519,7 @@ (define_insn_and_split "*load_dtprel_gd" [(set (match_operand:DI 0 "register_operand" "=r") - (unspec:DI [(match_operand:DI 1 "tls_symbolic_operand" "")] + (unspec:DI [(match_operand 1 "tls_symbolic_operand" "")] UNSPEC_DTPREL))] "" "#" @@ -535,7 +535,7 @@ (define_insn "*load_ltoff_dtprel" [(set (match_operand:DI 0 "register_operand" "=r") - (plus:DI (unspec:DI [(match_operand:DI 1 "tls_symbolic_operand" "")] + (plus:DI (unspec:DI [(match_operand 1 "tls_symbolic_operand" "")] UNSPEC_LTOFF_DTPREL) (match_operand:DI 2 "register_operand" "a")))] "" @@ -544,7 +544,7 @@ (define_expand "add_dtprel" [(set (match_operand:DI 0 "register_operand" "") - (plus:DI (unspec:DI [(match_operand:DI 1 "ld_tls_symbolic_operand" "")] + (plus:DI (unspec:DI [(match_operand 1 "ld_tls_symbolic_operand" "")] UNSPEC_DTPREL) (match_operand:DI 2 "register_operand" "")))] "!TARGET_TLS64" @@ -552,7 +552,7 @@ (define_insn "*add_dtprel14" [(set (match_operand:DI 0 "register_operand" "=r") - (plus:DI (unspec:DI [(match_operand:DI 1 "ld_tls_symbolic_operand" "")] + (plus:DI (unspec:DI [(match_operand 1 "ld_tls_symbolic_operand" "")] UNSPEC_DTPREL) (match_operand:DI 2 "register_operand" "r")))] "TARGET_TLS14" @@ -561,7 +561,7 @@ (define_insn "*add_dtprel22" [(set (match_operand:DI 0 "register_operand" "=r") - (plus:DI (unspec:DI [(match_operand:DI 1 "ld_tls_symbolic_operand" "")] + (plus:DI (unspec:DI [(match_operand 1 "ld_tls_symbolic_operand" "")] UNSPEC_DTPREL) (match_operand:DI 2 "register_operand" "a")))] "TARGET_TLS22" @@ -570,14 +570,14 @@ (define_expand "load_tprel" [(set (match_operand:DI 0 "register_operand" "") - (unspec:DI [(match_operand:DI 1 "tls_symbolic_operand" "")] + (unspec:DI [(match_operand 1 "tls_symbolic_operand" "")] UNSPEC_TPREL))] "" "") (define_insn "*load_tprel64" [(set (match_operand:DI 0 "register_operand" "=r") - (unspec:DI [(match_operand:DI 1 "le_tls_symbolic_operand" "")] + (unspec:DI [(match_operand 1 "le_tls_symbolic_operand" "")] UNSPEC_TPREL))] "TARGET_TLS64" "movl %0 = @tprel(%1)" @@ -585,7 +585,7 @@ (define_insn "*load_tprel22" [(set (match_operand:DI 0 "register_operand" "=r") - (unspec:DI [(match_operand:DI 1 "le_tls_symbolic_operand" "")] + (unspec:DI [(match_operand 1 "le_tls_symbolic_operand" "")] UNSPEC_TPREL))] "" "addl %0 = @tprel(%1), r0" @@ -593,7 +593,7 @@ (define_insn_and_split "*load_tprel_ie" [(set (match_operand:DI 0 "register_operand" "=r") - (unspec:DI [(match_operand:DI 1 "ie_tls_symbolic_operand" "")] + (unspec:DI [(match_operand 1 "ie_tls_symbolic_operand" "")] UNSPEC_TPREL))] "" "#" @@ -609,7 +609,7 @@ (define_insn "*load_ltoff_tprel" [(set (match_operand:DI 0 "register_operand" "=r") - (plus:DI (unspec:DI [(match_operand:DI 1 "ie_tls_symbolic_operand" "")] + (plus:DI (unspec:DI [(match_operand 1 "ie_tls_symbolic_operand" "")] UNSPEC_LTOFF_TPREL) (match_operand:DI 2 "register_operand" "a")))] "" @@ -618,7 +618,7 @@ (define_expand "add_tprel" [(set (match_operand:DI 0 "register_operand" "") - (plus:DI (unspec:DI [(match_operand:DI 1 "le_tls_symbolic_operand" "")] + (plus:DI (unspec:DI [(match_operand 1 "le_tls_symbolic_operand" "")] UNSPEC_TPREL) (match_operand:DI 2 "register_operand" "")))] "!TARGET_TLS64" @@ -626,7 +626,7 @@ (define_insn "*add_tprel14" [(set (match_operand:DI 0 "register_operand" "=r") - (plus:DI (unspec:DI [(match_operand:DI 1 "le_tls_symbolic_operand" "")] + (plus:DI (unspec:DI [(match_operand 1 "le_tls_symbolic_operand" "")] UNSPEC_TPREL) (match_operand:DI 2 "register_operand" "r")))] "TARGET_TLS14" @@ -635,7 +635,7 @@ (define_insn "*add_tprel22" [(set (match_operand:DI 0 "register_operand" "=r") - (plus:DI (unspec:DI [(match_operand:DI 1 "le_tls_symbolic_operand" "")] + (plus:DI (unspec:DI [(match_operand 1 "le_tls_symbolic_operand" "")] UNSPEC_TPREL) (match_operand:DI 2 "register_operand" "a")))] "TARGET_TLS22" -- 2.7.4