re PR target/83850 (Spills on vector extract, gcc.target/i386/pr80846-1.c FAILs)

2018-01-15  Richard Biener  <rguenther@suse.de>

	PR middle-end/83850
	* expmed.c (extract_bit_field_1): Fix typo.

From-SVN: r256700
This commit is contained in:
Richard Biener 2018-01-15 14:43:52 +00:00 committed by Richard Biener
parent fc58f4ae9a
commit e8f3b70ddb
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2018-01-15 Richard Biener <rguenther@suse.de>
PR middle-end/83850
* expmed.c (extract_bit_field_1): Fix typo.
2018-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/83687

View file

@ -1631,7 +1631,7 @@ extract_bit_field_1 (rtx str_rtx, poly_uint64 bitsize, poly_uint64 bitnum,
if (VECTOR_MODE_P (GET_MODE (op0))
&& !MEM_P (op0)
&& VECTOR_MODE_P (tmode)
&& known_eq (bitsize, GET_MODE_SIZE (tmode))
&& known_eq (bitsize, GET_MODE_BITSIZE (tmode))
&& maybe_gt (GET_MODE_SIZE (GET_MODE (op0)), GET_MODE_SIZE (tmode)))
{
machine_mode new_mode = GET_MODE (op0);