[curves] Distribution-ready optimized code

Samuel Neves sneves at dei.uc.pt
Thu Mar 19 11:36:19 PDT 2015


On 03/19/2015 05:03 PM, Watson Ladd wrote:
> What about mixed 1 and 4? Distribute asm a tool made.

This has the same problem as 1: you don't simply distribute one assembly dump, you have to distribute one for each
toolchain/ABI/etc combo. For example:

 - One for SysV ABI, AT&T syntax, and Sandy Bridge;
 - One for Windows x64 ABI, AT&T syntax, and Sandy Bridge (e.g., MinGW)
 - One for Windows x64 ABI, Intel syntax (NASM/YASM), and Sandy Bridge
 - One for Windows x64 ABI, Intel syntax (MASM), and Sandy Bridge
 - One for Go's Plan9 assembly syntax and calling convention, and Sandy Bridge
 - One for SysV ABI, AT&T syntax, and Haswell
 - One for ...

It's not really a major problem, but it is annoying enough that I would very much prefer if the tool came with the
distribution. For that to happen, the tool must be portable, polished, etc. OpenSSL went with Perl, but I would prefer
something better.

Best regards,
Samuel Neves



More information about the Curves mailing list