Re: PerlASM for x64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In message <3fc4d543-d71a-8c22-566a-d902c4f7da03@xxxxxxxxx> on Mon, 24 Dec 2018 13:17:51 +0100, Gisle Vanem <gisle.vanem@xxxxxxxxx> said:

> Richard Levitte wrote:
> 
> >> I experimented some more. I figured the "auto" does not work.
> >> But this works:
> >>    perl crypto\aes\asm\aesni-x86_64.pl nasm > tmp-file.s
> >>    diff tmp-file.s crypto\aes\aesni-x86_64.asm
> >>
> >> No diffs.
> >>
> >> Why does the the generation of .asm-files be so damn hard to
> >> figure out? Some cmd-line help to show what "auto" does would
> >> be nice.
> > The "auto" flavor takes note of the output file extension.  .asm vs .s
> > in this case.
> 
> Thank, but it was a typo in my 1st email. The correct command was
> with a redirect:
>   set ASM=nasm
>   f:\util\StrawberryPerl\perl\bin\perl crypto\aes\asm\aesni-x86_64.pl
>   auto > tmp-file.s

That isn't a correct use of the script.  All of the assembler perl
scripts expect the output file as last argument, and the x86_64 ones
do look at the output file and determines that if the extension is
'.asm', nasm assembler is expected, otherwise you will get gas
assembler.  So if you redirect, the result is, mildly put, undefined.

Thank you, though...  it is time the assembler stuff gets documented,
and I think I'm in a fairly good position to do so.  I will not
promise that it will happen fast, but it is in my backlog.

Cheers,
Richard

-- 
Richard Levitte         levitte@xxxxxxxxxxx
OpenSSL Project         http://www.openssl.org/~levitte/
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux