[Bug c/43782] Erroneous expansion of __asm__() directive

2010-04-29 Thread beebe at math dot utah dot edu
--- Comment #7 from beebe at math dot utah dot edu 2010-04-30 00:23 --- Subject: Re: Erroneous expansion of __asm__() directive I accept the explanation of the problem with my sample __asm__() directive, and I think that we can close my bug report at http://gcc.gnu.org/bugzill

[Bug c/43782] Erroneous expansion of __asm__() directive

2010-04-19 Thread pinskia at gmail dot com
--- Comment #6 from pinskia at gmail dot com 2010-04-19 15:07 --- Subject: Re: Erroneous expansion of __asm__() directive Sent from my iPhone On Apr 19, 2010, at 7:35 AM, "Nelson H. F. Beebe" wrote: >>> That is wrong because with AT&T style x86 asm, the src is first >>> and th

[Bug c/43782] Erroneous expansion of __asm__() directive

2010-04-19 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-04-19 14:56 --- Nobody changed the order of arguments, in AT&T syntax always the result is the last, in Intel syntax (not the default on Linux unless -masm=intel) the result is the first. Perhaps you were lucky and both the input and

[Bug c/43782] Erroneous expansion of __asm__() directive

2010-04-19 Thread beebe at math dot utah dot edu
--- Comment #4 from beebe at math dot utah dot edu 2010-04-19 14:35 --- Subject: Re: Erroneous expansion of __asm__() directive >> That is wrong because with AT&T style x86 asm, the src is first and the dest >> is >> second. That cannot be the case: you cannot change the operand orde

[Bug c/43782] Erroneous expansion of __asm__() directive

2010-04-19 Thread beebe at math dot utah dot edu
--- Comment #3 from beebe at math dot utah dot edu 2010-04-19 14:34 --- Subject: Re: Erroneous expansion of __asm__() directive >> Oh I forgot to mention, sqrt will use sqrtsd and will be inlined so you don't >> need to use inline-asm yourself. The test code that I sent is an extract

[Bug c/43782] Erroneous expansion of __asm__() directive

2010-04-17 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-04-18 06:45 --- Oh I forgot to mention, sqrt will use sqrtsd and will be inlined so you don't need to use inline-asm yourself. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43782

[Bug c/43782] Erroneous expansion of __asm__() directive

2010-04-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-04-18 06:44 --- You have the wrong inline-asm: sqrtsd %0, %1 That is wrong because with AT&T style x86 asm, the src is first and the dest is second. -- pinskia at gcc dot gnu dot org changed: What|Removed