Commit 5e2b4439 by Richard Henderson Committed by Richard Henderson

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
parent fb664b5a
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.
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment