Skip to content

Commit 758e65d

Browse files
GelbpunktAmanieu
authored andcommitted
core_arch: powerpc: Fix documentation for vec_ctu
Like the name suggests, this converts to unsigned integers rather than signed. I assume this was copy pasted from vec_cts. Signed-off-by: Jens Reidel <[email protected]>
1 parent ff9a444 commit 758e65d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core_arch/src/powerpc/altivec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4117,7 +4117,7 @@ pub unsafe fn vec_cts<const IMM5: i32>(a: vector_float) -> vector_signed_int {
41174117
vctsxs(a, IMM5)
41184118
}
41194119

4120-
/// Vector Convert to Signed Integer
4120+
/// Vector Convert to Unsigned Integer
41214121
#[inline]
41224122
#[target_feature(enable = "altivec")]
41234123
#[cfg_attr(test, assert_instr(vctuxs, IMM5 = 1))]

0 commit comments

Comments
 (0)