@@ -4583,7 +4583,7 @@ pub unsafe fn _mm512_mask_loadu_epi16(src: __m512i, k: __mmask32, mem_addr: *con
4583
4583
p = in(reg) mem_addr,
4584
4584
k = in(kreg) k,
4585
4585
dst = inout(zmm_reg) dst,
4586
- options(pure, readonly, nostack)
4586
+ options(pure, readonly, nostack, preserves_flags )
4587
4587
);
4588
4588
dst
4589
4589
}
@@ -4603,7 +4603,7 @@ pub unsafe fn _mm512_maskz_loadu_epi16(k: __mmask32, mem_addr: *const i16) -> __
4603
4603
p = in(reg) mem_addr,
4604
4604
k = in(kreg) k,
4605
4605
dst = out(zmm_reg) dst,
4606
- options(pure, readonly, nostack)
4606
+ options(pure, readonly, nostack, preserves_flags )
4607
4607
);
4608
4608
dst
4609
4609
}
@@ -4623,7 +4623,7 @@ pub unsafe fn _mm512_mask_loadu_epi8(src: __m512i, k: __mmask64, mem_addr: *cons
4623
4623
p = in(reg) mem_addr,
4624
4624
k = in(kreg) k,
4625
4625
dst = inout(zmm_reg) dst,
4626
- options(pure, readonly, nostack)
4626
+ options(pure, readonly, nostack, preserves_flags )
4627
4627
);
4628
4628
dst
4629
4629
}
@@ -4643,7 +4643,7 @@ pub unsafe fn _mm512_maskz_loadu_epi8(k: __mmask64, mem_addr: *const i8) -> __m5
4643
4643
p = in(reg) mem_addr,
4644
4644
k = in(kreg) k,
4645
4645
dst = out(zmm_reg) dst,
4646
- options(pure, readonly, nostack)
4646
+ options(pure, readonly, nostack, preserves_flags )
4647
4647
);
4648
4648
dst
4649
4649
}
@@ -4663,7 +4663,7 @@ pub unsafe fn _mm256_mask_loadu_epi16(src: __m256i, k: __mmask16, mem_addr: *con
4663
4663
p = in(reg) mem_addr,
4664
4664
k = in(kreg) k,
4665
4665
dst = inout(ymm_reg) dst,
4666
- options(pure, readonly, nostack)
4666
+ options(pure, readonly, nostack, preserves_flags )
4667
4667
);
4668
4668
dst
4669
4669
}
@@ -4683,7 +4683,7 @@ pub unsafe fn _mm256_maskz_loadu_epi16(k: __mmask16, mem_addr: *const i16) -> __
4683
4683
p = in(reg) mem_addr,
4684
4684
k = in(kreg) k,
4685
4685
dst = out(ymm_reg) dst,
4686
- options(pure, readonly, nostack)
4686
+ options(pure, readonly, nostack, preserves_flags )
4687
4687
);
4688
4688
dst
4689
4689
}
@@ -4703,7 +4703,7 @@ pub unsafe fn _mm256_mask_loadu_epi8(src: __m256i, k: __mmask32, mem_addr: *cons
4703
4703
p = in(reg) mem_addr,
4704
4704
k = in(kreg) k,
4705
4705
dst = inout(ymm_reg) dst,
4706
- options(pure, readonly, nostack)
4706
+ options(pure, readonly, nostack, preserves_flags )
4707
4707
);
4708
4708
dst
4709
4709
}
@@ -4723,7 +4723,7 @@ pub unsafe fn _mm256_maskz_loadu_epi8(k: __mmask32, mem_addr: *const i8) -> __m2
4723
4723
p = in(reg) mem_addr,
4724
4724
k = in(kreg) k,
4725
4725
dst = out(ymm_reg) dst,
4726
- options(pure, readonly, nostack)
4726
+ options(pure, readonly, nostack, preserves_flags )
4727
4727
);
4728
4728
dst
4729
4729
}
@@ -4743,7 +4743,7 @@ pub unsafe fn _mm_mask_loadu_epi16(src: __m128i, k: __mmask8, mem_addr: *const i
4743
4743
p = in(reg) mem_addr,
4744
4744
k = in(kreg) k,
4745
4745
dst = inout(xmm_reg) dst,
4746
- options(pure, readonly, nostack)
4746
+ options(pure, readonly, nostack, preserves_flags )
4747
4747
);
4748
4748
dst
4749
4749
}
@@ -4763,7 +4763,7 @@ pub unsafe fn _mm_maskz_loadu_epi16(k: __mmask8, mem_addr: *const i16) -> __m128
4763
4763
p = in(reg) mem_addr,
4764
4764
k = in(kreg) k,
4765
4765
dst = out(xmm_reg) dst,
4766
- options(pure, readonly, nostack)
4766
+ options(pure, readonly, nostack, preserves_flags )
4767
4767
);
4768
4768
dst
4769
4769
}
@@ -4783,7 +4783,7 @@ pub unsafe fn _mm_mask_loadu_epi8(src: __m128i, k: __mmask16, mem_addr: *const i
4783
4783
p = in(reg) mem_addr,
4784
4784
k = in(kreg) k,
4785
4785
dst = inout(xmm_reg) dst,
4786
- options(pure, readonly, nostack)
4786
+ options(pure, readonly, nostack, preserves_flags )
4787
4787
);
4788
4788
dst
4789
4789
}
@@ -4803,7 +4803,7 @@ pub unsafe fn _mm_maskz_loadu_epi8(k: __mmask16, mem_addr: *const i8) -> __m128i
4803
4803
p = in(reg) mem_addr,
4804
4804
k = in(kreg) k,
4805
4805
dst = out(xmm_reg) dst,
4806
- options(pure, readonly, nostack)
4806
+ options(pure, readonly, nostack, preserves_flags )
4807
4807
);
4808
4808
dst
4809
4809
}
@@ -4821,7 +4821,7 @@ pub unsafe fn _mm512_mask_storeu_epi16(mem_addr: *mut i16, mask: __mmask32, a: _
4821
4821
p = in(reg) mem_addr,
4822
4822
mask = in(kreg) mask,
4823
4823
a = in(zmm_reg) a,
4824
- options(nostack)
4824
+ options(nostack, preserves_flags )
4825
4825
);
4826
4826
}
4827
4827
@@ -4838,7 +4838,7 @@ pub unsafe fn _mm512_mask_storeu_epi8(mem_addr: *mut i8, mask: __mmask64, a: __m
4838
4838
p = in(reg) mem_addr,
4839
4839
mask = in(kreg) mask,
4840
4840
a = in(zmm_reg) a,
4841
- options(nostack)
4841
+ options(nostack, preserves_flags )
4842
4842
);
4843
4843
}
4844
4844
@@ -4855,7 +4855,7 @@ pub unsafe fn _mm256_mask_storeu_epi16(mem_addr: *mut i16, mask: __mmask16, a: _
4855
4855
p = in(reg) mem_addr,
4856
4856
mask = in(kreg) mask,
4857
4857
a = in(ymm_reg) a,
4858
- options(nostack)
4858
+ options(nostack, preserves_flags )
4859
4859
);
4860
4860
}
4861
4861
@@ -4872,7 +4872,7 @@ pub unsafe fn _mm256_mask_storeu_epi8(mem_addr: *mut i8, mask: __mmask32, a: __m
4872
4872
p = in(reg) mem_addr,
4873
4873
mask = in(kreg) mask,
4874
4874
a = in(ymm_reg) a,
4875
- options(nostack)
4875
+ options(nostack, preserves_flags )
4876
4876
);
4877
4877
}
4878
4878
@@ -4889,7 +4889,7 @@ pub unsafe fn _mm_mask_storeu_epi16(mem_addr: *mut i16, mask: __mmask8, a: __m12
4889
4889
p = in(reg) mem_addr,
4890
4890
mask = in(kreg) mask,
4891
4891
a = in(xmm_reg) a,
4892
- options(nostack)
4892
+ options(nostack, preserves_flags )
4893
4893
);
4894
4894
}
4895
4895
@@ -4906,7 +4906,7 @@ pub unsafe fn _mm_mask_storeu_epi8(mem_addr: *mut i8, mask: __mmask16, a: __m128
4906
4906
p = in(reg) mem_addr,
4907
4907
mask = in(kreg) mask,
4908
4908
a = in(xmm_reg) a,
4909
- options(nostack)
4909
+ options(nostack, preserves_flags )
4910
4910
);
4911
4911
}
4912
4912
@@ -8761,7 +8761,7 @@ pub unsafe fn _mm_mask_testn_epi8_mask(k: __mmask16, a: __m128i, b: __m128i) ->
8761
8761
#[target_feature(enable = "avx512bw")]
8762
8762
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
8763
8763
#[cfg_attr(test, assert_instr(mov))] //should be kmovq
8764
- pub unsafe fn _store_mask64(mem_addr: *mut u64 , a: __mmask64) {
8764
+ pub unsafe fn _store_mask64(mem_addr: *mut __mmask64 , a: __mmask64) {
8765
8765
ptr::write(mem_addr as *mut __mmask64, a);
8766
8766
}
8767
8767
@@ -8772,7 +8772,7 @@ pub unsafe fn _store_mask64(mem_addr: *mut u64, a: __mmask64) {
8772
8772
#[target_feature(enable = "avx512bw")]
8773
8773
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
8774
8774
#[cfg_attr(test, assert_instr(mov))] //should be kmovd
8775
- pub unsafe fn _store_mask32(mem_addr: *mut u32 , a: __mmask32) {
8775
+ pub unsafe fn _store_mask32(mem_addr: *mut __mmask32 , a: __mmask32) {
8776
8776
ptr::write(mem_addr as *mut __mmask32, a);
8777
8777
}
8778
8778
@@ -8783,7 +8783,7 @@ pub unsafe fn _store_mask32(mem_addr: *mut u32, a: __mmask32) {
8783
8783
#[target_feature(enable = "avx512bw")]
8784
8784
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
8785
8785
#[cfg_attr(test, assert_instr(mov))] //should be kmovq
8786
- pub unsafe fn _load_mask64(mem_addr: *const u64 ) -> __mmask64 {
8786
+ pub unsafe fn _load_mask64(mem_addr: *const __mmask64 ) -> __mmask64 {
8787
8787
ptr::read(mem_addr as *const __mmask64)
8788
8788
}
8789
8789
@@ -8794,7 +8794,7 @@ pub unsafe fn _load_mask64(mem_addr: *const u64) -> __mmask64 {
8794
8794
#[target_feature(enable = "avx512bw")]
8795
8795
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
8796
8796
#[cfg_attr(test, assert_instr(mov))] //should be kmovd
8797
- pub unsafe fn _load_mask32(mem_addr: *const u32 ) -> __mmask32 {
8797
+ pub unsafe fn _load_mask32(mem_addr: *const __mmask32 ) -> __mmask32 {
8798
8798
ptr::read(mem_addr as *const __mmask32)
8799
8799
}
8800
8800
0 commit comments