[Bug inline-asm/39116] wrong register used when generating assembly with -O1

2009-02-06 Thread fabrice at mocana dot com
--- Comment #6 from fabrice at mocana dot com 2009-02-06 17:16 --- (In reply to comment #5) Closing this as invalid. The problem is the interaction of the inline assembly with the optimization option -funswitch-loops. Will submit a new bug if I can find a simple way to reproduce it

[Bug inline-asm/39116] wrong register used when generating assembly with -O1

2009-02-05 Thread fabrice at mocana dot com
--- Comment #5 from fabrice at mocana dot com 2009-02-06 04:24 --- (In reply to comment #4) > Yes, initializing b[1] makes the problem go away in the snippet. I see this > problem in a much larger program but I can't reproduce it in a simple context. > Feel free to cl

[Bug inline-asm/39116] wrong register used when generating assembly with -O1

2009-02-05 Thread fabrice at mocana dot com
--- Comment #4 from fabrice at mocana dot com 2009-02-06 03:48 --- (In reply to comment #3) > b[1] is uninitialized. Yes, initializing b[1] makes the problem go away in the snippet. I see this problem in a much larger program but I can't reproduce it in a simple context. Feel

[Bug inline-asm/39116] wrong register used when generating assembly with -O1

2009-02-05 Thread fabrice at mocana dot com
--- Comment #2 from fabrice at mocana dot com 2009-02-06 01:51 --- Created an attachment (id=17258) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17258&action=view) generated assembly note the mulq %rax instruction towards the end. -- http://gcc.gnu.org/bugzilla/show_

[Bug inline-asm/39116] wrong register used when generating assembly with -O1

2009-02-05 Thread fabrice at mocana dot com
--- Comment #1 from fabrice at mocana dot com 2009-02-06 01:50 --- Created an attachment (id=17257) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17257&action=view) preprocessed file Note that all multiplicands are distinct. -- http://gcc.gnu.org/bugzilla/show_bug

[Bug inline-asm/39116] New: wrong register used when generating assembly with -O1

2009-02-05 Thread fabrice at mocana dot com
Severity: normal Priority: P3 Component: inline-asm AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fabrice at mocana dot com GCC build triplet: x86_64-suse-linux GCC host triplet: x86_64-suse-linux GCC target triplet: x86_64-suse-linux http://gcc.

[Bug inline-asm/39114] wrong register (xmm) used when compiling inline assembly with msse2 option

2009-02-05 Thread fabrice at mocana dot com
--- Comment #1 from fabrice at mocana dot com 2009-02-05 22:05 --- Created an attachment (id=17253) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17253&action=view) preprocessed file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39114

[Bug inline-asm/39114] New: wrong register (xmm) used when compiling inline assembly with msse2 option

2009-02-05 Thread fabrice at mocana dot com
ary: wrong register (xmm) used when compiling inline assembly with msse2 option Product: gcc Version: 4.1.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: inline-asm AssignedTo: unassigned at gcc dot gnu d