[Bug inline-asm/40621] GCC doesn't take into account ECX being modified inside inline assembler

2009-07-02 Thread hunterggl at gmail dot com
--- Comment #4 from hunterggl at gmail dot com 2009-07-02 17:46 --- (In reply to comment #3) > For both mulscale and divscale you have ecx as an input register but nothing > marks it as being modified so GCC does not know that. It does not read the > template string to figure

[Bug inline-asm/40621] GCC doesn't take into account ECX being modified inside inline assembler

2009-07-02 Thread hunterggl at gmail dot com
--- Comment #2 from hunterggl at gmail dot com 2009-07-02 16:39 --- Created an attachment (id=18123) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18123&action=view) Comparison of asm -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40621

[Bug inline-asm/40621] GCC doesn't take into account ECX being modified inside inline assembler

2009-07-02 Thread hunterggl at gmail dot com
--- Comment #1 from hunterggl at gmail dot com 2009-07-02 16:38 --- Created an attachment (id=18122) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18122&action=view) Test file This a small fragment of code that causes problems -- http://gcc.gnu.org/bugzilla/show_bug

[Bug inline-asm/40621] New: GCC doesn't take into account ECX being modified inside inline assembler

2009-07-02 Thread hunterggl at gmail dot com
") with putch(' '). -- Summary: GCC doesn't take into account ECX being modified inside inline assembler Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: inline-asm AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hunterggl at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40621