2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-09 22:51:29 +08:00

* config/i386/i386-features.c

(general_scalar_chain::compute_convert_gain):
	Correct cost for double-word shifts.
	(general_scalar_to_vector_candidate_p): Reject count operands
	greater or equal to mode bitsize.

From-SVN: r274994
This commit is contained in:
Uros Bizjak 2019-08-28 17:09:51 +02:00 committed by Uros Bizjak
parent b66113e9c1
commit bc4aa158c9
2 changed files with 11 additions and 3 deletions
gcc
ChangeLog
config/i386

@ -1,3 +1,11 @@
2019-08-28 Uroš Bizjak <ubizjak@gmail.com>
* config/i386/i386-features.c
(general_scalar_chain::compute_convert_gain):
Correct cost for double-word shifts.
(general_scalar_to_vector_candidate_p): Reject count operands
greater or equal to mode bitsize.
2019-08-28 Martin Jambor <mjambor@suse.cz>
PR ipa/91468

@ -18617,9 +18617,9 @@ ix86_register_move_cost (machine_mode mode, reg_class_t class1_i,
where integer modes in SSE registers are not tieable
because of missing QImode and HImode moves to, from or between
MMX/SSE registers. */
return MAX (8, SSE_CLASS_P (class1)
? ix86_cost->hard_register.sse_to_integer
: ix86_cost->hard_register.integer_to_sse);
return (SSE_CLASS_P (class1)
? ix86_cost->hard_register.sse_to_integer
: ix86_cost->hard_register.integer_to_sse);
if (MAYBE_FLOAT_CLASS_P (class1))
return ix86_cost->hard_register.fp_move;