-
Notifications
You must be signed in to change notification settings - Fork 984
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
LoongArch64 Support #754
LoongArch64 Support #754
Conversation
This is very nicely done! I built (in a qemu-hosted Arch Linux installation) and ran |
Thanks. BTW, I ran the VM using the image here (in my case only 20.3 and 20.4 can boot) and the EFI file here:
Initial user:password: loongson:Loongson20 Aside from that, maybe we can add some github actions using this project to automate test for non-x86 architectures. However, I tried using this project on my local branch a while ago and had some test failures that did not |
As an extra check, I built on hardware provided by Loongson at https://portal.cfarm.net/, which is about twice as fast a qemu on my machine, and ran more tests there. I found a failure that happens when running
shows
where the expected errors are
|
Interestingly, but maybe not surprisingly, |
…ffset value bigger than 12 bits.
The "compiler-internal" error is fixed in the new commit. |
Thanks! |
This pull request adds support for LoongArch64, which is an ISA similar to RISC-V.
The machine type as returned by
(machine-type)
is[t]la64le
, the internal architecture name isloongarch64
.This PR is basically an adaptation of this old PR toward those
new features like unboxed floating points and vfasl.