@@ -1059,15 +1059,15 @@ pub fn i8x16_add(a: v128, b: v128) -> v128 {
1059
1059
}
1060
1060
1061
1061
/// 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 `.
1063
1063
#[ inline]
1064
1064
#[ cfg_attr( test, assert_instr( i8x16. add_saturate_s) ) ]
1065
1065
pub fn i8x16_add_saturate_s ( a : v128 , b : v128 ) -> v128 {
1066
1066
unsafe { transmute ( llvm_i8x16_add_saturate_s ( a. as_i8x16 ( ) , b. as_i8x16 ( ) ) ) }
1067
1067
}
1068
1068
1069
1069
/// 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 `.
1071
1071
#[ inline]
1072
1072
#[ cfg_attr( test, assert_instr( i8x16. add_saturate_u) ) ]
1073
1073
pub fn i8x16_add_saturate_u ( a : v128 , b : v128 ) -> v128 {
@@ -1082,7 +1082,7 @@ pub fn i8x16_sub(a: v128, b: v128) -> v128 {
1082
1082
}
1083
1083
1084
1084
/// 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 `.
1086
1086
#[ inline]
1087
1087
#[ cfg_attr( test, assert_instr( i8x16. sub_saturate_s) ) ]
1088
1088
pub fn i8x16_sub_saturate_s ( a : v128 , b : v128 ) -> v128 {
@@ -1169,15 +1169,15 @@ pub fn i16x8_add(a: v128, b: v128) -> v128 {
1169
1169
}
1170
1170
1171
1171
/// 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 `.
1173
1173
#[ inline]
1174
1174
#[ cfg_attr( test, assert_instr( i16x8. add_saturate_s) ) ]
1175
1175
pub fn i16x8_add_saturate_s ( a : v128 , b : v128 ) -> v128 {
1176
1176
unsafe { transmute ( llvm_i16x8_add_saturate_s ( a. as_i16x8 ( ) , b. as_i16x8 ( ) ) ) }
1177
1177
}
1178
1178
1179
1179
/// 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 `.
1181
1181
#[ inline]
1182
1182
#[ cfg_attr( test, assert_instr( i16x8. add_saturate_u) ) ]
1183
1183
pub fn i16x8_add_saturate_u ( a : v128 , b : v128 ) -> v128 {
@@ -1192,7 +1192,7 @@ pub fn i16x8_sub(a: v128, b: v128) -> v128 {
1192
1192
}
1193
1193
1194
1194
/// 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 `.
1196
1196
#[ inline]
1197
1197
#[ cfg_attr( test, assert_instr( i16x8. sub_saturate_s) ) ]
1198
1198
pub fn i16x8_sub_saturate_s ( a : v128 , b : v128 ) -> v128 {
0 commit comments