Compiler listing file

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Compiler listing file

882件の閲覧回数
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 返答(返信)

872件の閲覧回数
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 件の賞賛
返信

872件の閲覧回数
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 件の賞賛
返信

872件の閲覧回数
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 件の賞賛
返信