mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-31 09:15:11 +00:00
21 lines
549 B
C++
21 lines
549 B
C++
#include <stdint.h>
|
|
#ifdef CRYPTOPP_ARM_NEON_HEADER
|
|
# include <arm_neon.h>
|
|
#endif
|
|
#ifdef CRYPTOPP_ARM_ACLE_HEADER
|
|
# include <arm_acle.h>
|
|
#endif
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
const poly64_t a=0x60606060, b=0x90909090, c=0xb0b0b0b0;
|
|
const poly64x2_t d={0x60606060,0x90909090};
|
|
const poly8x16_t e={0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
|
|
0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0};
|
|
|
|
const poly128_t r1 = vmull_p64(a, b);
|
|
const poly128_t r2 = vmull_high_p64(d, d);
|
|
|
|
return 0;
|
|
}
|