提交 d5c4b5e3 编写于 作者: R Robin Getz 提交者: Bryan Wu

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

Signed-off-by: NRobin Getz <robin.getz@analog.com>
Signed-off-by: NBryan Wu <bryan.wu@analog.com>
上级 6f3ed704
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册