mirror of
https://github.com/torvalds/linux.git
synced 2024-12-31 23:31:29 +00:00
[IA64] Use dynamic prediction for RSE-clearing branches.
This by itself is good for a 1-2 cycle speed up. Effect is bigger when combined with the later patches. Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
06ef660816
commit
9ec1a7ad43
@ -1012,14 +1012,14 @@ rse_clear_invalid:
|
|||||||
mov loc5=0
|
mov loc5=0
|
||||||
mov loc6=0
|
mov loc6=0
|
||||||
mov loc7=0
|
mov loc7=0
|
||||||
(pRecurse) br.call.sptk.few b0=rse_clear_invalid
|
(pRecurse) br.call.dptk.few b0=rse_clear_invalid
|
||||||
;;
|
;;
|
||||||
mov loc8=0
|
mov loc8=0
|
||||||
mov loc9=0
|
mov loc9=0
|
||||||
cmp.ne pReturn,p0=r0,in1 // if recursion count != 0, we need to do a br.ret
|
cmp.ne pReturn,p0=r0,in1 // if recursion count != 0, we need to do a br.ret
|
||||||
mov loc10=0
|
mov loc10=0
|
||||||
mov loc11=0
|
mov loc11=0
|
||||||
(pReturn) br.ret.sptk.many b0
|
(pReturn) br.ret.dptk.many b0
|
||||||
#endif /* !CONFIG_ITANIUM */
|
#endif /* !CONFIG_ITANIUM */
|
||||||
# undef pRecurse
|
# undef pRecurse
|
||||||
# undef pReturn
|
# undef pReturn
|
||||||
|
Loading…
Reference in New Issue
Block a user