help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to avoid optimization of inline assembly?


From: Guy Harrison
Subject: Re: How to avoid optimization of inline assembly?
Date: Sun, 26 Sep 2004 01:59:22 GMT
User-agent: KNode/0.7.7

nospam wrote:

> Dear sir,
> 
> Consider the following code on ARM platform:

[snip]

> I tried to compile the code with -O3 flag and somehow all the inline
> assembly code are "optimized" which I optimized myself.
> 
> How can i prevent the inline assembly from being "optimized"?

Don't use optimisation on that compilation unit! ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]