Skip to content
Snippets Groups Projects
Commit bc48456d authored by Jeff Law's avatar Jeff Law
Browse files

Fix pr20601-1.c on the H8

gcc/
	* config/h8300/testcompare.md (tst_extzv_1_n): Do not accept constants
	for the primary input operand.
	(tstsi_variable_bit_qi): Similarly.
parent bf40f0ba
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
(match_operand 1 "const_int_operand" "n,n,n")) (match_operand 1 "const_int_operand" "n,n,n"))
(const_int 0))) (const_int 0)))
(clobber (match_scratch:QI 2 "=X,X,&r"))] (clobber (match_scratch:QI 2 "=X,X,&r"))]
"" "!CONSTANT_P (operands[0])"
"@ "@
btst\\t%Z1,%Y0 btst\\t%Z1,%Y0
btst\\t%Z1,%Y0 btst\\t%Z1,%Y0
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
(const_int 7))) (const_int 7)))
(const_int 0))) (const_int 0)))
(clobber (match_scratch:QI 2 "=X,X,&r"))] (clobber (match_scratch:QI 2 "=X,X,&r"))]
"" "!CONSTANT_P (operands[0])"
"@ "@
btst\\t%w1,%X0 btst\\t%w1,%X0
btst\\t%w1,%X0 btst\\t%w1,%X0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment