Commit bd522678 by Jakub Jelinek Committed by Jakub Jelinek

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
parent 532638bb
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> 2016-02-26 Evandro Menezes <e.menezes@samsung.com>
Rename the AArch64 tuning option and related functions to enable the Rename the AArch64 tuning option and related functions to enable the
Newton series for the reciprocal square root to reflect its Newton series for the reciprocal square root to reflect its
approximative characteristic. approximative characteristic.
gcc/
* config/aarch64/aarch64-protos.h (aarch64_emit_swrsqrt): Rename * config/aarch64/aarch64-protos.h (aarch64_emit_swrsqrt): Rename
function to "aarch64_emit_approx_rsqrt". function to "aarch64_emit_approx_rsqrt".
* config/aarch64/aarch64-tuning-flags.def: Rename tuning flag to * config/aarch64/aarch64-tuning-flags.def: Rename tuning flag to
......
...@@ -1405,6 +1405,7 @@ get_compute_type (enum tree_code code, optab op, tree type) ...@@ -1405,6 +1405,7 @@ get_compute_type (enum tree_code code, optab op, tree type)
if (vector_compute_type != NULL_TREE if (vector_compute_type != NULL_TREE
&& (TYPE_VECTOR_SUBPARTS (vector_compute_type) && (TYPE_VECTOR_SUBPARTS (vector_compute_type)
< TYPE_VECTOR_SUBPARTS (compute_type)) < TYPE_VECTOR_SUBPARTS (compute_type))
&& TYPE_VECTOR_SUBPARTS (vector_compute_type) > 1
&& (optab_handler (op, TYPE_MODE (vector_compute_type)) && (optab_handler (op, TYPE_MODE (vector_compute_type))
!= CODE_FOR_nothing)) != CODE_FOR_nothing))
compute_type = vector_compute_type; compute_type = vector_compute_type;
......
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