mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
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 %rbp,16*4+3*8(%rsp) # save copy of %rsp
|
||||
|
||||
/.picmeup %rbp
|
||||
/ The .picmeup pseudo-directive, from perlasm/x86_64_xlate.pl, puts
|
||||
/ the address of the "next" instruction into the target register
|
||||
/ (%rbp). This generates these 2 instructions:
|
||||
#.picmeup %rbp
|
||||
# The .picmeup pseudo-directive, from perlasm/x86_64_xlate.pl, puts
|
||||
# the address of the "next" instruction into the target register
|
||||
# (%rbp). This generates these 2 instructions:
|
||||
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:
|
||||
lea K256-.(%rbp),%rbp
|
||||
|
@ -101,12 +101,12 @@ ENTRY_NP(SHA512TransformBlocks)
|
||||
mov %rdx,16*8+2*8(%rsp) # save end pointer, "3rd" arg
|
||||
mov %rbp,16*8+3*8(%rsp) # save copy of %rsp
|
||||
|
||||
/.picmeup %rbp
|
||||
/ The .picmeup pseudo-directive, from perlasm/x86_64_xlate.pl, puts
|
||||
/ the address of the "next" instruction into the target register
|
||||
/ (%rbp). This generates these 2 instructions:
|
||||
#.picmeup %rbp
|
||||
# The .picmeup pseudo-directive, from perlasm/x86_64_xlate.pl, puts
|
||||
# the address of the "next" instruction into the target register
|
||||
# (%rbp). This generates these 2 instructions:
|
||||
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:
|
||||
lea K512-.(%rbp),%rbp
|
||||
|
Loading…
Reference in New Issue
Block a user