Skip to content

Commit

Permalink
[Blackfin] arch: Let the pre-processor do the math to save a few cycl…
Browse files Browse the repository at this point in the history
…es - no functional changes

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
  • Loading branch information
Robin Getz authored and Bryan Wu committed Dec 21, 2007
1 parent 6f3ed70 commit d5c4b5e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/blackfin/mach-common/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d5c4b5e

Please sign in to comment.