Commit 0477256c by Stephane Carrez Committed by Stephane Carrez

m68hc11.md ("andqi3"): Accept d as second operand.

	* config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
	("iorqi3"): Likewise.
	("xorqi3"): Likewise.
	("*addhi3"): Fix constraint to avoid reloading in a soft register.
	("*subhi3_sp): Likewise.
	("*subhi3"): Likewise.
	("extendhisi2"): Accept D, X and Y as source operand to avoid
	reload problems.

From-SVN: r44229
parent c4372ef4
2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
("iorqi3"): Likewise.
("xorqi3"): Likewise.
("*addhi3"): Fix constraint to avoid reloading in a soft register.
("*subhi3_sp): Likewise.
("*subhi3"): Likewise.
("extendhisi2"): Accept D, X and Y as source operand to avoid
reload problems.
2001-07-21 Nathan Sidwell <nathan@codesourcery.com> 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
* doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS. * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
......
...@@ -1552,7 +1552,7 @@ ...@@ -1552,7 +1552,7 @@
(define_insn "extendhisi2" (define_insn "extendhisi2"
[(set (match_operand:SI 0 "register_operand" "=D,D,D") [(set (match_operand:SI 0 "register_operand" "=D,D,D")
(sign_extend:SI (match_operand:HI 1 "nonimmediate_operand" "m,!r,0")))] (sign_extend:SI (match_operand:HI 1 "nonimmediate_operand" "m,!r,dA")))]
"" ""
"* "*
{ {
...@@ -2283,7 +2283,7 @@ ...@@ -2283,7 +2283,7 @@
(define_insn "*addhi3" (define_insn "*addhi3"
[(set (match_operand:HI 0 "hard_reg_operand" "=A,d,!A,d*A,!d") [(set (match_operand:HI 0 "hard_reg_operand" "=A,d,!A,d*A,!d")
(plus:HI (match_operand:HI 1 "general_operand" "%0,0,0,0,0") (plus:HI (match_operand:HI 1 "general_operand" "%0,0,0,0,0")
(match_operand:HI 2 "general_operand" "N,i,I,umi*A*d,!*d*w")))] (match_operand:HI 2 "general_operand" "N,i,I,mi*A*d,!u*d*w")))]
"TARGET_M6811" "TARGET_M6811"
"* "*
{ {
...@@ -2621,7 +2621,7 @@ ...@@ -2621,7 +2621,7 @@
(define_insn "*subhi3_sp" (define_insn "*subhi3_sp"
[(set (match_operand:HI 0 "stack_register_operand" "=w,w") [(set (match_operand:HI 0 "stack_register_operand" "=w,w")
(minus:HI (match_operand:HI 1 "register_operand" "0,0") (minus:HI (match_operand:HI 1 "register_operand" "0,0")
(match_operand:HI 2 "general_operand" "uim*d,!*A"))) (match_operand:HI 2 "general_operand" "im*d,!u*A")))
(clobber (match_scratch:HI 3 "=A*d,A*d"))] (clobber (match_scratch:HI 3 "=A*d,A*d"))]
"" ""
"* "*
...@@ -2670,9 +2670,9 @@ ...@@ -2670,9 +2670,9 @@
(define_insn "*subhi3" (define_insn "*subhi3"
[(set (match_operand:HI 0 "register_operand" "=d,*A") [(set (match_operand:HI 0 "register_operand" "=d,*A,d*A")
(minus:HI (match_operand:HI 1 "register_operand" "0,0") (minus:HI (match_operand:HI 1 "register_operand" "0,0,0")
(match_operand:HI 2 "general_operand" "uim*A*d,uim*d*A")))] (match_operand:HI 2 "general_operand" "im*A*d,im*d*A,!u")))]
"" ""
"* "*
{ {
...@@ -3100,7 +3100,7 @@ ...@@ -3100,7 +3100,7 @@
(define_insn "andqi3" (define_insn "andqi3"
[(set (match_operand:QI 0 "register_operand" "=d,!u,d,d,?*A,?*A,!*q") [(set (match_operand:QI 0 "register_operand" "=d,!u,d,d,?*A,?*A,!*q")
(and:QI (match_operand:QI 1 "register_operand" "%0,0,0,0,0,0,0") (and:QI (match_operand:QI 1 "register_operand" "%0,0,0,0,0,0,0")
(match_operand:QI 2 "general_operand" "i,i,!um,?*A,i!um,?*A,i!um*A")))] (match_operand:QI 2 "general_operand" "i,i,!um,?*A,!ium,?*A*d,!ium*A")))]
"" ""
"* "*
{ {
...@@ -3207,7 +3207,7 @@ ...@@ -3207,7 +3207,7 @@
(define_insn "iorqi3" (define_insn "iorqi3"
[(set (match_operand:QI 0 "register_operand" "=d,!u,d,d,?*A,?*A,!*q") [(set (match_operand:QI 0 "register_operand" "=d,!u,d,d,?*A,?*A,!*q")
(ior:QI (match_operand:QI 1 "register_operand" "%0,0,0,0,0,0,0") (ior:QI (match_operand:QI 1 "register_operand" "%0,0,0,0,0,0,0")
(match_operand:QI 2 "general_operand" "i,i,!um,!*A,i!um,!*A,i!um*A")))] (match_operand:QI 2 "general_operand" "i,i,!um,!*A,!ium,?*A*d,!ium*A")))]
"" ""
"* "*
{ {
...@@ -3301,9 +3301,9 @@ ...@@ -3301,9 +3301,9 @@
}") }")
(define_insn "xorqi3" (define_insn "xorqi3"
[(set (match_operand:QI 0 "register_operand" "=d,d,!*u*A,!*u*A,!*q") [(set (match_operand:QI 0 "register_operand" "=d,d,d,?*A,?*A,!*q")
(xor:QI (match_operand:QI 1 "register_operand" "%0,0,0,0,0") (xor:QI (match_operand:QI 1 "register_operand" "%0,0,0,0,0,0")
(match_operand:QI 2 "general_operand" "ium,!*A,ium,!*A,ium*A*u")))] (match_operand:QI 2 "general_operand" "i,!um,!*A,!ium,?*A*d,!ium*A")))]
"" ""
"* "*
{ {
......
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