Remove unneeded CLDs instructions in the SMAP-ed version of several

functions from support.S.

I believe they re-appeared due to me mis-merging my r327820 into the
topic branch.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
kib 2018-07-30 16:54:51 +00:00
parent f9a484901c
commit 893bfcbd5a

View File

@ -307,7 +307,6 @@ ENTRY(copyout_smap)
movq %rdx,%rcx
shrq $3,%rcx
cld
stac
rep
movsq
@ -358,7 +357,6 @@ ENTRY(copyin_nosmap)
movq %rdx,%rcx
movb %cl,%al
shrq $3,%rcx /* copy longword-wise */
cld
rep
movsq
movb %al,%cl
@ -887,7 +885,6 @@ ENTRY(copyinstr_nosmap)
movq %rax,%r8
1:
incq %rdx
cld
2:
decq %rdx