Skip to content

[x86] Generate AVX512 fixed-point instructions - #7129

Merged
rootjalex merged 13 commits into
mainfrom
rootjalex/x86-fp-cleanup
Oct 31, 2022
Merged

[x86] Generate AVX512 fixed-point instructions#7129
rootjalex merged 13 commits into
mainfrom
rootjalex/x86-fp-cleanup

Conversation

@rootjalex

@rootjalex rootjalex commented Oct 26, 2022

Copy link
Copy Markdown
Member

This PR adds support for generating saturating_(add | sub) and pmulh(rs) on Skylake and Cannonlake (i.e. for AVX512BW). It also increases simd_op_check test coverage of fixed-point operations on those archs.

I also did a bit of clean-up on the way:

I did not add abs to codegen because it doesn't appear that LLVM currently exposes non-masked versions of AVX512 abs variants.

Fixes #7002

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Saturating instructions not generated on AVX512

3 participants