Commit 0c7800b2 by Uros Bizjak Committed by Uros Bizjak

re PR target/32413 (internal compiler error: in reload_cse_simplify_operands, at postreload.c:396)

	PR target/32413
	* config/i386/i386.c (inline_secondary_memory_needed): Return true
	for QI and HImode moves between SSE and general registers.

From-SVN: r275377
parent 68e2c199
2019-09-04 Uroš Bizjak <ubizjak@gmail.com>
PR target/32413
* config/i386/i386.c (inline_secondary_memory_needed): Return true
for QI and HImode moves between SSE and general registers.
2019-09-04 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> 2019-09-04 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
PR c/78736 PR c/78736
......
...@@ -18328,6 +18328,7 @@ inline_secondary_memory_needed (machine_mode mode, reg_class_t class1, ...@@ -18328,6 +18328,7 @@ inline_secondary_memory_needed (machine_mode mode, reg_class_t class1,
/* Between SSE and general, we have moves no larger than word size. */ /* Between SSE and general, we have moves no larger than word size. */
if (!(INTEGER_CLASS_P (class1) || INTEGER_CLASS_P (class2)) if (!(INTEGER_CLASS_P (class1) || INTEGER_CLASS_P (class2))
|| GET_MODE_SIZE (mode) < GET_MODE_SIZE (SImode)
|| GET_MODE_SIZE (mode) > UNITS_PER_WORD) || GET_MODE_SIZE (mode) > UNITS_PER_WORD)
return true; return true;
......
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