This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[3.3] apply m68k fix for high priority report to 3.3 branch
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: mark at codesourcery dot com, Jan Hubicka <jh at suse dot cz>
- Date: Tue, 25 Feb 2003 07:54:43 +0100
- Subject: [3.3] apply m68k fix for high priority report to 3.3 branch
Please apply this patch to the 3.3 branch as well:
http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00330.html
Tue Jan 7 18:30:35 CET 2003 Jan Hubicka <jh at suse dot cz>
PR target/8343
* m68k.md (umulsidi, mulsidi expanders): Use register operand.
*** gcc/config/m68k/m68k.md.old Tue Jan 7 18:29:00 2003
--- gcc/config/m68k/m68k.md Tue Jan 7 18:30:24 2003
***************
*** 3122,3128 ****
[(parallel
[(set (subreg:SI (match_operand:DI 0 "register_operand" "") 4)
(mult:SI (match_operand:SI 1 "register_operand" "")
! (match_operand:SI 2 "nonimmediate_operand" "")))
(set (subreg:SI (match_dup 0) 0)
(truncate:SI (lshiftrt:DI (mult:DI (zero_extend:DI (match_dup 1))
(zero_extend:DI (match_dup 2)))
--- 3122,3128 ----
[(parallel
[(set (subreg:SI (match_operand:DI 0 "register_operand" "") 4)
(mult:SI (match_operand:SI 1 "register_operand" "")
! (match_operand:SI 2 "register_operand" "")))
(set (subreg:SI (match_dup 0) 0)
(truncate:SI (lshiftrt:DI (mult:DI (zero_extend:DI (match_dup 1))
(zero_extend:DI (match_dup 2)))
***************
*** 3161,3167 ****
[(parallel
[(set (subreg:SI (match_operand:DI 0 "register_operand" "") 4)
(mult:SI (match_operand:SI 1 "register_operand" "")
! (match_operand:SI 2 "nonimmediate_operand" "")))
(set (subreg:SI (match_dup 0) 0)
(truncate:SI (lshiftrt:DI (mult:DI (sign_extend:DI (match_dup 1))
(sign_extend:DI (match_dup 2)))
--- 3161,3167 ----
[(parallel
[(set (subreg:SI (match_operand:DI 0 "register_operand" "") 4)
(mult:SI (match_operand:SI 1 "register_operand" "")
! (match_operand:SI 2 "register_operand" "")))
(set (subreg:SI (match_dup 0) 0)
(truncate:SI (lshiftrt:DI (mult:DI (sign_extend:DI (match_dup 1))
(sign_extend:DI (match_dup 2)))