-
Notifications
You must be signed in to change notification settings - Fork 794
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
Add LoongArch SX SIMD extension implementation #981
Conversation
This is a nice patch, well laid out, with the minimal amount of changes required to support LoongArch SX SIMD. So the remaining question is around maintenance: To properly cover this scenario, we would prefer to have some kind of |
I don't test it yet, but it seems QEMU 9.0 supports LoongArch and its LSX extension. Also, there's an official documment for |
Thanks for your affirmation!
Yes it is possible, I'll trying to add |
For the record, the documentation needs updating now, as prebuilt LoongArch EDK2 firmware for system-level emulation has been available since this QEMU commit which will ship in QEMU 9.2.0. Nevertheless, it is irrelevant, because linux-user emulation does not need the firmware blob at all, so I think it would be acceptable as long as relevant packages (emulator & toolchain) are available at distros' upstream repositories. |
@Cyan4973 Luckily, BTW, the Windows ARM32 CI seems to be broken due to the Windows SDK removed the support of ARM32, see
So maybe we should deleted it? nevertheless, we could discuss this issue in another PR. |
You're right.
Thanks for the information. I've checked them by
It seems recent version of Windows SDK (10.0.26100.0?) has dropped ARM32. Threfore I think it's okay to remove them from our CI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perfect
Add LoongArch SX SIMD extension support to xxHash, which is a new RISC ISA just like RISC-V. The code itself is basically a rewritten of the SSE2 one, tested on Loongson 3A6000 processor, here are the results.
Scalar
LoongArch SX
Reference
LoongArch Intrinsics Document: https://jia.je/unofficial-loongarch-intrinsics-guide/
Resolve
loongson-community/discussions#72