Skip to content

Commit

Permalink
Merge BoringSSL 20c93ab: Remove OPENSSL_IA32_SSE2 checks in x86 perlasm.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Jan 21, 2025
2 parents 7fb4201 + 20c93ab commit ee7f382
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crypto/chacha/asm/chacha-x86.pl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
$output=pop;
open STDOUT,">$output";

&asm_init($ARGV[0],$ARGV[$#ARGV] eq "386");
&asm_init($ARGV[0]);

$xmm=$ymm=1;
$gasver=999; # enable everything
Expand Down
2 changes: 1 addition & 1 deletion crypto/fipsmodule/aes/asm/vpaes-x86.pl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
open OUT,">$output";
*STDOUT=*OUT;

&asm_init($ARGV[0],$x86only = $ARGV[$#ARGV] eq "386");
&asm_init($ARGV[0]);

$PREFIX="vpaes";

Expand Down
3 changes: 1 addition & 2 deletions crypto/fipsmodule/bn/asm/x86-mont.pl
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@

&asm_init($ARGV[0]);

$sse2=0;
for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); }
$sse2=1;

&external_label("OPENSSL_ia32cap_P") if ($sse2);

Expand Down
3 changes: 2 additions & 1 deletion crypto/fipsmodule/modes/asm/ghash-x86.pl
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,9 @@
$output=pop;
open STDOUT,">$output";

&asm_init($ARGV[0],$x86only = $ARGV[$#ARGV] eq "386");
&asm_init($ARGV[0]);

$x86only=0;
$sse2=1;

if (!$x86only) {{{
Expand Down

0 comments on commit ee7f382

Please sign in to comment.