[PATCH] D139288: [Clang][LoongArch] Add intrinsic for csrrd, csrwr and csrxchg
Gong LingQin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 4 20:40:44 PST 2022
gonglingqin added inline comments.
================
Comment at: clang/lib/Headers/larchintrin.h:67-96
#define __break(/*ui15*/ _1) __builtin_loongarch_break((_1))
#define __dbar(/*ui15*/ _1) __builtin_loongarch_dbar((_1))
#define __ibar(/*ui15*/ _1) __builtin_loongarch_ibar((_1))
#define __syscall(/*ui15*/ _1) __builtin_loongarch_syscall((_1))
----------------
SixWeining wrote:
> It's better to add testcases for all these macros.
Thanks, I'll add all the macro test cases later.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139288/new/
https://reviews.llvm.org/D139288
More information about the cfe-commits
mailing list