[all-commits] [llvm/llvm-project] e72670: [Clang][LoongArch] Add intrinsic for rdtime_d, rdt...

Gong LingQin via All-commits all-commits at lists.llvm.org
Thu Dec 22 03:45:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e726703c27c417ffb5917eca4760ea3c4f4a62d5
      https://github.com/llvm/llvm-project/commit/e726703c27c417ffb5917eca4760ea3c4f4a62d5
  Author: gonglingqin <gonglingqin at loongson.cn>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M clang/lib/Headers/larchintrin.h
    M clang/test/CodeGen/LoongArch/intrinsic-la32-error.c
    M clang/test/CodeGen/LoongArch/intrinsic-la32.c
    M clang/test/CodeGen/LoongArch/intrinsic-la64.c

  Log Message:
  -----------
  [Clang][LoongArch] Add intrinsic for rdtime_d, rdtimeh_w and rdtimel_w

Add these intrinsics to keep consistent with GCC [1].

[1]: https://github.com/gcc-mirror/gcc/blob/master/gcc/config/loongarch/larchintrin.h#L33

Differential Revision: https://reviews.llvm.org/D139987




More information about the All-commits mailing list