diff options
| author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2016-10-31 19:47:52 +0000 |
|---|---|---|
| committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2016-10-31 19:47:52 +0000 |
| commit | 60bdfe5a7c712f240cba53b7f1803e78ad1edfef (patch) | |
| tree | 05c030b33212338845fff469879fec7e2a52675b /llvm/include | |
| parent | 0df19037c4d1233680ffa7fc8e6c9bb4b6abdcc6 (diff) | |
| download | bcm5719-llvm-60bdfe5a7c712f240cba53b7f1803e78ad1edfef.tar.gz bcm5719-llvm-60bdfe5a7c712f240cba53b7f1803e78ad1edfef.zip | |
[PPC] add absolute difference altivec instructions and matching intrinsics
This patch corresponds to review https://reviews.llvm.org/D26072.
Committing on behalf of Sean Fertile.
llvm-svn: 285627
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/IR/IntrinsicsPowerPC.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/IR/IntrinsicsPowerPC.td b/llvm/include/llvm/IR/IntrinsicsPowerPC.td index 5dfd823def2..9edafdfd485 100644 --- a/llvm/include/llvm/IR/IntrinsicsPowerPC.td +++ b/llvm/include/llvm/IR/IntrinsicsPowerPC.td @@ -704,6 +704,11 @@ def int_ppc_altivec_crypto_vpmsumw : def int_ppc_altivec_crypto_vpmsumd : PowerPC_Vec_DDD_Intrinsic<"crypto_vpmsumd">; +// Absolute Difference intrinsics +def int_ppc_altivec_vabsdub : PowerPC_Vec_BBB_Intrinsic<"vabsdub">; +def int_ppc_altivec_vabsduh : PowerPC_Vec_HHH_Intrinsic<"vabsduh">; +def int_ppc_altivec_vabsduw : PowerPC_Vec_WWW_Intrinsic<"vabsduw">; + //===----------------------------------------------------------------------===// // PowerPC VSX Intrinsic Definitions. |

