[clang] [llvm] [PowerPC] Add BCDCOPYSIGN and BCDSETSIGN Instruction Support (PR #144874)

Lei Huang via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 24 12:45:22 PDT 2025


================
@@ -515,6 +515,10 @@ TARGET_BUILTIN(__builtin_altivec_vctzh, "V8UsV8Us", "", "power9-vector")
 TARGET_BUILTIN(__builtin_altivec_vctzw, "V4UiV4Ui", "", "power9-vector")
 TARGET_BUILTIN(__builtin_altivec_vctzd, "V2ULLiV2ULLi", "", "power9-vector")
 
+//P9 BCD builtins
+TARGET_BUILTIN(__builtin_ppc_bcdcopysign, "V16UcV16UcV16Uc", "", "power9-vector")
----------------
lei137 wrote:

maybe we can move this section to after `// P8 BCD builtins.`

https://github.com/llvm/llvm-project/pull/144874


More information about the cfe-commits mailing list