cipher: xmm: enable preprocessor

This fixes the #if defined(...) for .note.GNU-stack to actually work as
expected.

All comments in the assembly files are converted to C++ syntax to avoid
clashing with preprocessor directives.
This commit is contained in:
Matthias Schiffer 2024-12-29 17:55:38 +01:00
parent cce04acd60
commit 5e9c49ed26
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
10 changed files with 19434 additions and 19434 deletions

View file

@ -3,9 +3,9 @@ if get_option('cipher_salsa20_xmm').disabled()
endif endif
if host_machine.cpu_family() == 'x86_64' if host_machine.cpu_family() == 'x86_64'
asm_impl = 'salsa20_amd64_xmm6.s' asm_impl = 'salsa20_amd64_xmm6.S'
elif host_machine.cpu_family() == 'x86' elif host_machine.cpu_family() == 'x86'
asm_impl = 'salsa20_x86_xmm5.s' asm_impl = 'salsa20_x86_xmm5.S'
elif get_option('cipher_salsa20_xmm').auto() elif get_option('cipher_salsa20_xmm').auto()
subdir_done() subdir_done()
else else

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -3,9 +3,9 @@ if get_option('cipher_salsa2012_xmm').disabled()
endif endif
if host_machine.cpu_family() == 'x86_64' if host_machine.cpu_family() == 'x86_64'
asm_impl = 'salsa2012_amd64_xmm6.s' asm_impl = 'salsa2012_amd64_xmm6.S'
elif host_machine.cpu_family() == 'x86' elif host_machine.cpu_family() == 'x86'
asm_impl = 'salsa2012_x86_xmm5.s' asm_impl = 'salsa2012_x86_xmm5.S'
elif get_option('cipher_salsa2012_xmm').auto() elif get_option('cipher_salsa2012_xmm').auto()
subdir_done() subdir_done()
else else

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff