This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]