-
Notifications
You must be signed in to change notification settings - Fork 5.2k
JIT: Added SVE GetFfr, SetFfr, LoadVectorFirstFaulting, GatherVectorFirstFaulting
#104502
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 13 commits
d0efc9e
42148fd
a7773ac
76b42bd
bb01e37
a602b24
60d410a
aee87d7
7f3bb3c
d952ff1
3923946
461b6a3
d5b8675
07833e3
ce5a9bd
05fb46d
c63f878
a4533fe
72d1dea
6c28927
fb2012e
aca6759
d781fdc
a73fe35
81882a4
ad5ec2e
0f88d8e
10cf342
e7507bb
aef79cd
690e7ad
b23fac7
0c8b688
3184b77
5bb0b3d
823e847
86715e5
8b0f000
044dbda
0655d4b
9d7f22f
18f8f52
0755372
567a442
3ac987d
e8f7fcd
77ec96c
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 |
|---|---|---|
|
|
@@ -1978,6 +1978,7 @@ void CodeGen::genHWIntrinsic(GenTreeHWIntrinsic* node) | |
|
|
||
| case NI_Sve_GatherVector: | ||
| case NI_Sve_GatherVectorByteZeroExtend: | ||
| case NI_Sve_GatherVectorFirstFaulting: | ||
kunalspathak marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| case NI_Sve_GatherVectorInt16SignExtend: | ||
| case NI_Sve_GatherVectorInt16WithByteOffsetsSignExtend: | ||
| case NI_Sve_GatherVectorInt32SignExtend: | ||
|
|
@@ -2252,6 +2253,24 @@ void CodeGen::genHWIntrinsic(GenTreeHWIntrinsic* node) | |
| break; | ||
| } | ||
|
|
||
| case NI_Sve_LoadVectorFirstFaulting: | ||
| { | ||
| insScalableOpts sopt = INS_SCALABLE_OPTS_LSL_N; | ||
kunalspathak marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| if (opt == INS_OPTS_SCALABLE_B) | ||
| { | ||
| sopt = INS_SCALABLE_OPTS_NONE; | ||
| } | ||
| GetEmitter()->emitIns_R_R_R_R(ins, emitSize, targetReg, op1Reg, op2Reg, REG_ZR, opt, sopt); | ||
kunalspathak marked this conversation as resolved.
Show resolved
Hide resolved
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. what is 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.
|
||
| break; | ||
| } | ||
|
|
||
| case NI_Sve_SetFfr: | ||
| { | ||
| assert(targetReg == REG_NA); | ||
kunalspathak marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| GetEmitter()->emitIns_R(ins, emitSize, op1Reg, opt); | ||
|
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. Don't we need special codegen for 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. Yea, we can add an optimization to use SETFFR if op1 is contained and IsAllBitsSet. I will add the opt. 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. No, this comment is specifically for 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. Ah, gotcha. I mis-read. |
||
| break; | ||
| } | ||
|
|
||
| case NI_Sve_ConditionalExtractAfterLastActiveElementScalar: | ||
| case NI_Sve_ConditionalExtractLastActiveElementScalar: | ||
| { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.