Skip to content

Commit 58633f3

Browse files
authored
Fix doc typo, the behavior is actually selecting 'x' if the bit in 'c' is 1 (#12695)
1 parent f6b2700 commit 58633f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cranelift/codegen/meta/src/shared/instructions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1652,7 +1652,7 @@ pub(crate) fn define(
16521652
Conditional select of bits.
16531653
16541654
For each bit in `c`, this instruction selects the corresponding bit from `x` if the bit
1655-
in `x` is 1 and the corresponding bit from `y` if the bit in `c` is 0. See also:
1655+
in `c` is 1 and the corresponding bit from `y` if the bit in `c` is 0. See also:
16561656
`select`.
16571657
"#,
16581658
&formats.ternary,

0 commit comments

Comments
 (0)