public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53071] New: Wrong instruction replacement when compiling for xop
@ 2012-04-22 10:07 agner at agner dot org
  2012-04-22 10:09 ` [Bug target/53071] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: agner at agner dot org @ 2012-04-22 10:07 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53071

             Bug #: 53071
           Summary: Wrong instruction replacement when compiling for xop
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: agner@agner.org


Created attachment 27216
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27216
source code and asm output

An intrinsic vector multiply function is replaced by xop instructions when the
attached file is compiled with -mxop. Perhaps the compiler is trying to combine
a shift instruction and a multiply instruction into a single xop instruction,
but it ends up with something wrong.

This is perhaps related to bugs # 52908 and 52910.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-17  2:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-22 10:07 [Bug c/53071] New: Wrong instruction replacement when compiling for xop agner at agner dot org
2012-04-22 10:09 ` [Bug target/53071] " pinskia at gcc dot gnu.org
2012-04-23 10:33 ` rguenth at gcc dot gnu.org
2012-11-23  7:51 ` ubizjak at gmail dot com
2024-03-17  2:33 ` sjames at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).