summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-10-08 15:22:27 +0300
committerVineet Gupta <vgupta@synopsys.com>2015-10-17 15:18:23 +0300
commit9fabcc636bf57dcb9c6fc5b1f34861c548944fd4 (patch)
treea3924e140769864304736e3f8354e62761bf693c /README
parent5f888087455c5199195c2ba17b91ac7285a33921 (diff)
downloadlinux-9fabcc636bf57dcb9c6fc5b1f34861c548944fd4.tar.xz
ARC: [arcompact] entry.S: Elide extra check/branch in exception ret path
This is done by improving the laddering logic ! Before: if Exception goto excep_or_pure_k_ret if !Interrupt(L2) goto l1_chk else INTERRUPT_EPILOGUE 2 l1_chk: if !Interrupt(L1) (i.e. pure kernel mode) goto excep_or_pure_k_ret else INTERRUPT_EPILOGUE 1 excep_or_pure_k_ret: EXCEPTION_EPILOGUE Now: if !Interrupt(L1 or L2) (i.e. exception or pure kernel mode) goto excep_or_pure_k_ret ; guaranteed to be an interrupt if !Interrupt(L2) goto l1_ret else INTERRUPT_EPILOGUE 2 ; by virtue of above, no need to chk for L1 active l1_ret: INTERRUPT_EPILOGUE 1 excep_or_pure_k_ret: EXCEPTION_EPILOGUE Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions