amd64: hide non-erms jump label under non-erms copyin/copyout

This change is a no-op in terms of semantics, but has a side effect
of removing a perfectly useless nop sled for CPUs with ERMS.

Approved by:	re (gjb)
Sponsored by:   The FreeBSD Foundation
This commit is contained in:
Mateusz Guzik 2018-10-04 20:01:48 +00:00
parent 627e5af85a
commit 9657b80ce7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339183

View File

@ -457,9 +457,9 @@ END(fillw)
movq %rax,PCB_ONFAULT(%r9)
POP_FRAME_POINTER
ret
.endif
ALIGN_TEXT
1:
.endif
rep
movsb
@ -525,9 +525,9 @@ END(copyout_smap_erms)
movq %rax,PCB_ONFAULT(%r9)
POP_FRAME_POINTER
ret
.endif
ALIGN_TEXT
1:
.endif
rep
movsb