[Blackfin] arch: Let the pre-processor do the math to save a few cycles - no functional changes

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
This commit is contained in:
Robin Getz 2007-12-21 17:49:53 +08:00 committed by Bryan Wu
parent 6f3ed704b0
commit d5c4b5e3b2
1 changed files with 1 additions and 3 deletions

View File

@ -633,9 +633,7 @@ ENTRY(_ret_from_exception)
[sp + PT_IPEND] = r0;
1:
r1 = 0x37(Z);
r2 = ~r1;
r2.h = 0;
r2 = LO(~0x37) (Z);
r0 = r2 & r0;
cc = r0 == 0;
if !cc jump 4f; /* if not return to user mode, get out */