sshsh256.c (putty-0.75) | : | sshsh256.c (putty-0.76) | ||
---|---|---|---|---|
skipping to change at line 726 | skipping to change at line 726 | |||
#ifdef USE_CLANG_ATTR_TARGET_AARCH64 | #ifdef USE_CLANG_ATTR_TARGET_AARCH64 | |||
/* | /* | |||
* A spot of cheating: redefine some ACLE feature macros before | * A spot of cheating: redefine some ACLE feature macros before | |||
* including arm_neon.h. Otherwise we won't get the SHA intrinsics | * including arm_neon.h. Otherwise we won't get the SHA intrinsics | |||
* defined by that header, because it will be looking at the settings | * defined by that header, because it will be looking at the settings | |||
* for the whole translation unit rather than the ones we're going to | * for the whole translation unit rather than the ones we're going to | |||
* put on some particular functions using __attribute__((target)). | * put on some particular functions using __attribute__((target)). | |||
*/ | */ | |||
#define __ARM_NEON 1 | #define __ARM_NEON 1 | |||
#define __ARM_FEATURE_CRYPTO 1 | #define __ARM_FEATURE_CRYPTO 1 | |||
#define __ARM_FEATURE_SHA2 1 | ||||
#define FUNC_ISA __attribute__ ((target("neon,crypto"))) | #define FUNC_ISA __attribute__ ((target("neon,crypto"))) | |||
#endif /* USE_CLANG_ATTR_TARGET_AARCH64 */ | #endif /* USE_CLANG_ATTR_TARGET_AARCH64 */ | |||
#ifndef FUNC_ISA | #ifndef FUNC_ISA | |||
#define FUNC_ISA | #define FUNC_ISA | |||
#endif | #endif | |||
#ifdef USE_ARM64_NEON_H | #ifdef USE_ARM64_NEON_H | |||
#include <arm64_neon.h> | #include <arm64_neon.h> | |||
#else | #else | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |