Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cranelift: Make sqmul_round_sat vector only #5941

Merged
merged 1 commit into from
Mar 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions cranelift/codegen/meta/src/shared/instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,7 @@ pub(crate) fn define(

let I16or32 = &TypeVar::new(
"I16or32",
"A scalar or vector integer type with 16- or 32-bit numbers",
"A vector integer type with 16- or 32-bit numbers",
TypeSetBuilder::new().ints(16..32).simd_lanes(4..8).build(),
);

Expand All @@ -1690,8 +1690,7 @@ pub(crate) fn define(
is the number bitwidth:
`a := signed_saturate((x * y + 1 << (Q - 1)) >> Q)`

Polymorphic over all integer types (scalar and vector) with 16- or
32-bit numbers.
Polymorphic over all integer vector types with 16- or 32-bit numbers.
"#,
&formats.binary,
)
Expand Down