Move assembly to their own folder

This commit is contained in:
Mamy André-Ratsimbazafy 2020-09-27 17:25:21 +02:00
parent 03d58ac1e7
commit 3f48a590e8
No known key found for this signature in database
GPG Key ID: 7B88AD1FE79492E1
14 changed files with 32 additions and 32 deletions

View File

@ -10,8 +10,8 @@ import
# Standard library # Standard library
std/macros, std/macros,
# Internal # Internal
../config/common, ../../config/common,
../primitives ../../primitives
# ############################################################ # ############################################################
# #

View File

@ -10,9 +10,9 @@ import
# Standard library # Standard library
std/macros, std/macros,
# Internal # Internal
../config/common, ../../config/common,
../primitives, ../../primitives,
./limbs ../limbs
# ############################################################ # ############################################################
# #

View File

@ -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
# ############################################################ # ############################################################

View File

@ -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
# ############################################################ # ############################################################

View File

@ -10,9 +10,9 @@ import
# Standard library # Standard library
std/macros, std/macros,
# Internal # Internal
../config/common, ../../config/common,
../primitives, ../../primitives,
./limbs ../limbs
# ############################################################ # ############################################################
# #

View File

@ -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
# ############################################################ # ############################################################

View File

@ -10,8 +10,8 @@ import
# Standard library # Standard library
std/macros, std/macros,
# Internal # Internal
../config/common, ../../config/common,
../primitives ../../primitives
# ############################################################ # ############################################################
# #

View File

@ -10,8 +10,8 @@ import
# Standard library # Standard library
std/macros, std/macros,
# Internal # Internal
../config/common, ../../config/common,
../primitives ../../primitives
# ############################################################ # ############################################################
# #

View File

@ -10,8 +10,8 @@ import
# Standard library # Standard library
std/macros, std/macros,
# Internal # Internal
../config/common, ../../config/common,
../primitives ../../primitives
# ############################################################ # ############################################################
# #

View File

@ -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

View File

@ -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

View File

@ -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
# ############################################################ # ############################################################
# #

View File

@ -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
# ############################################################ # ############################################################
# #

View File

@ -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
# ############################################################ # ############################################################
# #