[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to avoid optimization of inline assembly?
From: |
Sean McManus |
Subject: |
Re: How to avoid optimization of inline assembly? |
Date: |
Wed, 22 Sep 2004 23:31:34 -0700 |
> 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"?
I would compile the function with asm code separately without using the
optimization flags. Maybe someone else might know a better way. I've always
seen asm code in separate files, not "inlined".