[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)
Chen Zheng via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 18 18:07:34 PDT 2024
================
@@ -103,6 +105,7 @@ PPC_CPU("ppc476",SYS_CALL,44,BUILTIN_PPC_FALSE,0)
PPC_CPU("power8",SYS_CALL,45,USE_SYS_CONF,AIX_PPC8_VALUE)
PPC_CPU("power9",SYS_CALL,46,USE_SYS_CONF,AIX_PPC9_VALUE)
PPC_CPU("power10",SYS_CALL,47,USE_SYS_CONF,AIX_PPC10_VALUE)
+PPC_CPU("power11",SYS_CALL,48,USE_SYS_CONF,AIX_PPC11_VALUE)
----------------
chenzheng1030 wrote:
ditto. Where did you get the 48? Is it document somewhere so that all tools will use same value?
https://github.com/llvm/llvm-project/pull/99550
More information about the cfe-commits
mailing list