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

Lu Weining via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 20 19:33:15 PST 2022


SixWeining added inline comments.


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


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