return (__m512i)(__v8di){ 0, 0, 0, 0, 0, 0, 0, 0 };
}
+#define _mm512_setzero_epi32 _mm512_setzero_si512
+
static __inline__ __m512d __DEFAULT_FN_ATTRS
_mm512_undefined_pd()
{
return (__m512){ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
}
+
+#define _mm512_setzero _mm512_setzero_ps
+
static __inline __m512d __DEFAULT_FN_ATTRS
_mm512_setzero_pd(void)
{
return _mm_maskz_cvtsd_ss(__U, __A, __B);
}
+
+__m512i test_mm512_setzero_epi32()
+{
+ // CHECK-LABEL: @test_mm512_setzero_epi32
+ // CHECK: zeroinitializer
+ return _mm512_setzero_epi32();
+}
+
+__m512i test_mm512_setzero()
+{
+ // CHECK-LABEL: @test_mm512_setzero
+ // CHECK: zeroinitializer
+ return _mm512_setzero();
+}
+
+__m512i test_mm512_setzero_si512()
+{
+ // CHECK-LABEL: @test_mm512_setzero_si512
+ // CHECK: zeroinitializer
+ return _mm512_setzero_si512();
+}
+
+__m512i test_mm512_setzero_ps()
+{
+ // CHECK-LABEL: @test_mm512_setzero_ps
+ // CHECK: zeroinitializer
+ return _mm512_setzero_ps();
+}
+
+__m512d test_mm512_setzero_pd()
+{
+ // CHECK-LABEL: @test_mm512_setzero_pd
+ // CHECK: zeroinitializer
+ return _mm512_setzero_pd();
+}
\ No newline at end of file