@@ -823,111 +823,99 @@ pub fn vaddvq_u64(a: uint64x2_t) -> u64 {
823
823
}
824
824
#[doc = "Multi-vector floating-point absolute maximum"]
825
825
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vamax_f32)"]
826
- #[doc = "## Safety"]
827
- #[doc = " * Neon instrinsic unsafe"]
828
826
#[inline]
829
827
#[target_feature(enable = "neon,faminmax")]
830
828
#[cfg_attr(test, assert_instr(nop))]
831
829
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
832
- pub unsafe fn vamax_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
830
+ pub fn vamax_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
833
831
unsafe extern "unadjusted" {
834
832
#[cfg_attr(
835
833
any(target_arch = "aarch64", target_arch = "arm64ec"),
836
834
link_name = "llvm.aarch64.neon.famax.v2f32"
837
835
)]
838
836
fn _vamax_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t;
839
837
}
840
- _vamax_f32(a, b)
838
+ unsafe { _vamax_f32(a, b) }
841
839
}
842
840
#[doc = "Multi-vector floating-point absolute maximum"]
843
841
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vamaxq_f32)"]
844
- #[doc = "## Safety"]
845
- #[doc = " * Neon instrinsic unsafe"]
846
842
#[inline]
847
843
#[target_feature(enable = "neon,faminmax")]
848
844
#[cfg_attr(test, assert_instr(nop))]
849
845
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
850
- pub unsafe fn vamaxq_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t {
846
+ pub fn vamaxq_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t {
851
847
unsafe extern "unadjusted" {
852
848
#[cfg_attr(
853
849
any(target_arch = "aarch64", target_arch = "arm64ec"),
854
850
link_name = "llvm.aarch64.neon.famax.v4f32"
855
851
)]
856
852
fn _vamaxq_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t;
857
853
}
858
- _vamaxq_f32(a, b)
854
+ unsafe { _vamaxq_f32(a, b) }
859
855
}
860
856
#[doc = "Multi-vector floating-point absolute maximum"]
861
857
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vamaxq_f64)"]
862
- #[doc = "## Safety"]
863
- #[doc = " * Neon instrinsic unsafe"]
864
858
#[inline]
865
859
#[target_feature(enable = "neon,faminmax")]
866
860
#[cfg_attr(test, assert_instr(nop))]
867
861
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
868
- pub unsafe fn vamaxq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t {
862
+ pub fn vamaxq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t {
869
863
unsafe extern "unadjusted" {
870
864
#[cfg_attr(
871
865
any(target_arch = "aarch64", target_arch = "arm64ec"),
872
866
link_name = "llvm.aarch64.neon.famax.v2f64"
873
867
)]
874
868
fn _vamaxq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t;
875
869
}
876
- _vamaxq_f64(a, b)
870
+ unsafe { _vamaxq_f64(a, b) }
877
871
}
878
872
#[doc = "Multi-vector floating-point absolute minimum"]
879
873
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vamin_f32)"]
880
- #[doc = "## Safety"]
881
- #[doc = " * Neon instrinsic unsafe"]
882
874
#[inline]
883
875
#[target_feature(enable = "neon,faminmax")]
884
876
#[cfg_attr(test, assert_instr(nop))]
885
877
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
886
- pub unsafe fn vamin_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
878
+ pub fn vamin_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t {
887
879
unsafe extern "unadjusted" {
888
880
#[cfg_attr(
889
881
any(target_arch = "aarch64", target_arch = "arm64ec"),
890
882
link_name = "llvm.aarch64.neon.famin.v2f32"
891
883
)]
892
884
fn _vamin_f32(a: float32x2_t, b: float32x2_t) -> float32x2_t;
893
885
}
894
- _vamin_f32(a, b)
886
+ unsafe { _vamin_f32(a, b) }
895
887
}
896
888
#[doc = "Multi-vector floating-point absolute minimum"]
897
889
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaminq_f32)"]
898
- #[doc = "## Safety"]
899
- #[doc = " * Neon instrinsic unsafe"]
900
890
#[inline]
901
891
#[target_feature(enable = "neon,faminmax")]
902
892
#[cfg_attr(test, assert_instr(nop))]
903
893
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
904
- pub unsafe fn vaminq_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t {
894
+ pub fn vaminq_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t {
905
895
unsafe extern "unadjusted" {
906
896
#[cfg_attr(
907
897
any(target_arch = "aarch64", target_arch = "arm64ec"),
908
898
link_name = "llvm.aarch64.neon.famin.v4f32"
909
899
)]
910
900
fn _vaminq_f32(a: float32x4_t, b: float32x4_t) -> float32x4_t;
911
901
}
912
- _vaminq_f32(a, b)
902
+ unsafe { _vaminq_f32(a, b) }
913
903
}
914
904
#[doc = "Multi-vector floating-point absolute minimum"]
915
905
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaminq_f64)"]
916
- #[doc = "## Safety"]
917
- #[doc = " * Neon instrinsic unsafe"]
918
906
#[inline]
919
907
#[target_feature(enable = "neon,faminmax")]
920
908
#[cfg_attr(test, assert_instr(nop))]
921
909
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
922
- pub unsafe fn vaminq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t {
910
+ pub fn vaminq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t {
923
911
unsafe extern "unadjusted" {
924
912
#[cfg_attr(
925
913
any(target_arch = "aarch64", target_arch = "arm64ec"),
926
914
link_name = "llvm.aarch64.neon.famin.v2f64"
927
915
)]
928
916
fn _vaminq_f64(a: float64x2_t, b: float64x2_t) -> float64x2_t;
929
917
}
930
- _vaminq_f64(a, b)
918
+ unsafe { _vaminq_f64(a, b) }
931
919
}
932
920
#[doc = "Bit clear and exclusive OR"]
933
921
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vbcaxq_s8)"]
0 commit comments