Commit 41ee4e75 by Jan Hubicka Committed by Jan Hubicka

* x86-tune.def: Enable inter_unit_moves_to_vec for generic.

From-SVN: r267484
parent 80c2bad6
2018-12-30 Jan Hubicka <hubicka@ucw.cz>
* x86-tune.def: Enable inter_unit_moves_to_vec for generic.
2018-12-30 Martin Sebor <msebor@redhat.com> 2018-12-30 Martin Sebor <msebor@redhat.com>
Jeff Law <law@redhat.com> Jeff Law <law@redhat.com>
...@@ -379,9 +379,13 @@ DEF_TUNE (X86_TUNE_SSE_LOAD0_BY_PXOR, "sse_load0_by_pxor", ...@@ -379,9 +379,13 @@ DEF_TUNE (X86_TUNE_SSE_LOAD0_BY_PXOR, "sse_load0_by_pxor",
/* X86_TUNE_INTER_UNIT_MOVES_TO_VEC: Enable moves in from integer /* X86_TUNE_INTER_UNIT_MOVES_TO_VEC: Enable moves in from integer
to SSE registers. If disabled, the moves will be done by storing to SSE registers. If disabled, the moves will be done by storing
the value to memory and reloading. */ the value to memory and reloading.
Enable this flag for generic - the only relevant architecture preferring
no inter-unit moves is Buldozer. While this makes small regression on SPECfp
scores (sub 0.3%), disabling inter-unit moves penalizes noticeably hand
written vectorized code which use i.e. _mm_set_epi16. */
DEF_TUNE (X86_TUNE_INTER_UNIT_MOVES_TO_VEC, "inter_unit_moves_to_vec", DEF_TUNE (X86_TUNE_INTER_UNIT_MOVES_TO_VEC, "inter_unit_moves_to_vec",
~(m_ATHLON_K8 | m_AMDFAM10 | m_BDVER | m_BTVER | m_GENERIC)) ~(m_ATHLON_K8 | m_AMDFAM10 | m_BDVER | m_BTVER))
/* X86_TUNE_INTER_UNIT_MOVES_TO_VEC: Enable moves in from SSE /* X86_TUNE_INTER_UNIT_MOVES_TO_VEC: Enable moves in from SSE
to integer registers. If disabled, the moves will be done by storing to integer registers. If disabled, the moves will be done by storing
......
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