Commit 786d6092 by Richard Henderson Committed by Richard Henderson

alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).

        * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
        (extlh, extwh): Likewise.

From-SVN: r27897
parent 659c26fc
Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
* alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
(extlh, extwh): Likewise.
Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com> Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
* c-lex.c (yylex): Improve 'integer constant out of range' messages. * c-lex.c (yylex): Improve 'integer constant out of range' messages.
......
...@@ -1522,10 +1522,9 @@ ...@@ -1522,10 +1522,9 @@
(const_int -8)))) (const_int -8))))
(set (match_dup 4) (set (match_dup 4)
(ashift:DI (match_dup 3) (ashift:DI (match_dup 3)
(minus:DI (const_int 56) (minus:DI (const_int 64)
(ashift:DI (ashift:DI
(and:DI (plus:DI (match_dup 2) (const_int -1)) (and:DI (match_dup 2) (const_int 7))
(const_int 7))
(const_int 3))))) (const_int 3)))))
(set (subreg:DI (match_operand:QI 0 "register_operand" "") 0) (set (subreg:DI (match_operand:QI 0 "register_operand" "") 0)
(ashiftrt:DI (match_dup 4) (const_int 56)))] (ashiftrt:DI (match_dup 4) (const_int 56)))]
...@@ -1543,10 +1542,9 @@ ...@@ -1543,10 +1542,9 @@
(const_int -8)))) (const_int -8))))
(set (match_dup 4) (set (match_dup 4)
(ashift:DI (match_dup 3) (ashift:DI (match_dup 3)
(minus:DI (const_int 56) (minus:DI (const_int 64)
(ashift:DI (ashift:DI
(and:DI (plus:DI (match_dup 2) (const_int -1)) (and:DI (match_dup 2) (const_int 7))
(const_int 7))
(const_int 3))))) (const_int 3)))))
(set (subreg:DI (match_operand:QI 0 "register_operand" "") 0) (set (subreg:DI (match_operand:QI 0 "register_operand" "") 0)
(ashiftrt:DI (match_dup 4) (const_int 48)))] (ashiftrt:DI (match_dup 4) (const_int 48)))]
...@@ -1603,11 +1601,10 @@ ...@@ -1603,11 +1601,10 @@
[(set (match_operand:DI 0 "register_operand" "=r") [(set (match_operand:DI 0 "register_operand" "=r")
(ashift:DI (ashift:DI
(match_operand:DI 1 "reg_or_0_operand" "rJ") (match_operand:DI 1 "reg_or_0_operand" "rJ")
(minus:DI (const_int 56) (minus:DI (const_int 64)
(ashift:DI (ashift:DI
(and:DI (and:DI
(plus:DI (match_operand:DI 2 "reg_or_8bit_operand" "rI") (match_operand:DI 2 "reg_or_8bit_operand" "rI")
(const_int -1))
(const_int 7)) (const_int 7))
(const_int 3)))))] (const_int 3)))))]
"" ""
...@@ -1619,11 +1616,10 @@ ...@@ -1619,11 +1616,10 @@
(ashift:DI (ashift:DI
(and:DI (match_operand:DI 1 "reg_or_0_operand" "rJ") (and:DI (match_operand:DI 1 "reg_or_0_operand" "rJ")
(const_int 2147483647)) (const_int 2147483647))
(minus:DI (const_int 56) (minus:DI (const_int 64)
(ashift:DI (ashift:DI
(and:DI (and:DI
(plus:DI (match_operand:DI 2 "reg_or_8bit_operand" "rI") (match_operand:DI 2 "reg_or_8bit_operand" "rI")
(const_int -1))
(const_int 7)) (const_int 7))
(const_int 3)))))] (const_int 3)))))]
"" ""
...@@ -1635,11 +1631,10 @@ ...@@ -1635,11 +1631,10 @@
(ashift:DI (ashift:DI
(and:DI (match_operand:DI 1 "reg_or_0_operand" "rJ") (and:DI (match_operand:DI 1 "reg_or_0_operand" "rJ")
(const_int 65535)) (const_int 65535))
(minus:DI (const_int 56) (minus:DI (const_int 64)
(ashift:DI (ashift:DI
(and:DI (and:DI
(plus:DI (match_operand:DI 2 "reg_or_8bit_operand" "rI") (match_operand:DI 2 "reg_or_8bit_operand" "rI")
(const_int -1))
(const_int 7)) (const_int 7))
(const_int 3)))))] (const_int 3)))))]
"" ""
......
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