-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PowerPC] [MMA] Add lxvp/stxvp and pair assemble/disassemble builtins with _mma_ prefix #49503
Comments
assigned to @hfinkel |
Which patch adds the intrinsics? |
Sorry, missed the link for the patch: |
Also, there is an update after the review: the patch adds the mma version of the built-ins as aliases to the existing vsx intrinsics. |
Reopening for 12.x backport |
The fix does not apply cleanly, could someone backport this and push a branch to their local github fork? |
Hi Hal, What is your opinion on backporting this? https://reviews.llvm.org/rG25bbff632d018d178272a61c0732203d53d3a2e3 |
Hi Tom, sorry for the late response. I will work on it to get you a patch that applies cleanly. Thanks! |
Hi Tom, Thanks! |
Nemanja suggested to backport this. |
Hi Tom, |
I'm still trying to verify this with the abi-dumper tool, but I think adding these builtins changes the API/ABI, because the values of the builtin enum change. Is there some way to add these alias without adding the enums to BuiltinsPPC.def ? |
I discussed this with Nemanja and he suggested that if this is causing a significant issue to backport, we should not backport it. |
We can close this issue, as the patch is committed. |
Extended Description
Vector pair intrinsics and builtins were renamed in
https://reviews.llvm.org/D91974 to replace the mma prefix by vsx.
However, some projects used the mma version, so this patch adds
these intrinsics to provide compatibility:
__builtin_mma_lxvp -> __builtin_vsx_lxvp
__builtin_mma_stxvp -> __builtin_vsx_stxvp
__builtin_mma_assemble_pair -> __builtin_vsx_assemble_pair
__builtin_mma_disassemble_pair -> __builtin_vsx_disassemble_pair
The text was updated successfully, but these errors were encountered: