aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2014-12-10 09:44:46 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2014-12-10 09:44:46 +0100
commitf2864cc4e11bd3a72efbf44b5f77eddd0bdeb37c (patch)
tree901eaded51b19fd85852599ed9b785976e75abcb
parentda57182d07d615f45b637f36007e307436f02d00 (diff)
downloadgcc-f2864cc4e11bd3a72efbf44b5f77eddd0bdeb37c.zip
gcc-f2864cc4e11bd3a72efbf44b5f77eddd0bdeb37c.tar.gz
gcc-f2864cc4e11bd3a72efbf44b5f77eddd0bdeb37c.tar.bz2
sse.md (*mov<mode>_internal, [...]): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
* config/i386/sse.md (*mov<mode>_internal, *avx512f_gatherdi<mode>_2): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode). From-SVN: r218564
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/sse.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1078fab..997e38e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-10 Jakub Jelinek <jakub@redhat.com>
+
+ * config/i386/sse.md (*mov<mode>_internal, *avx512f_gatherdi<mode>_2):
+ Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
+
2014-12-10 Oleg Endo <olegendo@gcc.gnu.org>
PR target/53513
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index cfbe40c..0075fe2 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>mode) < 64 && !TARGET_AVX512VL
+ if (TARGET_AVX512F && <MODE_SIZE> < 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 != <VEC_GATHER_SRCDI>mode)
{
- if (GET_MODE_SIZE (<MODE>mode) != 64)
+ if (<MODE_SIZE> != 64)
return "v<sseintprefix>gatherq<ssemodesuffix>\t{%5, %x0%{%1%}|%t0%{%1%}, %g5}";
else
return "v<sseintprefix>gatherq<ssemodesuffix>\t{%5, %t0%{%1%}|%t0%{%1%}, %g5}";