Uh oh!
There was an error while loading. Please reload this page.
Adding support for the X86Base.Pause intrinsic on Mono - #61707
Conversation
tannergooding
commented
Nov 17, 2021
CC. @fanyang-mono, @EgorBo What's the correct CI leg that needs to be kicked off to validate things here? |
lambdageek
commented
Nov 17, 2021
I don't think this is enough. This only adds a mini opcode and an LLVM lowering for it. You also need at least:
Actually, the new mini opcode isn't necessary. There's already |
tannergooding
commented
Nov 17, 2021
I don't think its a good idea to rely on
I'll add the additional handling for the non-LLVM path. |
97f3f62 to
bbf75b4Comparelambdageek
commented
Nov 17, 2021
Hmm... now I'm not sure... the x86base group is not marked as JIT supported in simd-intrinsics. So maybe it's fine for this to be LLVM-only? a bit surprising since it seems like we should be able to support these instructions in the JIT, too. |
Updated to match what I was going to also add support for For the JIT, the actual instruction encoding is For LLVM, it'd be but the overall mono logic here is different from what I'm familiar with and I'm not quite sure what the "right" fix is. |
vargaz
commented
Nov 17, 2021
Most intrinsics in simd-intrinsic.c are only supported with llvm right now. |
fanyang-mono
commented
Nov 17, 2021
/azp runtime-staging-manual |
|
Command 'runtime-staging-manual' is not supported by Azure Pipelines. Supported commands
See additional documentation. |
fanyang-mono
commented
Nov 17, 2021
/azp run runtime-staging-manual |
|
Azure Pipelines successfully started running 1 pipeline(s). |
fanyang-mono
commented
Nov 17, 2021
Lane |
agocke
commented
Nov 17, 2021
FYI, I've disabled the test in #61743 for now. If you merge in main you should be able to re-enable it in this branch. |
fanyang-mono
commented
Nov 17, 2021
Actually, what I sad earlier was not true. Since the newly added intrinsics will only be added for LLVM and X86Base.Pause is really for all intel architectures. So to qualify this change, |
It's fine for this to be LLVM-only for now.
Adding |
fanyang-mono
commented
Nov 18, 2021
/azp run runtime-manual |
|
Azure Pipelines successfully started running 1 pipeline(s). |
bbf75b4 to
1aca1caComparetannergooding
commented
Nov 22, 2021
/azp run runtime-manual |
|
Azure Pipelines successfully started running 1 pipeline(s). |
tannergooding
commented
Nov 22, 2021
Can this be merged. It looks like all the failures are Android/iOS/WASM and are unrelated. |
vargaz
commented
Nov 30, 2021
This does work for me locally: but only when running with --llvm |
fanyang-mono
commented
Dec 1, 2021
Followup: Mono llvmaot lane passed on rolling build. |
fanyang-mono
commented
Dec 6, 2021
By the time that I exam the rolling build tests results, this change has been reverted. My previous comment could be ignored. |
This resolves#61693