Compiler listing file

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compiler listing file

884 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rkiryanov on Fri Feb 05 01:09:46 MST 2010
I want to see, what is actually generated. Please prompt me, where it option is.
0 Kudos
Reply
3 Replies

874 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Feb 05 03:55:41 MST 2010
OK, I think what you are asking for is for your inline assembler functions to actually be inlined by the compiler.

Marking them as "inline" will sometime cause this to happen, depending on optimisation options - but not always.

You need to use the gnu "always inline" attribute on the function to ensure that they always inlined.

Best regards,

CodeRedSupport
0 Kudos
Reply

874 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rkiryanov on Fri Feb 05 02:04:28 MST 2010
Can you support intrinsic functions instead of inline assembler functions? Inline assembler generates mediocre code: i.e. redundant bl, bx, and call preparations such as mov r0, ri; saving r0, restoring r0. Inline assembler will slow my OS :(
0 Kudos
Reply

874 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Feb 05 01:20:13 MST 2010
See this thread in the forum for a couple of choices:
http://knowledgebase.nxp.trimm.net/showthread.php?t=54
0 Kudos
Reply