asm only for gcc

pull/13228/head
Paul Szczeanek 2020-06-10 16:20:14 +01:00 committed by Vincent Coubard
parent a04102ae39
commit d9699cf269
1 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,11 @@ uECC_asm_fast - Use GCC inline assembly optimized for maximum speed. */
#define uECC_asm_small 1 #define uECC_asm_small 1
#define uECC_asm_fast 2 #define uECC_asm_fast 2
#ifndef uECC_ASM #ifndef uECC_ASM
#define uECC_ASM uECC_asm_fast #if !defined(__ARMCC_VERSION) && !defined(__ICCARM__) && defined(__GNUC__) /* Only support GCC inline asm for now */
#define uECC_ASM uECC_asm_fast
#else
#define uECC_ASM uECC_asm_none
#endif
#endif #endif
/* Curve selection options. */ /* Curve selection options. */