From 786d6092335c35f24756c3375b263d3acebc6f02 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 1 Jul 1999 13:54:41 -0700 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/alpha/alpha.md | 25 ++++++++++--------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 37b265bdb69..0220cbe0c41 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 1 20:54:10 1999 Richard Henderson + + * 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 * c-lex.c (yylex): Improve 'integer constant out of range' messages. diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 6d075e99904..9740d6917b8 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -1522,10 +1522,9 @@ (const_int -8)))) (set (match_dup 4) (ashift:DI (match_dup 3) - (minus:DI (const_int 56) + (minus:DI (const_int 64) (ashift:DI - (and:DI (plus:DI (match_dup 2) (const_int -1)) - (const_int 7)) + (and:DI (match_dup 2) (const_int 7)) (const_int 3))))) (set (subreg:DI (match_operand:QI 0 "register_operand" "") 0) (ashiftrt:DI (match_dup 4) (const_int 56)))] @@ -1543,10 +1542,9 @@ (const_int -8)))) (set (match_dup 4) (ashift:DI (match_dup 3) - (minus:DI (const_int 56) + (minus:DI (const_int 64) (ashift:DI - (and:DI (plus:DI (match_dup 2) (const_int -1)) - (const_int 7)) + (and:DI (match_dup 2) (const_int 7)) (const_int 3))))) (set (subreg:DI (match_operand:QI 0 "register_operand" "") 0) (ashiftrt:DI (match_dup 4) (const_int 48)))] @@ -1603,11 +1601,10 @@ [(set (match_operand:DI 0 "register_operand" "=r") (ashift:DI (match_operand:DI 1 "reg_or_0_operand" "rJ") - (minus:DI (const_int 56) + (minus:DI (const_int 64) (ashift:DI (and:DI - (plus:DI (match_operand:DI 2 "reg_or_8bit_operand" "rI") - (const_int -1)) + (match_operand:DI 2 "reg_or_8bit_operand" "rI") (const_int 7)) (const_int 3)))))] "" @@ -1619,11 +1616,10 @@ (ashift:DI (and:DI (match_operand:DI 1 "reg_or_0_operand" "rJ") (const_int 2147483647)) - (minus:DI (const_int 56) + (minus:DI (const_int 64) (ashift:DI (and:DI - (plus:DI (match_operand:DI 2 "reg_or_8bit_operand" "rI") - (const_int -1)) + (match_operand:DI 2 "reg_or_8bit_operand" "rI") (const_int 7)) (const_int 3)))))] "" @@ -1635,11 +1631,10 @@ (ashift:DI (and:DI (match_operand:DI 1 "reg_or_0_operand" "rJ") (const_int 65535)) - (minus:DI (const_int 56) + (minus:DI (const_int 64) (ashift:DI (and:DI - (plus:DI (match_operand:DI 2 "reg_or_8bit_operand" "rI") - (const_int -1)) + (match_operand:DI 2 "reg_or_8bit_operand" "rI") (const_int 7)) (const_int 3)))))] "" -- 2.30.2