Clang fixes
Clang doesn't support `/` as comment in assembly, this patch replaces them with `#`. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Leorize <alaviss@users.noreply.github.com> Closes #6311
This commit is contained in:
parent
02dc43bc46
commit
688c94c5c0
|
@ -100,12 +100,12 @@ ENTRY_NP(SHA256TransformBlocks)
|
||||||
mov %rdx,16*4+2*8(%rsp) # save end pointer, "3rd" arg
|
mov %rdx,16*4+2*8(%rsp) # save end pointer, "3rd" arg
|
||||||
mov %rbp,16*4+3*8(%rsp) # save copy of %rsp
|
mov %rbp,16*4+3*8(%rsp) # save copy of %rsp
|
||||||
|
|
||||||
/.picmeup %rbp
|
#.picmeup %rbp
|
||||||
/ The .picmeup pseudo-directive, from perlasm/x86_64_xlate.pl, puts
|
# The .picmeup pseudo-directive, from perlasm/x86_64_xlate.pl, puts
|
||||||
/ the address of the "next" instruction into the target register
|
# the address of the "next" instruction into the target register
|
||||||
/ (%rbp). This generates these 2 instructions:
|
# (%rbp). This generates these 2 instructions:
|
||||||
lea .Llea(%rip),%rbp
|
lea .Llea(%rip),%rbp
|
||||||
/nop / .picmeup generates a nop for mod 8 alignment--not needed here
|
#nop # .picmeup generates a nop for mod 8 alignment--not needed here
|
||||||
|
|
||||||
.Llea:
|
.Llea:
|
||||||
lea K256-.(%rbp),%rbp
|
lea K256-.(%rbp),%rbp
|
||||||
|
|
|
@ -101,12 +101,12 @@ ENTRY_NP(SHA512TransformBlocks)
|
||||||
mov %rdx,16*8+2*8(%rsp) # save end pointer, "3rd" arg
|
mov %rdx,16*8+2*8(%rsp) # save end pointer, "3rd" arg
|
||||||
mov %rbp,16*8+3*8(%rsp) # save copy of %rsp
|
mov %rbp,16*8+3*8(%rsp) # save copy of %rsp
|
||||||
|
|
||||||
/.picmeup %rbp
|
#.picmeup %rbp
|
||||||
/ The .picmeup pseudo-directive, from perlasm/x86_64_xlate.pl, puts
|
# The .picmeup pseudo-directive, from perlasm/x86_64_xlate.pl, puts
|
||||||
/ the address of the "next" instruction into the target register
|
# the address of the "next" instruction into the target register
|
||||||
/ (%rbp). This generates these 2 instructions:
|
# (%rbp). This generates these 2 instructions:
|
||||||
lea .Llea(%rip),%rbp
|
lea .Llea(%rip),%rbp
|
||||||
/nop / .picmeup generates a nop for mod 8 alignment--not needed here
|
#nop # .picmeup generates a nop for mod 8 alignment--not needed here
|
||||||
|
|
||||||
.Llea:
|
.Llea:
|
||||||
lea K512-.(%rbp),%rbp
|
lea K512-.(%rbp),%rbp
|
||||||
|
|
Loading…
Reference in New Issue