gonglingqin added a comment. In D139288#3969746 <https://reviews.llvm.org/D139288#3969746>, @xen0n wrote:
> You'll also need the IOCSR intrinsics too for building Linux. Since they're > very similar to some of the CSR intrinsics you added here, do you plan to add > support for them later here or in a separate follow-up change? Thanks for your reminding. The IOCSR intrinsics has been implemented and I will submit it later. ================ Comment at: clang/lib/Headers/larchintrin.h:84 + +#ifdef __loongarch_grlen == 64 +#define __csrrd_d(/*ui14*/ _1) \ ---------------- xen0n wrote: > Did you actually test this? ;-) Thank you for checking, I will modify it. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D139288/new/ https://reviews.llvm.org/D139288 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits