mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-08 20:26:31 +00:00
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:
parent
627e5af85a
commit
9657b80ce7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339183
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user