re PR rtl-optimization/69896 (wrong code with -frename-registers @ x64_64)

PR rtl-optimization/69896
	* tree-vect-generic.c (get_compute_type): Avoid single element
	vector types.

From-SVN: r233777
This commit is contained in:
Jakub Jelinek 2016-02-27 07:43:20 +01:00 committed by Jakub Jelinek
parent 532638bbc9
commit bd522678f0
2 changed files with 7 additions and 1 deletions

View File

@ -1,10 +1,15 @@
2016-02-27 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/69896
* tree-vect-generic.c (get_compute_type): Avoid single element
vector types.
2016-02-26 Evandro Menezes <e.menezes@samsung.com>
Rename the AArch64 tuning option and related functions to enable the
Newton series for the reciprocal square root to reflect its
approximative characteristic.
gcc/
* config/aarch64/aarch64-protos.h (aarch64_emit_swrsqrt): Rename
function to "aarch64_emit_approx_rsqrt".
* config/aarch64/aarch64-tuning-flags.def: Rename tuning flag to

View File

@ -1405,6 +1405,7 @@ get_compute_type (enum tree_code code, optab op, tree type)
if (vector_compute_type != NULL_TREE
&& (TYPE_VECTOR_SUBPARTS (vector_compute_type)
< TYPE_VECTOR_SUBPARTS (compute_type))
&& TYPE_VECTOR_SUBPARTS (vector_compute_type) > 1
&& (optab_handler (op, TYPE_MODE (vector_compute_type))
!= CODE_FOR_nothing))
compute_type = vector_compute_type;