New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arch: inline up_interrupt_context() #6286
Conversation
What are the code size and C89 implication? |
@davids5 , There is a slight increase in code size, but overall the impact is not very serious Before:
After:
sabre-6quad:smp(Cortex-a9,smp): Before:
After:
about C89 compatible, It seems that the current code base can no longer be built with c89 normally(without this PR), too many inline keywords, the inline keyword was added in C99, I think we can use the -std=gnu89 flag instead of -std=c89 |
6b5cedf
to
74a40e9
Compare
c9c3594
to
f55a998
Compare
6255461
to
01ec857
Compare
bbed952
to
bc836ce
Compare
7505ce5
to
f418566
Compare
c35a0a5
to
fbbda02
Compare
ef66100
to
82d48cc
Compare
inline the up_interrupt_context() to avoid unnecessary stack pushes Signed-off-by: chao.an <anchao@xiaomi.com>
Summary
arch: inline up_interrupt_context()
inline the up_interrupt_context() to avoid unnecessary stack pushes
Signed-off-by: chao.an anchao@xiaomi.com
Impact
N/A
Testing
ci check