This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [Question] about Inline asm
- To: lassy at samsung dot co dot kr
- Subject: Re: [Question] about Inline asm
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 03 May 2001 08:19:55 -0300
- Cc: help-gcc at gnu dot org
- Organization: GCC Team, Red Hat
- References: <H0000544065aa33b.0988616434.kgomap0@MHS>
On Apr 30, 2001, lassy@samsung.co.kr wrote:
> I've got a problem about Inline Assembly.
I'm not sure I could understand your problem. Is GCC emitting
incorrect assembly code for ABSD? What did you expect, and what did
you get?
Note that, when you access arg1 and arg2 as doubles, you're invoking
undefined behavior, violating assumptions made by GCC's alias
analyzer, that may cause it not to keep the assignments to a and b
before the uses in the inlined copy of ABSD.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me