Skip to content

Commit

Permalink
build/assembly.S: make --target=x86_64-pc-windows-gnu portable.
Browse files Browse the repository at this point in the history
Fixes #200.
  • Loading branch information
dot-asm committed Dec 14, 2023
1 parent 56f9198 commit d5c0cc0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build/assembly.S
Expand Up @@ -26,6 +26,19 @@
# include "elf/div3w-x86_64.s"
# include "elf/ct_is_square_mod_384-x86_64.s"
# elif defined(_WIN64) || defined(__CYGWIN__)
# if defined(__BLST_PORTABLE__)
# include "coff/sha256-portable-x86_64.s"
# define blst_sha256_block_data_order blst_sha256_block_ssse3
# define LSEH_begin_blst_sha256_block_data_order LSEH_begin_blst_sha256_block_ssse3
# define LSEH_body_blst_sha256_block_data_order LSEH_body_blst_sha256_block_ssse3
# define LSEH_info_blst_sha256_block_data_order_prologue LSEH_info_blst_sha256_block_ssse3_prologue
# define LSEH_body_blst_sha256_block_data_order LSEH_body_blst_sha256_block_ssse3
# define LSEH_epilogue_blst_sha256_block_data_order LSEH_epilogue_blst_sha256_block_ssse3
# define LSEH_info_blst_sha256_block_data_order_body LSEH_info_blst_sha256_block_ssse3_body
# define LSEH_epilogue_blst_sha256_block_data_order LSEH_epilogue_blst_sha256_block_ssse3
# define LSEH_end_blst_sha256_block_data_order LSEH_end_blst_sha256_block_ssse3
# define LSEH_info_blst_sha256_block_data_order_epilogue LSEH_info_blst_sha256_block_ssse3_epilogue
# endif
# include "coff/sha256-x86_64.s"
# if defined(__ADX__) || defined(__BLST_PORTABLE__)
# include "coff/ctx_inverse_mod_384-x86_64.s"
Expand Down

0 comments on commit d5c0cc0

Please sign in to comment.