Skip to content

x64: Fill out more AVX instructions#5849

Merged
alexcrichton merged 2 commits intobytecodealliance:mainfrom
alexcrichton:more-avx
Feb 23, 2023
Merged

x64: Fill out more AVX instructions#5849
alexcrichton merged 2 commits intobytecodealliance:mainfrom
alexcrichton:more-avx

Conversation

@alexcrichton
Copy link
Member

This commit fills out more AVX instructions for SSE counterparts currently used. Many of these instructions do not benefit from the 3-operand form that AVX uses but instead benefit from being able to use XmmMem instead of XmmMemAligned which may be able to avoid some extra temporary registers in some cases.

This commit fills out more AVX instructions for SSE counterparts
currently used. Many of these instructions do not benefit from the
3-operand form that AVX uses but instead benefit from being able to use
`XmmMem` instead of `XmmMemAligned` which may be able to avoid some
extra temporary registers in some cases.
@github-actions github-actions bot added cranelift Issues related to the Cranelift code generator cranelift:area:x64 Issues related to x64 codegen labels Feb 21, 2023
Copy link
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

(src XmmMem)
(dst WritableXmm))

;; XMM unary op using a VEX encoding (aka AVX)with an immediate
Copy link
Member

Choose a reason for hiding this comment

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

s/)with/) with/; and . at end.

@alexcrichton alexcrichton added this pull request to the merge queue Feb 23, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 23, 2023
@alexcrichton alexcrichton added this pull request to the merge queue Feb 23, 2023
Merged via the queue into bytecodealliance:main with commit 3fc3bc9 Feb 23, 2023
@alexcrichton alexcrichton deleted the more-avx branch February 23, 2023 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift:area:x64 Issues related to x64 codegen cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants