[clang] [llvm] [PowerPC] Add BCDCOPYSIGN and BCDSETSIGN Instruction Support (PR #144874)
Sean Fertile via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 23 12:17:45 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")
----------------
mandlebug wrote:
Should the feature be "isa-v30-instructions" instead of "power9-vector"?
https://github.com/llvm/llvm-project/pull/144874
More information about the cfe-commits
mailing list