Thread (8 messages) flat view 8 messages, 4 authors, 2007-10-19

Re: [PATCH 2/2] powerpc: Switch to generic WARN_ON()/BUG_ON()

From: Paul Mackerras <hidden>
Date: 2007-10-12 01:24:09
Also in: lkml

Olof Johansson writes:
Not using the ppc-specific WARN_ON/BUG_ON constructs actually saves about
4K text on a ppc64_defconfig. The main reason seems to be that prepping
the arguments to the conditional trap instructions is more work than
just doing a compare and branch.
It might be more instructions but it takes fewer cycles, I would
expect.  Do you have the actual instruction sequences to compare?

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help