Commit 6620997b by Kazu Hirata Committed by Kazu Hirata

h8300.c (bit_operand): Accept MEM only if it satisfies EXTRA_CONSTRAINT 'U'.

	* config/h8300/h8300.c (bit_operand): Accept MEM only if it
	satisfies EXTRA_CONSTRAINT 'U'.

From-SVN: r63611
parent 82b4dc2e
2003-03-01 Kazu Hirata <kazu@cs.umass.edu> 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (bit_operand): Accept MEM only if it
satisfies EXTRA_CONSTRAINT 'U'.
2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch
register. register.
(*tst_extzv_memqi_1_n): Change to a splitter. (*tst_extzv_memqi_1_n): Change to a splitter.
......
...@@ -980,12 +980,8 @@ bit_operand (op, mode) ...@@ -980,12 +980,8 @@ bit_operand (op, mode)
return 1; return 1;
if (GET_CODE (op) == SUBREG) if (GET_CODE (op) == SUBREG)
return 1; return 1;
if (!rtx_equal_function_value_matters) return (GET_CODE (op) == MEM
/* We're building rtl. */ && EXTRA_CONSTRAINT (op, 'U'));
return GET_CODE (op) == MEM;
else
return (GET_CODE (op) == MEM
&& EXTRA_CONSTRAINT (op, 'U'));
} }
int int
......
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