Skip to content

Commit 55c5cb9

Browse files
pogo59chencha3
authored andcommitted
[X86][Headers] change 'yields' to 'returns' in more places
1 parent e6b2f26 commit 55c5cb9

File tree

3 files changed

+30
-30
lines changed

3 files changed

+30
-30
lines changed

clang/lib/Headers/mmintrin.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ _mm_xor_si64(__m64 __m1, __m64 __m2)
11411141
/// [8 x i8] to determine if the element of the first vector is equal to the
11421142
/// corresponding element of the second vector.
11431143
///
1144-
/// The comparison yields 0 for false, 0xFF for true.
1144+
/// Each comparison returns 0 for false, 0xFF for true.
11451145
///
11461146
/// \headerfile <x86intrin.h>
11471147
///
@@ -1163,7 +1163,7 @@ _mm_cmpeq_pi8(__m64 __m1, __m64 __m2)
11631163
/// [4 x i16] to determine if the element of the first vector is equal to the
11641164
/// corresponding element of the second vector.
11651165
///
1166-
/// The comparison yields 0 for false, 0xFFFF for true.
1166+
/// Each comparison returns 0 for false, 0xFFFF for true.
11671167
///
11681168
/// \headerfile <x86intrin.h>
11691169
///
@@ -1185,7 +1185,7 @@ _mm_cmpeq_pi16(__m64 __m1, __m64 __m2)
11851185
/// [2 x i32] to determine if the element of the first vector is equal to the
11861186
/// corresponding element of the second vector.
11871187
///
1188-
/// The comparison yields 0 for false, 0xFFFFFFFF for true.
1188+
/// Each comparison returns 0 for false, 0xFFFFFFFF for true.
11891189
///
11901190
/// \headerfile <x86intrin.h>
11911191
///
@@ -1207,7 +1207,7 @@ _mm_cmpeq_pi32(__m64 __m1, __m64 __m2)
12071207
/// [8 x i8] to determine if the element of the first vector is greater than
12081208
/// the corresponding element of the second vector.
12091209
///
1210-
/// The comparison yields 0 for false, 0xFF for true.
1210+
/// Each comparison returns 0 for false, 0xFF for true.
12111211
///
12121212
/// \headerfile <x86intrin.h>
12131213
///
@@ -1229,7 +1229,7 @@ _mm_cmpgt_pi8(__m64 __m1, __m64 __m2)
12291229
/// [4 x i16] to determine if the element of the first vector is greater than
12301230
/// the corresponding element of the second vector.
12311231
///
1232-
/// The comparison yields 0 for false, 0xFFFF for true.
1232+
/// Each comparison returns 0 for false, 0xFFFF for true.
12331233
///
12341234
/// \headerfile <x86intrin.h>
12351235
///
@@ -1251,7 +1251,7 @@ _mm_cmpgt_pi16(__m64 __m1, __m64 __m2)
12511251
/// [2 x i32] to determine if the element of the first vector is greater than
12521252
/// the corresponding element of the second vector.
12531253
///
1254-
/// The comparison yields 0 for false, 0xFFFFFFFF for true.
1254+
/// Each comparison returns 0 for false, 0xFFFFFFFF for true.
12551255
///
12561256
/// \headerfile <x86intrin.h>
12571257
///

