mirror of
https://github.com/codex-storage/constantine.git
synced 2025-01-13 20:44:49 +00:00
Move assembly to their own folder
This commit is contained in:
parent
03d58ac1e7
commit
3f48a590e8
@ -10,8 +10,8 @@ import
|
||||
# Standard library
|
||||
std/macros,
|
||||
# Internal
|
||||
../config/common,
|
||||
../primitives
|
||||
../../config/common,
|
||||
../../primitives
|
||||
|
||||
# ############################################################
|
||||
#
|
@ -10,9 +10,9 @@ import
|
||||
# Standard library
|
||||
std/macros,
|
||||
# Internal
|
||||
../config/common,
|
||||
../primitives,
|
||||
./limbs
|
||||
../../config/common,
|
||||
../../primitives,
|
||||
../limbs
|
||||
|
||||
# ############################################################
|
||||
#
|
@ -10,9 +10,9 @@ import
|
||||
# Standard library
|
||||
std/macros,
|
||||
# Internal
|
||||
../config/common,
|
||||
../primitives,
|
||||
./limbs,
|
||||
../../config/common,
|
||||
../../primitives,
|
||||
../limbs,
|
||||
./limbs_asm_montred_x86
|
||||
|
||||
# ############################################################
|
@ -10,9 +10,9 @@ import
|
||||
# Standard library
|
||||
std/macros,
|
||||
# Internal
|
||||
../config/common,
|
||||
../primitives,
|
||||
./limbs,
|
||||
../../config/common,
|
||||
../../primitives,
|
||||
../limbs,
|
||||
./limbs_asm_montred_x86
|
||||
|
||||
# ############################################################
|
@ -10,9 +10,9 @@ import
|
||||
# Standard library
|
||||
std/macros,
|
||||
# Internal
|
||||
../config/common,
|
||||
../primitives,
|
||||
./limbs
|
||||
../../config/common,
|
||||
../../primitives,
|
||||
../limbs
|
||||
|
||||
# ############################################################
|
||||
#
|
@ -10,9 +10,9 @@ import
|
||||
# Standard library
|
||||
std/macros,
|
||||
# Internal
|
||||
../config/common,
|
||||
../primitives,
|
||||
./limbs,
|
||||
../../config/common,
|
||||
../../primitives,
|
||||
../limbs,
|
||||
./limbs_asm_montred_x86
|
||||
|
||||
# ############################################################
|
@ -10,8 +10,8 @@ import
|
||||
# Standard library
|
||||
std/macros,
|
||||
# Internal
|
||||
../config/common,
|
||||
../primitives
|
||||
../../config/common,
|
||||
../../primitives
|
||||
|
||||
# ############################################################
|
||||
#
|
@ -10,8 +10,8 @@ import
|
||||
# Standard library
|
||||
std/macros,
|
||||
# Internal
|
||||
../config/common,
|
||||
../primitives
|
||||
../../config/common,
|
||||
../../primitives
|
||||
|
||||
# ############################################################
|
||||
#
|
@ -10,8 +10,8 @@ import
|
||||
# Standard library
|
||||
std/macros,
|
||||
# Internal
|
||||
../config/common,
|
||||
../primitives
|
||||
../../config/common,
|
||||
../../primitives
|
||||
|
||||
# ############################################################
|
||||
#
|
@ -31,7 +31,7 @@ import
|
||||
./bigints, ./limbs_montgomery
|
||||
|
||||
when UseASM_X86_64:
|
||||
import ./limbs_asm_modular_x86
|
||||
import ./assembly/limbs_asm_modular_x86
|
||||
|
||||
when nimvm:
|
||||
from ../config/precompute import montyResidue_precompute
|
||||
|
@ -15,7 +15,7 @@ import
|
||||
./limbs_double_width
|
||||
|
||||
when UseASM_X86_64:
|
||||
import limbs_asm_modular_dbl_width_x86
|
||||
import assembly/limbs_asm_modular_dbl_width_x86
|
||||
|
||||
type FpDbl*[C: static Curve] = object
|
||||
## Double-width Fp element
|
||||
|
@ -11,10 +11,10 @@ import
|
||||
../primitives
|
||||
|
||||
when UseASM_X86_32:
|
||||
import ./limbs_asm_x86
|
||||
import ./assembly/limbs_asm_x86
|
||||
when UseASM_X86_64:
|
||||
import ./limbs_asm_mul_x86
|
||||
import ./limbs_asm_mul_x86_adx_bmi2
|
||||
import ./assembly/limbs_asm_mul_x86
|
||||
import ./assembly/limbs_asm_mul_x86_adx_bmi2
|
||||
|
||||
# ############################################################
|
||||
#
|
||||
|
@ -12,9 +12,9 @@ import
|
||||
./limbs
|
||||
|
||||
when UseASM_X86_32:
|
||||
import ./limbs_asm_montred_x86
|
||||
import ./assembly/limbs_asm_montred_x86
|
||||
when UseASM_X86_64:
|
||||
import ./limbs_asm_montred_x86_adx_bmi2
|
||||
import ./assembly/limbs_asm_montred_x86_adx_bmi2
|
||||
|
||||
# ############################################################
|
||||
#
|
||||
|
@ -16,8 +16,8 @@ import
|
||||
|
||||
when UseASM_X86_64:
|
||||
import
|
||||
./limbs_asm_montmul_x86,
|
||||
./limbs_asm_montmul_x86_adx_bmi2
|
||||
./assembly/limbs_asm_montmul_x86,
|
||||
./assembly/limbs_asm_montmul_x86_adx_bmi2
|
||||
|
||||
# ############################################################
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user