3 ms·
> However, Loongnix provides a LSX/LASX capable toolchain. That means we can discover LSX and LASX instructions and play around with them. Where does one find
by saagarjha 4y ago
> However, Loongnix provides a LSX/LASX capable toolchain. That means we can discover LSX and LASX instructions and play around with them.
Where does one find this toolchain and the hardware for it?
- boomanaiden154 4y agoToolchain wise, at least some of their stuff has been upstreamed into LLVM. I'm not sure if the vector extensions mentioned here have been upstreamed however. [0] https://discourse.llvm.org/t/rfc-add-a-new-backend-called-loongarch https://discourse.llvm.org/t/rfc-add-a-new-backend-called-lo... [1] https://discourse.llvm.org/t/rfc-promoting-the-loongarch-backend-from-experimental-to-official https://discourse.llvm.org/t/rfc-promoting-the-loongarch-bac...
- simcop2387 4y agoI've actually ordered a 3A5000 cpu and mb combo off aliexpress to get something setup for doing software testing. I'm not sure if it's the best place to get things but it's very easy to find at least. I'd also recommend checking out https://blog.xen0n.name/en/posts/tinkering/loongarch-faq/#im-going-to-port-my-software-to-loongarch-what-do-i-need-to-prepare-for https://blog.xen0n.name/en/posts/tinkering/loongarch-faq/#im... if you're planning to seriously look at getting something to play with, and avoid the older Loongson systems and they're pure MIPS and not the new LoongArch64 that's being talked about in the article here on HN or the linked page from me. The LoongArch64 is basically MIPS instructions but using RISC-V instruction encoding and some changed semantics (things like getting rid of the MIPS delay slots and things) to make for a more modern design on the silicon. I've not yet received my board (should finish in customs this week based on tracking numbers) but do plan to document what I run into when getting something setup.