Skip to content

riscv64: Implement SIMD sqmul_round_sat and splat+mul instructions#6602

Merged
afonso360 merged 2 commits into
bytecodealliance:mainfrom
afonso360:riscv-simd-extra-mul
Jun 19, 2023
Merged

riscv64: Implement SIMD sqmul_round_sat and splat+mul instructions#6602
afonso360 merged 2 commits into
bytecodealliance:mainfrom
afonso360:riscv-simd-extra-mul

Conversation

@afonso360
Copy link
Copy Markdown
Contributor

👋 Hey,

This PR Implements sqmul_round_sat, we have a dedicated instruction for this so it's fairly straight forward.

Additionally it also adds some variants of the existing multiplication instructions that splat one of the inputs. These were originally added before we had support for VX opcodes, and I've just noticed they were missing.

@afonso360 afonso360 added the cranelift:area:riscv64 Issues related to the RISC-V 64 backend. label Jun 18, 2023
@afonso360 afonso360 requested review from a team as code owners June 18, 2023 21:15
@afonso360 afonso360 requested review from fitzgen and removed request for a team June 18, 2023 21:15
@afonso360 afonso360 changed the title riscv64: Implement SIMD sqmul_round_sat and splat+imul instructions riscv64: Implement SIMD sqmul_round_sat and splat+mul instructions Jun 18, 2023
@github-actions github-actions Bot added the cranelift Issues related to the Cranelift code generator label Jun 18, 2023
Copy link
Copy Markdown
Member

@elliottt elliottt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! The vx variants for some of the vector ops seem extremely useful!

@afonso360 afonso360 added this pull request to the merge queue Jun 19, 2023
Merged via the queue into bytecodealliance:main with commit 0e9ce4c Jun 19, 2023
@afonso360 afonso360 deleted the riscv-simd-extra-mul branch June 19, 2023 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift:area:riscv64 Issues related to the RISC-V 64 backend. cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants