Add these intrinsics to keep consistent with GCC [1].
[1]: https://github.com/gcc-mirror/gcc/blob/master/gcc/config/loongarch/larchintrin.h#L33
Paths
| Differential D139987
[Clang][LoongArch] Add intrinsic for rdtime_d, rdtimeh_w and rdtimel_w ClosedPublic Authored by gonglingqin on Dec 13 2022, 5:52 PM.
Details Summary Add these intrinsics to keep consistent with GCC [1]. [1]: https://github.com/gcc-mirror/gcc/blob/master/gcc/config/loongarch/larchintrin.h#L33
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Dec 20 2022, 11:43 PM Closed by commit rGe726703c27c4: [Clang][LoongArch] Add intrinsic for rdtime_d, rdtimeh_w and rdtimel_w (authored by gonglingqin). · Explain WhyDec 22 2022, 3:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 484466 clang/lib/Headers/larchintrin.h
clang/test/CodeGen/LoongArch/intrinsic-la32-error.c
clang/test/CodeGen/LoongArch/intrinsic-la32.c
clang/test/CodeGen/LoongArch/intrinsic-la64.c
|
Should be moved into the belowing #if __loongarch_grlen == 64.