[Bug inline-asm/37758] Assembler failure: Error: syntax error; found `,' but expected `('

2008-10-07 Thread schwab at suse dot de
--- Comment #5 from schwab at suse dot de 2008-10-07 07:55 --- Invalid asm constraints, so not a gcc bug. -- schwab at suse dot de changed: What|Removed |Added

[Bug inline-asm/37758] Assembler failure: Error: syntax error; found `,' but expected `('

2008-10-06 Thread patrick at motec dot com dot au
--- Comment #4 from patrick at motec dot com dot au 2008-10-06 23:31 --- I'm not personally responsible for this code, it is part of the LibTomMath library. Changing the constraint to either =o or =g appears to resolve the problem (will need to test). -- patrick at motec dot com do

[Bug inline-asm/37758] Assembler failure: Error: syntax error; found `,' but expected `('

2008-10-06 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-10-06 23:12 --- You either need to require [reg+offset] or use stw%U0%X0 for the "m" constraint. Likewise for lwz. The other question is why are you using inline-asm in the first place for the load/stores. -- pinskia at gcc do

[Bug inline-asm/37758] Assembler failure: Error: syntax error; found `,' but expected `('

2008-10-06 Thread patrick at motec dot com dot au
--- Comment #2 from patrick at motec dot com dot au 2008-10-06 23:10 --- The problem appears to be that the loop for (; y < pa; y++) { asm(" mullw16,%3,%4 \n\t" " mulhwu 17,%3,%4 \n\t" " addc 16,16,%0 \n\t"

[Bug inline-asm/37758] Assembler failure: Error: syntax error; found `,' but expected `('

2008-10-06 Thread patrick at motec dot com dot au
--- Comment #1 from patrick at motec dot com dot au 2008-10-06 23:06 --- Created an attachment (id=16468) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16468&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37758