Compiler listing file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Compiler listing file

951 次查看
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 项奖励
回复
3 回复数

941 次查看
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 项奖励
回复

941 次查看
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 项奖励
回复

941 次查看
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 项奖励
回复