This is an archive of the discontinued LLVM Phabricator instance.

[Clang][LoongArch] Add intrinsic for rdtime_d, rdtimeh_w and rdtimel_w
ClosedPublic

Authored by gonglingqin on Dec 13 2022, 5:52 PM.

Diff Detail

Event Timeline

gonglingqin created this revision.Dec 13 2022, 5:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 13 2022, 5:52 PM
Herald added a subscriber: StephenFan. · View Herald Transcript
gonglingqin requested review of this revision.Dec 13 2022, 5:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 13 2022, 5:52 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
SixWeining added inline comments.Dec 20 2022, 7:33 PM
clang/lib/Headers/larchintrin.h
17–20

Should be moved into the belowing #if __loongarch_grlen == 64.

gonglingqin added inline comments.Dec 20 2022, 10:18 PM
clang/lib/Headers/larchintrin.h
17–20

Thanks. I will modify it.

Address @SixWeining's comment.

This revision is now accepted and ready to land.Dec 20 2022, 11:43 PM
xen0n accepted this revision.Dec 21 2022, 12:27 AM