From: Jakub Jelinek Date: Wed, 10 Dec 2014 08:44:46 +0000 (+0100) Subject: sse.md (*mov_internal, [...]): Use instead of GET_MODE_SIZE (_internal, [...]): Use instead of GET_MODE_SIZE (mode). * config/i386/sse.md (*mov_internal, *avx512f_gatherdi_2): Use instead of GET_MODE_SIZE (mode). From-SVN: r218564 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1078fabf32c..997e38e80de 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-10 Jakub Jelinek + + * config/i386/sse.md (*mov_internal, *avx512f_gatherdi_2): + Use instead of GET_MODE_SIZE (mode). + 2014-12-10 Oleg Endo PR target/53513 diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index cfbe40cd6dc..0075fe224cd 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -811,7 +811,7 @@ /* There is no evex-encoded vmov* for sizes smaller than 64-bytes in avx512f, so we need to use workarounds, to access sse registers 16-31, which are evex-only. In avx512vl we don't need workarounds. */ - if (TARGET_AVX512F && GET_MODE_SIZE (mode) < 64 && !TARGET_AVX512VL + if (TARGET_AVX512F && < 64 && !TARGET_AVX512VL && ((REG_P (operands[0]) && EXT_REX_SSE_REGNO_P (REGNO (operands[0]))) || (REG_P (operands[1]) && EXT_REX_SSE_REGNO_P (REGNO (operands[1]))))) { @@ -18208,7 +18208,7 @@ { if (mode != mode) { - if (GET_MODE_SIZE (mode) != 64) + if ( != 64) return "vgatherq\t{%5, %x0%{%1%}|%t0%{%1%}, %g5}"; else return "vgatherq\t{%5, %t0%{%1%}|%t0%{%1%}, %g5}";