File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -875,12 +875,14 @@ of different sizes and signs is forbidden in binary and ternary builtins.
875875 for the comparison.
876876T __builtin_elementwise_fshl(T x, T y, T z) perform a funnel shift left. Concatenate x and y (x is the most integer types
877877 significant bits of the wide value), the combined value is shifted
878- left by z, and the most significant bits are extracted to produce
878+ left by z (modulo the bit width of the original arguments),
879+ and the most significant bits are extracted to produce
879880 a result that is the same size as the original arguments.
880881
881882T __builtin_elementwise_fshr(T x, T y, T z) perform a funnel shift right. Concatenate x and y (x is the most integer types
882883 significant bits of the wide value), the combined value is shifted
883- right by z, and the least significant bits are extracted to produce
884+ right by z (modulo the bit width of the original arguments),
885+ and the least significant bits are extracted to produce
884886 a result that is the same size as the original arguments.
885887 T __builtin_elementwise_ctlz(T x[, T y]) return the number of leading 0 bits in the first argument. If integer types
886888 the first argument is 0 and an optional second argument is provided,
You can’t perform that action at this time.
0 commit comments