[PATCH] D139987: [Clang][LoongArch] Add intrinsic for rdtime_d, rdtimeh_w and rdtimel_w

Gong LingQin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 20 22:18:48 PST 2022


gonglingqin added inline comments.


================
Comment at: clang/lib/Headers/larchintrin.h:17-20
+typedef struct drdtime {
+  unsigned long dvalue;
+  unsigned long dtimeid;
+} __drdtime_t;
----------------
SixWeining wrote:
> Should be moved into the belowing `#if __loongarch_grlen == 64`.
Thanks. I will modify it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139987/new/

https://reviews.llvm.org/D139987



More information about the cfe-commits mailing list