mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-14 10:09:04 +00:00
Update documentation
This commit is contained in:
parent
f29bdbb61e
commit
1bfb8760bb
22
ppc_simd.h
22
ppc_simd.h
@ -100,11 +100,29 @@
|
||||
# define __CRYPTO__ 1
|
||||
#endif
|
||||
|
||||
// The Power ABI says source arrays are non-const. XLC++
|
||||
// will fail to compile if the source array is const.
|
||||
/// \brief Cast array to vector pointer
|
||||
/// \details CONST_V8_CAST casts a const array to a vector
|
||||
/// pointer for a byte array. The Power ABI says source arrays
|
||||
/// are non-const, so this define removes the const. XLC++ will
|
||||
/// fail the compile if the source array is const.
|
||||
#define CONST_V8_CAST(x) ((unsigned char*)(x))
|
||||
/// \brief Cast array to vector pointer
|
||||
/// \details NCONST_V8_CAST casts an array to a vector
|
||||
/// pointer for a byte array. The Power ABI says source arrays
|
||||
/// are non-const, so this define removes the const. XLC++ will
|
||||
/// fail the compile if the source array is const.
|
||||
#define NCONST_V8_CAST(x) ((unsigned char*)(x))
|
||||
/// \brief Cast array to vector pointer
|
||||
/// \details CONST_V32_CAST casts a const word array to a vector
|
||||
/// pointer for a word array. The Power ABI says source arrays
|
||||
/// are non-const, so this define removes the const. XLC++ will
|
||||
/// fail the compile if the source array is const.
|
||||
#define CONST_V32_CAST(x) ((unsigned int*)(x))
|
||||
/// \brief Cast array to vector pointer
|
||||
/// \details NCONST_V32_CAST casts an array to a vector
|
||||
/// pointer for a word array. The Power ABI says source arrays
|
||||
/// are non-const, so this define removes the const. XLC++ will
|
||||
/// fail the compile if the source array is const.
|
||||
#define NCONST_V32_CAST(x) ((unsigned int*)(x))
|
||||
|
||||
// VecLoad_ALTIVEC and VecStore_ALTIVEC are
|
||||
|
Loading…
x
Reference in New Issue
Block a user