2016-07-26 Richard Biener <rguenther@suse.de>
PR middle-end/72517
* expmed.c (extract_bit_field_1): Constrain the vector mode
with element size matching the extraction mode size when
choosing a better vector mode to do the extraction from.
From-SVN: r238756
+2016-07-26 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/72517
+ * expmed.c (extract_bit_field_1): Constrain the vector mode
+ with element size matching the extraction mode size when
+ choosing a better vector mode to do the extraction from.
+
2016-07-26 Richard Biener <rguenther@suse.de>
Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
for (; new_mode != VOIDmode ; new_mode = GET_MODE_WIDER_MODE (new_mode))
if (GET_MODE_SIZE (new_mode) == GET_MODE_SIZE (GET_MODE (op0))
+ && GET_MODE_UNIT_SIZE (new_mode) == GET_MODE_SIZE (tmode)
&& targetm.vector_mode_supported_p (new_mode))
break;
if (new_mode != VOIDmode)