mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-31 14:39:19 +00:00
Add thirdparty libs
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user