Use // instead of # for comments inside armv8 asm.

Using # has slightly ambiguous with the preprocessor.

Fixed: 496
Change-Id: Ib718dde957ee541d580096128405a7edde3b1bd4
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/52785
Reviewed-by: Adam Langley <agl@google.com>
chromium-5359
David Benjamin 3 years ago committed by Adam Langley
parent 451ea3ca3e
commit a8b1633d1c
  1. 16
      crypto/cipher_extra/asm/chacha20_poly1305_armv8.pl

@ -378,9 +378,9 @@ chacha20_poly1305_seal:
.cfi_offset w30, -72
.cfi_offset w29, -80
mov x29, sp
# We probably could do .cfi_def_cfa w29, 80 at this point, but since
# we don't actually use the frame pointer like that, it's probably not
# worth bothering.
// We probably could do .cfi_def_cfa w29, 80 at this point, but since
// we don't actually use the frame pointer like that, it's probably not
// worth bothering.
stp d8, d9, [sp, #16]
stp d10, d11, [sp, #32]
stp d12, d13, [sp, #48]
@ -881,7 +881,7 @@ ___
&poly_add_vec($LEN_STORE);
&poly_mul();
$code.=<<___;
# Final reduction step
// Final reduction step
sub $t1, xzr, $one
orr $t2, xzr, #3
subs $t0, $acc0, #-5
@ -986,9 +986,9 @@ chacha20_poly1305_open:
.cfi_offset w30, -72
.cfi_offset w29, -80
mov x29, sp
# We probably could do .cfi_def_cfa w29, 80 at this point, but since
# we don't actually use the frame pointer like that, it's probably not
# worth bothering.
// We probably could do .cfi_def_cfa w29, 80 at this point, but since
// we don't actually use the frame pointer like that, it's probably not
// worth bothering.
stp d8, d9, [sp, #16]
stp d10, d11, [sp, #32]
stp d12, d13, [sp, #48]
@ -1502,7 +1502,7 @@ ___
&poly_add_vec($LEN_STORE);
&poly_mul();
$code.=<<___;
# Final reduction step
// Final reduction step
sub $t1, xzr, $one
orr $t2, xzr, #3
subs $t0, $acc0, #-5

Loading…
Cancel
Save