clang/lib/Headers/smmintrin.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ static __inline__ int __DEFAULT_FN_ATTRS _mm_testnzc_si128(__m128i __M,
11881188
/// Compares each of the corresponding 64-bit values of the 128-bit
11891189
/// integer vectors for equality.
11901190
///
1191-
/// Each comparison yields 0x0 for false, 0xFFFFFFFFFFFFFFFF for true.
1191+
/// Each comparison returns 0x0 for false, 0xFFFFFFFFFFFFFFFF for true.
11921192
///
11931193
/// \headerfile <x86intrin.h>
11941194
///
@@ -2303,7 +2303,7 @@ static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_minpos_epu16(__m128i __V) {
23032303
/// integer vectors to determine if the values in the first operand are
23042304
/// greater than those in the second operand.
23052305
///
2306-
/// Each comparison yields 0x0 for false, 0xFFFFFFFFFFFFFFFF for true.
2306+
/// Each comparison returns 0x0 for false, 0xFFFFFFFFFFFFFFFF for true.
23072307
///
23082308
/// \headerfile <x86intrin.h>
23092309
///

clang/lib/Headers/xmmintrin.h

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ _mm_xor_ps(__m128 __a, __m128 __b)
484484
/// Compares two 32-bit float values in the low-order bits of both
485485
/// operands for equality.
486486
///
487-
/// The comparison yields 0x0 for false, 0xFFFFFFFF for true, in the
487+
/// The comparison returns 0x0 for false, 0xFFFFFFFF for true, in the
488488
/// low-order bits of a vector [4 x float].
489489
/// If either value in a comparison is NaN, returns false.
490490
///
@@ -509,7 +509,7 @@ _mm_cmpeq_ss(__m128 __a, __m128 __b)
509509
/// Compares each of the corresponding 32-bit float values of the
510510
/// 128-bit vectors of [4 x float] for equality.
511511
///
512-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true.
512+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
513513
/// If either value in a comparison is NaN, returns false.
514514
///
515515
/// \headerfile <x86intrin.h>
@@ -531,7 +531,7 @@ _mm_cmpeq_ps(__m128 __a, __m128 __b)
531531
/// operands to determine if the value in the first operand is less than the
532532
/// corresponding value in the second operand.
533533
///
534-
/// The comparison yields 0x0 for false, 0xFFFFFFFF for true, in the
534+
/// The comparison returns 0x0 for false, 0xFFFFFFFF for true, in the
535535
/// low-order bits of a vector of [4 x float].
536536
/// If either value in a comparison is NaN, returns false.
537537
///
@@ -557,7 +557,7 @@ _mm_cmplt_ss(__m128 __a, __m128 __b)
557557
/// 128-bit vectors of [4 x float] to determine if the values in the first
558558
/// operand are less than those in the second operand.
559559
///
560-
/// Each comparison yields 0x0 for false, 0xFFFFFFFFFFFFFFFF for true.
560+
/// Each comparison returns 0x0 for false, 0xFFFFFFFFFFFFFFFF for true.
561561
/// If either value in a comparison is NaN, returns false.
562562
///
563563
/// \headerfile <x86intrin.h>
@@ -579,7 +579,7 @@ _mm_cmplt_ps(__m128 __a, __m128 __b)
579579
/// operands to determine if the value in the first operand is less than or
580580
/// equal to the corresponding value in the second operand.
581581
///
582-
/// The comparison yields 0x0 for false, 0xFFFFFFFFFFFFFFFF for true, in
582+
/// The comparison returns 0x0 for false, 0xFFFFFFFFFFFFFFFF for true, in
583583
/// the low-order bits of a vector of [4 x float].
584584
/// If either value in a comparison is NaN, returns false.
585585
///
@@ -605,7 +605,7 @@ _mm_cmple_ss(__m128 __a, __m128 __b)
605605
/// 128-bit vectors of [4 x float] to determine if the values in the first
606606
/// operand are less than or equal to those in the second operand.
607607
///
608-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true.
608+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
609609
/// If either value in a comparison is NaN, returns false.
610610
///
611611
/// \headerfile <x86intrin.h>
@@ -627,7 +627,7 @@ _mm_cmple_ps(__m128 __a, __m128 __b)
627627
/// operands to determine if the value in the first operand is greater than
628628
/// the corresponding value in the second operand.
629629
///
630-
/// The comparison yields 0x0 for false, 0xFFFFFFFF for true, in the
630+
/// The comparison returns 0x0 for false, 0xFFFFFFFF for true, in the
631631
/// low-order bits of a vector of [4 x float].
632632
/// If either value in a comparison is NaN, returns false.
633633
///
@@ -655,7 +655,7 @@ _mm_cmpgt_ss(__m128 __a, __m128 __b)
655655
/// 128-bit vectors of [4 x float] to determine if the values in the first
656656
/// operand are greater than those in the second operand.
657657
///
658-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true.
658+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
659659
/// If either value in a comparison is NaN, returns false.
660660
///
661661
/// \headerfile <x86intrin.h>
@@ -677,7 +677,7 @@ _mm_cmpgt_ps(__m128 __a, __m128 __b)
677677
/// operands to determine if the value in the first operand is greater than
678678
/// or equal to the corresponding value in the second operand.
679679
///
680-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true, in the
680+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true, in the
681681
/// low-order bits of a vector of [4 x float].
682682
/// If either value in a comparison is NaN, returns false.
683683
///
@@ -705,7 +705,7 @@ _mm_cmpge_ss(__m128 __a, __m128 __b)
705705
/// 128-bit vectors of [4 x float] to determine if the values in the first
706706
/// operand are greater than or equal to those in the second operand.
707707
///
708-
/// Each comparison yields 0x0 for false, 0xFFFFFFFFFFFFFFFF for true.
708+
/// Each comparison returns 0x0 for false, 0xFFFFFFFFFFFFFFFF for true.
709709
/// If either value in a comparison is NaN, returns false.
710710
///
711711
/// \headerfile <x86intrin.h>
@@ -726,7 +726,7 @@ _mm_cmpge_ps(__m128 __a, __m128 __b)
726726
/// Compares two 32-bit float values in the low-order bits of both operands
727727
/// for inequality.
728728
///
729-
/// The comparison yields 0x0 for false, 0xFFFFFFFF for true, in the
729+
/// The comparison returns 0x0 for false, 0xFFFFFFFF for true, in the
730730
/// low-order bits of a vector of [4 x float].
731731
/// If either value in a comparison is NaN, returns true.
732732
///
@@ -752,7 +752,7 @@ _mm_cmpneq_ss(__m128 __a, __m128 __b)
752752
/// Compares each of the corresponding 32-bit float values of the
753753
/// 128-bit vectors of [4 x float] for inequality.
754754
///
755-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true.
755+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
756756
/// If either value in a comparison is NaN, returns true.
757757
///
758758
/// \headerfile <x86intrin.h>
@@ -775,7 +775,7 @@ _mm_cmpneq_ps(__m128 __a, __m128 __b)
775775
/// operands to determine if the value in the first operand is not less than
776776
/// the corresponding value in the second operand.
777777
///
778-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true, in the
778+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true, in the
779779
/// low-order bits of a vector of [4 x float].
780780
/// If either value in a comparison is NaN, returns true.
781781
///
@@ -802,7 +802,7 @@ _mm_cmpnlt_ss(__m128 __a, __m128 __b)
802802
/// 128-bit vectors of [4 x float] to determine if the values in the first
803803
/// operand are not less than those in the second operand.
804804
///
805-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true.
805+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
806806
/// If either value in a comparison is NaN, returns true.
807807
///
808808
/// \headerfile <x86intrin.h>
@@ -825,7 +825,7 @@ _mm_cmpnlt_ps(__m128 __a, __m128 __b)
825825
/// operands to determine if the value in the first operand is not less than
826826
/// or equal to the corresponding value in the second operand.
827827
///
828-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true, in the
828+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true, in the
829829
/// low-order bits of a vector of [4 x float].
830830
/// If either value in a comparison is NaN, returns true.
831831
///
@@ -852,7 +852,7 @@ _mm_cmpnle_ss(__m128 __a, __m128 __b)
852852
/// 128-bit vectors of [4 x float] to determine if the values in the first
853853
/// operand are not less than or equal to those in the second operand.
854854
///
855-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true.
855+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
856856
/// If either value in a comparison is NaN, returns true.
857857
///
858858
/// \headerfile <x86intrin.h>
@@ -875,7 +875,7 @@ _mm_cmpnle_ps(__m128 __a, __m128 __b)
875875
/// operands to determine if the value in the first operand is not greater
876876
/// than the corresponding value in the second operand.
877877
///
878-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true, in the
878+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true, in the
879879
/// low-order bits of a vector of [4 x float].
880880
/// If either value in a comparison is NaN, returns true.
881881
///
@@ -904,7 +904,7 @@ _mm_cmpngt_ss(__m128 __a, __m128 __b)
904904
/// 128-bit vectors of [4 x float] to determine if the values in the first
905905
/// operand are not greater than those in the second operand.
906906
///
907-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true.
907+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
908908
/// If either value in a comparison is NaN, returns true.
909909
///
910910
/// \headerfile <x86intrin.h>
@@ -927,7 +927,7 @@ _mm_cmpngt_ps(__m128 __a, __m128 __b)
927927
/// operands to determine if the value in the first operand is not greater
928928
/// than or equal to the corresponding value in the second operand.
929929
///
930-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true, in the
930+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true, in the
931931
/// low-order bits of a vector of [4 x float].
932932
/// If either value in a comparison is NaN, returns true.
933933
///
@@ -956,7 +956,7 @@ _mm_cmpnge_ss(__m128 __a, __m128 __b)
956956
/// 128-bit vectors of [4 x float] to determine if the values in the first
957957
/// operand are not greater than or equal to those in the second operand.
958958
///
959-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true.
959+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
960960
/// If either value in a comparison is NaN, returns true.
961961
///
962962
/// \headerfile <x86intrin.h>
@@ -3061,7 +3061,7 @@ _mm_movemask_ps(__m128 __a)
30613061
/// [4 x float], using the operation specified by the immediate integer
30623062
/// operand.
30633063
///
3064-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true.
3064+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
30653065
/// If either value in a comparison is NaN, comparisons that are ordered
30663066
/// return false, and comparisons that are unordered return true.
30673067
///
@@ -3096,7 +3096,7 @@ _mm_movemask_ps(__m128 __a)
30963096
/// vectors of [4 x float], using the operation specified by the immediate
30973097
/// integer operand.
30983098
///
3099-
/// Each comparison yields 0x0 for false, 0xFFFFFFFF for true.
3099+
/// Each comparison returns 0x0 for false, 0xFFFFFFFF for true.
31003100
/// If either value in a comparison is NaN, comparisons that are ordered
31013101
/// return false, and comparisons that are unordered return true.
31023102
///

0 commit comments

Comments
 (0)