rust-lang / stdarch

Rust's standard library vendor-specific APIs and run-time feature detection
https://doc.rust-lang.org/stable/core/arch/
Apache License 2.0
599 stars 260 forks source link

Add LoongArch SIMD intrinsics #1535

Closed heiher closed 5 months ago

heiher commented 5 months ago

This PR adds LoongArch SIMD (LSX/LASX) intrinsics and testcases.

rustbot commented 5 months ago

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) some time within the next two weeks.

heiher commented 5 months ago

Are the tests also automatically generated, or just the intrinsic definitions?

The tests are also automatically generated, but not by this generator.

Amanieu commented 5 months ago

Can you also include the generator used for making the tests? I don't want to include any auto-generated code in this repo without also including the generator used to create it.

Finally, can you also commit a copy of the header files used to generate the .spec files?

heiher commented 5 months ago

Can you also include the generator used for making the tests? I don't want to include any auto-generated code in this repo without also including the generator used to create it.

Finally, can you also commit a copy of the header files used to generate the .spec files?

Thanks for your review. I have updated the patch to include code for generating test cases and also added copying of header files.