public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/89040] [9 Regressiom] Wrong code with -mno-mmx
       [not found] <bug-89040-4@http.gcc.gnu.org/bugzilla/>
@ 2021-09-15  8:26 ` pinskia at gcc dot gnu.org
  2021-09-16  1:48 ` crazylht at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-15  8:26 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |9.1.0, 9.4.0
   Target Milestone|---                         |9.5
            Summary|Wrong code with -mno-mmx    |[9 Regressiom] Wrong code
                   |                            |with -mno-mmx
           Keywords|                            |wrong-code
      Known to work|                            |10.1.0, 8.5.0

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

* [Bug target/89040] [9 Regressiom] Wrong code with -mno-mmx
       [not found] <bug-89040-4@http.gcc.gnu.org/bugzilla/>
  2021-09-15  8:26 ` [Bug target/89040] [9 Regressiom] Wrong code with -mno-mmx pinskia at gcc dot gnu.org
@ 2021-09-16  1:48 ` crazylht at gmail dot com
  2021-09-16  1:50 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: crazylht at gmail dot com @ 2021-09-16  1:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Hongtao.liu <crazylht at gmail dot com> ---

> foo3b:
> .LFB0:
> 	.cfi_startproc
> 	movq	%xmm0, %rax  <<<<<<<< This should be "movd %xmm0, %eax".

The issue can't be reproduced on current trunk.

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

* [Bug target/89040] [9 Regressiom] Wrong code with -mno-mmx
       [not found] <bug-89040-4@http.gcc.gnu.org/bugzilla/>
  2021-09-15  8:26 ` [Bug target/89040] [9 Regressiom] Wrong code with -mno-mmx pinskia at gcc dot gnu.org
  2021-09-16  1:48 ` crazylht at gmail dot com
@ 2021-09-16  1:50 ` pinskia at gcc dot gnu.org
  2021-09-25 16:45 ` mikpelinux at gmail dot com
  2022-05-27  8:24 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-16  1:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Hongtao.liu from comment #3)
> > foo3b:
> > .LFB0:
> > 	.cfi_startproc
> > 	movq	%xmm0, %rax  <<<<<<<< This should be "movd %xmm0, %eax".
> 
> The issue can't be reproduced on current trunk.

Right it seems like it was fixed in GCC 10.1.0.  I have not looked into why
though.

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

* [Bug target/89040] [9 Regressiom] Wrong code with -mno-mmx
       [not found] <bug-89040-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-09-16  1:50 ` pinskia at gcc dot gnu.org
@ 2021-09-25 16:45 ` mikpelinux at gmail dot com
  2022-05-27  8:24 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: mikpelinux at gmail dot com @ 2021-09-25 16:45 UTC (permalink / raw)
  To: gcc-bugs

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

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #5 from Mikael Pettersson <mikpelinux at gmail dot com> ---
According to my git bisect, this was fixed for gcc-10.1.0 by

d4410ec0ab4e3d2c834a811acf9e39af32e1d1d8 is the first new commit
commit d4410ec0ab4e3d2c834a811acf9e39af32e1d1d8
Author: H.J. Lu <hongjiu.lu@intel.com>
Date:   Wed May 15 15:31:18 2019 +0000

    i386: Allow MMX vector expanders with TARGET_MMX_WITH_SSE

            PR target/89021
...
    From-SVN: r271251

but it's part of a long series of patches (see PR89021) and I doubt it's
backportable as-is.

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

* [Bug target/89040] [9 Regressiom] Wrong code with -mno-mmx
       [not found] <bug-89040-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2021-09-25 16:45 ` mikpelinux at gmail dot com
@ 2022-05-27  8:24 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27  8:24 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
      Known to fail|                            |9.5.0
   Target Milestone|9.5                         |10.0

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed for GCC 10.

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

end of thread, other threads:[~2022-05-27  8:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-89040-4@http.gcc.gnu.org/bugzilla/>
2021-09-15  8:26 ` [Bug target/89040] [9 Regressiom] Wrong code with -mno-mmx pinskia at gcc dot gnu.org
2021-09-16  1:48 ` crazylht at gmail dot com
2021-09-16  1:50 ` pinskia at gcc dot gnu.org
2021-09-25 16:45 ` mikpelinux at gmail dot com
2022-05-27  8:24 ` rguenth 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).