@@ -330,6 +330,13 @@ mod sealed {
330
330
331
331
impl_vec_trait ! { [ VectorMax vec_max] ~( vmxlb, vmxb, vmxlh, vmxh, vmxlf, vmxf, vmxlg, vmxg) }
332
332
333
+ // FIXME(vector-enhancements-1) test for the `vfmaxsb` etc. instruction
334
+ test_impl ! { vec_vfmaxsb ( a: vector_float, b: vector_float) -> vector_float [ simd_fmax, _] }
335
+ test_impl ! { vec_vfmaxdb ( a: vector_double, b: vector_double) -> vector_double [ simd_fmax, _] }
336
+
337
+ impl_vec_trait ! ( [ VectorMax vec_max] vec_vfmaxsb ( vector_float, vector_float) -> vector_float) ;
338
+ impl_vec_trait ! ( [ VectorMax vec_max] vec_vfmaxdb ( vector_double, vector_double) -> vector_double) ;
339
+
333
340
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
334
341
pub trait VectorMin < Other > {
335
342
type Result ;
@@ -348,6 +355,13 @@ mod sealed {
348
355
349
356
impl_vec_trait ! { [ VectorMin vec_min] ~( vmxlb, vmxb, vmxlh, vmxh, vmxlf, vmxf, vmxlg, vmxg) }
350
357
358
+ // FIXME(vector-enhancements-1) test for the `vfminsb` etc. instruction
359
+ test_impl ! { vec_vfminsb ( a: vector_float, b: vector_float) -> vector_float [ simd_fmin, _] }
360
+ test_impl ! { vec_vfmindb ( a: vector_double, b: vector_double) -> vector_double [ simd_fmin, _] }
361
+
362
+ impl_vec_trait ! ( [ VectorMin vec_min] vec_vfminsb ( vector_float, vector_float) -> vector_float) ;
363
+ impl_vec_trait ! ( [ VectorMin vec_min] vec_vfmindb ( vector_double, vector_double) -> vector_double) ;
364
+
351
365
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
352
366
pub trait VectorAbs {
353
367
unsafe fn vec_abs ( self ) -> Self ;
0 commit comments