Eliminate two pushl by using call instruction directly, this really
helps branch predict a lot for INTEL P4. Approved by: re (scottl)
This commit is contained in:
parent
2cc3179bff
commit
639818d0f3
@ -40,6 +40,5 @@ ENTRY(_i386_enter_uts)
|
||||
addl 16(%edx), %eax /* add length */
|
||||
movl %eax, %esp /* switch to uts stack */
|
||||
pushl 4(%edx) /* push the address of the mailbox */
|
||||
pushl 8(%edx) /* .. the uts can return to itself */
|
||||
pushl 8(%edx) /* .. the uts can return to itself */
|
||||
call *8(%edx)
|
||||
ret
|
||||
|
@ -40,6 +40,5 @@ ENTRY(_i386_enter_uts)
|
||||
addl 16(%edx), %eax /* add length */
|
||||
movl %eax, %esp /* switch to uts stack */
|
||||
pushl 4(%edx) /* push the address of the mailbox */
|
||||
pushl 8(%edx) /* .. the uts can return to itself */
|
||||
pushl 8(%edx) /* .. the uts can return to itself */
|
||||
call *8(%edx)
|
||||
ret
|
||||
|
Loading…
x
Reference in New Issue
Block a user