re PR target/21556 (TLS failures on 4.0 branch)

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.

From-SVN: r99785
This commit is contained in:
Richard Henderson 2005-05-16 11:22:48 -07:00 committed by Richard Henderson
parent fb664b5a2b
commit 5e2b4439e1
2 changed files with 27 additions and 18 deletions

View File

@ -1,3 +1,12 @@
2005-05-16 Richard Henderson <rth@redhat.com>
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 <rsandifo@redhat.com>
* optc-gen.awk: Include intl.h after the externally-provided files.

View File

@ -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"