boringssl/crypto/chacha/asm
Adam Langley b99dc55f21 chacha/asm/chacha-x86.pl: improve [backward] portability.
(Imports upstream's d89773d659129368a341df746476da445d47ad31.)

In order to minimize dependency on assembler version a number of
post-SSE2 instructions are encoded manually. But in order to simplify
the procedure only register operands are considered. Non-register
operands are passed down to assembler. Module in question uses pshufb
with memory operands, and old [GNU] assembler can't handle it.
Fortunately in this case it's possible skip just the problematic
segment without skipping SSSE3 support altogether.

Change-Id: Ic3ba1eef14170f9922c2cc69e0d57315e99a788b
Reviewed-on: https://boringssl-review.googlesource.com/13778
Commit-Queue: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
2017-02-14 00:35:12 +00:00
..
chacha-armv4.pl Spelling fixes in Perl files. 2017-02-14 00:14:06 +00:00
chacha-armv8.pl Remove trailing whitespace from Perl files. 2017-02-14 00:13:55 +00:00
chacha-x86_64.pl x86_64 assembly pack: add Goldmont performance results. 2017-02-14 00:14:15 +00:00
chacha-x86.pl chacha/asm/chacha-x86.pl: improve [backward] portability. 2017-02-14 00:35:12 +00:00