Commit Graph

55 Commits (76b47204dfc40b0e285ce64a978daccaf3db3b2f)

Author SHA1 Message Date
Jeffrey Walton bbad4397c4
Use VectMergeLow and VecMergeHigh 2019-01-21 03:04:07 -05:00
Jeffrey Walton 92808945c1
Fix TestAltivecOps on AIX 2019-01-20 19:34:09 -05:00
Jeffrey Walton efddef694d
Update documentation 2019-01-20 04:50:22 -05:00
Jeffrey Walton f510b3498c
Update documentation 2019-01-20 03:52:05 -05:00
Jeffrey Walton f95638ef0c
Update documentation 2019-01-20 03:24:18 -05:00
Jeffrey Walton 8fd5bb31cf
Add VecPolyMultiply for Intel-equivalent F2N multiplies 2019-01-20 01:47:34 -05:00
Jeffrey Walton cefcaeaa68
Update documentation 2019-01-19 16:32:13 -05:00
Jeffrey Walton 275b86a8d5
Update documentation 2019-01-19 16:21:07 -05:00
Jeffrey Walton c39d7fdef5
Add VecMergeHi and VecMergeLo PowerPC wrappers 2019-01-19 15:20:47 -05:00
Jeffrey Walton df9fa62205
Use carryless multiplies for NIST b233 and k233 curves (GH #783, PR #784)
Use carryless multiplies for NIST b233 and k233 curves.
2019-01-16 00:02:04 -05:00
Jeffrey Walton cfbe382e0c
Update documentation 2018-11-24 06:04:18 -05:00
Jeffrey Walton a00fd95032
Update documentation 2018-11-24 05:01:43 -05:00
Jeffrey Walton b6a73cadfb
Update documentation 2018-11-24 04:57:45 -05:00
Jeffrey Walton 9a987b4867
Fix compile error with GCC on POWER7 2018-11-24 04:43:14 -05:00
Jeffrey Walton 93a9bfbac2
Update documentation 2018-11-24 03:47:16 -05:00
Jeffrey Walton 758e31d5a0
Add 64-bit element rotates for POWER7 2018-11-24 03:27:12 -05:00
Jeffrey Walton cf3dfa2745
Drop uint64x2_p to POWER7
According to the OpenPOWER specs, unsigned long long vectors first appeared in ISA 2.06, which is POWER7. However some support functions, like vec_add, did not arrive until ISA 2.07, which is POWER8.
2018-11-24 02:53:59 -05:00
Jeffrey Walton a4dc4e2237
Update documentation 2018-11-24 02:23:25 -05:00
Jeffrey Walton ad58f0cbdc
Update comments for PowerPC 2018-11-24 02:14:28 -05:00
Jeffrey Walton 51fea1a15e
Add VecLoadAligned for PowerPC 2018-11-24 01:27:44 -05:00
Jeffrey Walton 064650d31e
Avoid IsAlignedOn in VecLoad_ALTIVEC and VecStore_ALTIVEC 2018-11-23 23:58:30 -05:00
Jeffrey Walton a48e387ead
Add missing offset to VecStoreBE 2018-11-23 15:53:58 -05:00
Jeffrey Walton 39aaec7c59
Use vec_revb when POWER9 is available 2018-11-23 12:16:45 -05:00
Jeffrey Walton 2fe5177d07
Update documentation 2018-11-22 16:54:28 -05:00
Jeffrey Walton 17b7ebeb39
Update documentation 2018-11-22 16:37:41 -05:00
Jeffrey Walton 568d9376a2 Update documentation
Signed-off-by: Jeffrey Walton <noloader@gmail.com>
2018-11-22 13:54:03 -05:00
Jeffrey Walton 5492101fc0
Fix XLC 13.1 debug builds on Linux 2018-11-21 17:37:19 -05:00
Jeffrey Walton 081d9110ee
Call VecStore_ALTIVEC by name
The old form could suffer recursion if teplate deduction fails
2018-11-19 20:59:15 -05:00
Jeffrey Walton e6370f3ea1
Fix typo in VecStore 2018-11-19 20:31:06 -05:00
Jeffrey Walton 66b3ba5d66
Update comments 2018-11-19 20:02:51 -05:00
Jeffrey Walton 0df98b049a
Improve support for early XLC compilers on POWER7 (GH #742) 2018-11-19 18:28:50 -05:00
Jeffrey Walton 531ab7e8c5
Update comments 2018-11-19 15:23:29 -05:00
Jeffrey Walton 3681d2fa1f
Update documentation 2018-11-19 13:50:53 -05:00
Jeffrey Walton 201375749b
Update documentation 2018-11-19 13:30:56 -05:00
Jeffrey Walton 2f26de7aab
Add 64-bit element loads and stores 2018-11-19 04:49:51 -05:00
Jeffrey Walton 3129ad4d70
Fix LLVM Clang compile on PowerPC 2018-11-19 02:28:29 -05:00
Jeffrey Walton 5ef276411c
Update documentation 2018-11-15 17:52:06 -05:00
Jeffrey Walton 4c5695c51b
Update documentation 2018-11-15 17:40:06 -05:00
Jeffrey Walton f53405b995
Update documentation 2018-11-15 17:21:38 -05:00
Jeffrey Walton cf52307abd
Update documentation 2018-11-15 16:59:11 -05:00
Jeffrey Walton 364017c097
Update documentation 2018-11-15 16:45:56 -05:00
Jeffrey Walton dd111a6174
Update documentation 2018-11-15 16:23:21 -05:00
Jeffrey Walton 512fa101e8
Update documentation 2018-11-15 15:27:42 -05:00
Jeffrey Walton f6e04e5f33
Rename PPC vector functions from VectorFunc to VecFunc 2018-11-15 15:17:49 -05:00
Jeffrey Walton 8e5cd3637e
Update documentation 2018-11-15 12:15:21 -05:00
Jeffrey Walton 98699dde05
Update documentation 2018-11-15 04:39:54 -05:00
Jeffrey Walton e784c04eb0
Update documentation 2018-11-15 03:43:47 -05:00
Jeffrey Walton f69b7537f5
Update documentation 2018-11-15 03:27:23 -05:00
Jeffrey Walton 390fed72c5
Add word32 VectorStore overloads 2018-11-15 03:11:36 -05:00
Jeffrey Walton 10f85d6596
Make Altivec vector wraps friendly to downgrades
The way the existing ppc_simd.h is written makes it hard to to switch between the old Altivec loads and stores and the new POWER7 loads and stores. This checkin rewrites the wrappers to use _ALTIVEC_, _ARCH_PWR7 and _ARCH_PWR8. The wrappers in this file now honor -maltivec, -mcpu-power7 and -mcpu=power8. It allows users to compile a source file, like chacha_simd.cpp, with a lower ISA and things just work for them.
2018-11-15 02:11:00 -05:00