@@ -1059,15 +1059,15 @@ pub fn i8x16_add(a: v128, b: v128) -> v128 {
10591059}
10601060
10611061/// Adds two 128-bit vectors as if they were two packed sixteen 8-bit signed
1062- /// integers, saturating on overflow to `i8::max_value() `.
1062+ /// integers, saturating on overflow to `i8::MAX `.
10631063#[ inline]
10641064#[ cfg_attr( test, assert_instr( i8x16. add_saturate_s) ) ]
10651065pub fn i8x16_add_saturate_s ( a : v128 , b : v128 ) -> v128 {
10661066 unsafe { transmute ( llvm_i8x16_add_saturate_s ( a. as_i8x16 ( ) , b. as_i8x16 ( ) ) ) }
10671067}
10681068
10691069/// Adds two 128-bit vectors as if they were two packed sixteen 8-bit unsigned
1070- /// integers, saturating on overflow to `u8::max_value() `.
1070+ /// integers, saturating on overflow to `u8::MAX `.
10711071#[ inline]
10721072#[ cfg_attr( test, assert_instr( i8x16. add_saturate_u) ) ]
10731073pub fn i8x16_add_saturate_u ( a : v128 , b : v128 ) -> v128 {
@@ -1082,7 +1082,7 @@ pub fn i8x16_sub(a: v128, b: v128) -> v128 {
10821082}
10831083
10841084/// Subtracts two 128-bit vectors as if they were two packed sixteen 8-bit
1085- /// signed integers, saturating on overflow to `i8::min_value() `.
1085+ /// signed integers, saturating on overflow to `i8::MIN `.
10861086#[ inline]
10871087#[ cfg_attr( test, assert_instr( i8x16. sub_saturate_s) ) ]
10881088pub fn i8x16_sub_saturate_s ( a : v128 , b : v128 ) -> v128 {
@@ -1169,15 +1169,15 @@ pub fn i16x8_add(a: v128, b: v128) -> v128 {
11691169}
11701170
11711171/// Adds two 128-bit vectors as if they were two packed eight 16-bit signed
1172- /// integers, saturating on overflow to `i16::max_value() `.
1172+ /// integers, saturating on overflow to `i16::MAX `.
11731173#[ inline]
11741174#[ cfg_attr( test, assert_instr( i16x8. add_saturate_s) ) ]
11751175pub fn i16x8_add_saturate_s ( a : v128 , b : v128 ) -> v128 {
11761176 unsafe { transmute ( llvm_i16x8_add_saturate_s ( a. as_i16x8 ( ) , b. as_i16x8 ( ) ) ) }
11771177}
11781178
11791179/// Adds two 128-bit vectors as if they were two packed eight 16-bit unsigned
1180- /// integers, saturating on overflow to `u16::max_value() `.
1180+ /// integers, saturating on overflow to `u16::MAX `.
11811181#[ inline]
11821182#[ cfg_attr( test, assert_instr( i16x8. add_saturate_u) ) ]
11831183pub fn i16x8_add_saturate_u ( a : v128 , b : v128 ) -> v128 {
@@ -1192,7 +1192,7 @@ pub fn i16x8_sub(a: v128, b: v128) -> v128 {
11921192}
11931193
11941194/// Subtracts two 128-bit vectors as if they were two packed eight 16-bit
1195- /// signed integers, saturating on overflow to `i16::min_value() `.
1195+ /// signed integers, saturating on overflow to `i16::MIN `.
11961196#[ inline]
11971197#[ cfg_attr( test, assert_instr( i16x8. sub_saturate_s) ) ]
11981198pub fn i16x8_sub_saturate_s ( a : v128 , b : v128 ) -> v128 {
0 commit comments