- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.2k
#78303 Add transformation ~v1 & v2 to VectorXxx.AndNot(v1, v2) #81993
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
Changes from 14 commits
4f32df9
              66b4ab0
              28b09d4
              a1ae670
              2f0e1a8
              56e1bea
              94f1ba7
              a5a1b44
              c24f97b
              13835fb
              fe39bf6
              db3c51f
              afc4cfc
              3e8805f
              5318946
              bec1de3
              dc6b52e
              f8f3912
              b34199e
              1ae64af
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -25458,6 +25458,54 @@ void GenTreeHWIntrinsic::Initialize(NamedIntrinsic intrinsicId) | |
| } | ||
| } | ||
| } | ||
|  | ||
| //------------------------------------------------------------------------------ | ||
| // HWOperGet : Returns Oper based on the HWIntrinsicId | ||
| // | ||
| genTreeOps GenTreeHWIntrinsic::HWOperGet() | ||
| { | ||
| switch (GetHWIntrinsicId()) | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tannergooding do you think we can then (not necessarily in this PR) add this to the table where intrinsics are defined? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should be able to do so, yes. However, I rather think we'd want to represent it just a little bit differently to avoid bloating the metadata tables given most intrinsics end up as none. | ||
| { | ||
| #if defined(TARGET_XARCH) | ||
| case NI_SSE_And: | ||
| case NI_SSE2_And: | ||
| case NI_AVX_And: | ||
| case NI_AVX2_And: | ||
| #elif defined(TARGET_ARM64) | ||
| case NI_AdvSimd_And: | ||
| #endif | ||
| { | ||
| return GT_AND; | ||
| } | ||
|  | ||
| #if defined(TARGET_ARM64) | ||
| case NI_AdvSimd_Not: | ||
| { | ||
| return GT_NOT; | ||
| } | ||
| #endif | ||
|  | ||
| #if defined(TARGET_XARCH) | ||
| case NI_SSE_Xor: | ||
| case NI_SSE2_Xor: | ||
| case NI_AVX_Xor: | ||
| case NI_AVX2_Xor: | ||
| #elif defined(TARGET_ARM64) | ||
| case NI_AdvSimd_Xor: | ||
| #endif | ||
| { | ||
| return GT_XOR; | ||
| } | ||
|  | ||
| // TODO: Handle other cases | ||
|  | ||
| default: | ||
| { | ||
| return GT_NONE; | ||
| } | ||
| } | ||
| } | ||
|  | ||
| #endif // FEATURE_HW_INTRINSICS | ||
|  | ||
| //--------------------------------------------------------------------------------------- | ||
|  | ||
Uh oh!
There was an error while loading. Please reload this page.