This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/70465] [4.9/5/6/7 Regression] Poor code for x87 asm


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465

--- Comment #5 from UroÅ Bizjak <ubizjak at gmail dot com> ---
(In reply to Jeffrey A. Law from comment #4)
> No objections to deferring this to gcc-7.  Not surprisingly, my response
> when this issue was raised on Red Hat's internal IRC was the same -- nobody
> cares about x87 math anymore ;-)  IMHO it's really just a codesize issue
> anyway given how fxch is implemented on modern processors.

Related to PR 15492.

IMO, regstack.c should be taught to track loads to stack registers, so it would
be able to swap two FLDs, instead of emitting compensating FXCH right after two
FLDs.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]