diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2021-07-02 11:27:52 -0500 |
---|---|---|
committer | Peter Bergner <bergner@linux.ibm.com> | 2021-07-02 11:28:45 -0500 |
commit | 42a9e4e1381ba14d8ef21b331494945c2f51e6be (patch) | |
tree | 91b6be794139b81e33d695b4af005ae6dcf0b66f /gcc/c/c-parser.c | |
parent | 7aa5fb17a30ff0ce9928e5eac35b892d95e7eba5 (diff) | |
download | gcc-42a9e4e1381ba14d8ef21b331494945c2f51e6be.zip gcc-42a9e4e1381ba14d8ef21b331494945c2f51e6be.tar.gz gcc-42a9e4e1381ba14d8ef21b331494945c2f51e6be.tar.bz2 |
rs6000: Add MMA __builtin_vsx_lxvp and __builtin_vsx_stxvp built-ins
Add support for the __builtin_vsx_lxvp and __builtin_vsx_stxvp built-ins
to keep in sync with LLVM which added these earlier.
2021-07-02 Peter Bergner <bergner@linux.ibm.com>
gcc/
* config/rs6000/rs6000-builtin.def (BU_MMA_PAIR_LD, BU_MMA_PAIR_ST):
New macros.
(__builtin_vsx_lxvp, __builtin_vsx_stxvp): New built-ins.
* config/rs6000/rs6000-call.c (rs6000_gimple_fold_mma_builtin): Expand
lxvp and stxvp built-ins.
(mma_init_builtins): Handle lxvp and stxvp built-ins.
(builtin_function_type): Likewise.
* doc/extend.texi (__builtin_vsx_lxvp, __builtin_mma_stxvp): Document.
gcc/testsuite/
* gcc.target/powerpc/mma-builtin-7.c: New test.
* gcc.target/powerpc/mma-builtin-8.c: New test.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions