Move assembly to their own folder
This commit is contained in:
parent
03d58ac1e7
commit
3f48a590e8
|
@ -10,8 +10,8 @@ import
|
||||||
# Standard library
|
# Standard library
|
||||||
std/macros,
|
std/macros,
|
||||||
# Internal
|
# Internal
|
||||||
../config/common,
|
../../config/common,
|
||||||
../primitives
|
../../primitives
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
||||||
#
|
#
|
|
@ -10,9 +10,9 @@ import
|
||||||
# Standard library
|
# Standard library
|
||||||
std/macros,
|
std/macros,
|
||||||
# Internal
|
# Internal
|
||||||
../config/common,
|
../../config/common,
|
||||||
../primitives,
|
../../primitives,
|
||||||
./limbs
|
../limbs
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
||||||
#
|
#
|
|
@ -10,9 +10,9 @@ import
|
||||||
# Standard library
|
# Standard library
|
||||||
std/macros,
|
std/macros,
|
||||||
# Internal
|
# Internal
|
||||||
../config/common,
|
../../config/common,
|
||||||
../primitives,
|
../../primitives,
|
||||||
./limbs,
|
../limbs,
|
||||||
./limbs_asm_montred_x86
|
./limbs_asm_montred_x86
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
|
@ -10,9 +10,9 @@ import
|
||||||
# Standard library
|
# Standard library
|
||||||
std/macros,
|
std/macros,
|
||||||
# Internal
|
# Internal
|
||||||
../config/common,
|
../../config/common,
|
||||||
../primitives,
|
../../primitives,
|
||||||
./limbs,
|
../limbs,
|
||||||
./limbs_asm_montred_x86
|
./limbs_asm_montred_x86
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
|
@ -10,9 +10,9 @@ import
|
||||||
# Standard library
|
# Standard library
|
||||||
std/macros,
|
std/macros,
|
||||||
# Internal
|
# Internal
|
||||||
../config/common,
|
../../config/common,
|
||||||
../primitives,
|
../../primitives,
|
||||||
./limbs
|
../limbs
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
||||||
#
|
#
|
|
@ -10,9 +10,9 @@ import
|
||||||
# Standard library
|
# Standard library
|
||||||
std/macros,
|
std/macros,
|
||||||
# Internal
|
# Internal
|
||||||
../config/common,
|
../../config/common,
|
||||||
../primitives,
|
../../primitives,
|
||||||
./limbs,
|
../limbs,
|
||||||
./limbs_asm_montred_x86
|
./limbs_asm_montred_x86
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
|
@ -10,8 +10,8 @@ import
|
||||||
# Standard library
|
# Standard library
|
||||||
std/macros,
|
std/macros,
|
||||||
# Internal
|
# Internal
|
||||||
../config/common,
|
../../config/common,
|
||||||
../primitives
|
../../primitives
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
||||||
#
|
#
|
|
@ -10,8 +10,8 @@ import
|
||||||
# Standard library
|
# Standard library
|
||||||
std/macros,
|
std/macros,
|
||||||
# Internal
|
# Internal
|
||||||
../config/common,
|
../../config/common,
|
||||||
../primitives
|
../../primitives
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
||||||
#
|
#
|
|
@ -10,8 +10,8 @@ import
|
||||||
# Standard library
|
# Standard library
|
||||||
std/macros,
|
std/macros,
|
||||||
# Internal
|
# Internal
|
||||||
../config/common,
|
../../config/common,
|
||||||
../primitives
|
../../primitives
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
||||||
#
|
#
|
|
@ -31,7 +31,7 @@ import
|
||||||
./bigints, ./limbs_montgomery
|
./bigints, ./limbs_montgomery
|
||||||
|
|
||||||
when UseASM_X86_64:
|
when UseASM_X86_64:
|
||||||
import ./limbs_asm_modular_x86
|
import ./assembly/limbs_asm_modular_x86
|
||||||
|
|
||||||
when nimvm:
|
when nimvm:
|
||||||
from ../config/precompute import montyResidue_precompute
|
from ../config/precompute import montyResidue_precompute
|
||||||
|
|
|
@ -15,7 +15,7 @@ import
|
||||||
./limbs_double_width
|
./limbs_double_width
|
||||||
|
|
||||||
when UseASM_X86_64:
|
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
|
type FpDbl*[C: static Curve] = object
|
||||||
## Double-width Fp element
|
## Double-width Fp element
|
||||||
|
|
|
@ -11,10 +11,10 @@ import
|
||||||
../primitives
|
../primitives
|
||||||
|
|
||||||
when UseASM_X86_32:
|
when UseASM_X86_32:
|
||||||
import ./limbs_asm_x86
|
import ./assembly/limbs_asm_x86
|
||||||
when UseASM_X86_64:
|
when UseASM_X86_64:
|
||||||
import ./limbs_asm_mul_x86
|
import ./assembly/limbs_asm_mul_x86
|
||||||
import ./limbs_asm_mul_x86_adx_bmi2
|
import ./assembly/limbs_asm_mul_x86_adx_bmi2
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
||||||
#
|
#
|
||||||
|
|
|
@ -12,9 +12,9 @@ import
|
||||||
./limbs
|
./limbs
|
||||||
|
|
||||||
when UseASM_X86_32:
|
when UseASM_X86_32:
|
||||||
import ./limbs_asm_montred_x86
|
import ./assembly/limbs_asm_montred_x86
|
||||||
when UseASM_X86_64:
|
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:
|
when UseASM_X86_64:
|
||||||
import
|
import
|
||||||
./limbs_asm_montmul_x86,
|
./assembly/limbs_asm_montmul_x86,
|
||||||
./limbs_asm_montmul_x86_adx_bmi2
|
./assembly/limbs_asm_montmul_x86_adx_bmi2
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue