Some asm optimizations.

This commit is contained in:
Ken MacKay
2014-03-04 00:30:08 -08:00
parent 630d418aca
commit 7a5253f593
2 changed files with 1583 additions and 232 deletions
+1581 -230
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -7,7 +7,7 @@
ECC_SQUARE_FUNC - If enabled, this will cause a specific function to be used for (scalar) squaring instead of the generic
multiplication function.
*/
#define ECC_SQUARE_FUNC 0
#define ECC_SQUARE_FUNC 1
/* Inline assembly options.
Inline assembly (gcc format) is provided for selected operations for AVR (requires MUL support).
@@ -15,7 +15,7 @@ Inline assembly (gcc format) is provided for selected operations for AVR (requir
#define ecc_asm_none 0
#define ecc_asm_avr 1
#ifndef ECC_ASM
#define ECC_ASM ecc_asm_none
#define ECC_ASM ecc_asm_avr
#endif
#define ECC_CONCAT1(a, b) a##b