Extend pass rpad to handle avx512f vcvtusi2ss vcvtusi2ss
538.imagick_r improved by 4% with single copy run on SKYLAKE workstation.
gcc/
* config/i386/i386.md
(*floatuns<SWI48:mode><MODEF:mode>2_avx512):
Add avx_partial_xmm_update.
gcc/testsuie
* gcc.target/i386/pr87007-3.c: New test.
From-SVN: r275926
+2019-09-19 Hongtao Liu <hongtao.liu@intel.com>
+
+ PR target/87007
+ * config/i386.md (*floatuns<SWI48:mode><MODEF:mode>2_avx512):
+ Add avx_partial_xmm_update.
+
2019-09-18 Jim Wilson <jimw@sifive.com>
PR target/91683
"TARGET_AVX512F && TARGET_SSE_MATH"
"vcvtusi2<MODEF:ssemodesuffix><SWI48:rex64suffix>\t{%1, %0, %0|%0, %0, %1}"
[(set_attr "type" "sseicvt")
+ (set_attr "avx_partial_xmm_update" "true")
(set_attr "prefix" "evex")
(set_attr "mode" "<MODEF:MODE>")])
+2019-09-19 Hongtao Liu <hongtao.liu@intel.com>
+
+ PR target/87007
+ * gcc.target/i386/pr87007-3.c: New test.
+
2019-09-18 H.J. Lu <hongjiu.lu@intel.com>
PR target/90878
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O2 -march=skylake-avx512 -mfpmath=sse" } */
+
+extern float f;
+extern double d;
+extern unsigned char c;
+
+void
+foo (int n, int k)
+{
+ for (int i = 0; i != n; i++)
+ if(i < k)
+ d = c;
+ else
+ f = c;
+}
+
+/* { dg-final { scan-assembler-times "vxorps\[^\n\r\]*xmm\[0-9\]" 1 } } */