public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/38599]  New: There should be a Pmode == DImode version of the MIPS lwxs pattern
@ 2008-12-21 14:07 rsandifo at gcc dot gnu dot org
  2008-12-21 14:08 ` [Bug target/38599] " rsandifo at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2008-12-21 14:07 UTC (permalink / raw)
  To: gcc-bugs

mipsisa64-elf-gcc -S -O2 -msmartmips gcc.target/mips/smartmips-lwxs.c
-DNOMIPS16=

does not produce an LWXS instruction.  This doesn't really matter much, since
SmartMIPS is only for 32-bit processors, but:

  (a) it works for 64-bit ILP32 ABIs like n32 and o64.
  (b) within gcc, there is an abstraction layer between "Do we have SmartMIPS?"
and "Can we use LWXS?".

So I think it's worth having a Pmode==DImode version anyway.

I'm filing this for 4.5 or later; it isn't something we'd fix in 4,4 or
earlier.


-- 
           Summary: There should be a Pmode == DImode version of the MIPS
                    lwxs pattern
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rsandifo at gcc dot gnu dot org
GCC target triplet: mipsisa64-elf


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


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

* [Bug target/38599] There should be a Pmode == DImode version of the MIPS lwxs pattern
  2008-12-21 14:07 [Bug target/38599] New: There should be a Pmode == DImode version of the MIPS lwxs pattern rsandifo at gcc dot gnu dot org
@ 2008-12-21 14:08 ` rsandifo at gcc dot gnu dot org
  2009-08-16 17:31 ` rsandifo at gcc dot gnu dot org
  2009-08-16 18:43 ` rsandifo at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2008-12-21 14:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rsandifo at gcc dot gnu dot org  2008-12-21 14:06 -------
I have a patch, but it isn't appropriate at this stage in the 4.4 cycle.


-- 

rsandifo at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rsandifo at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-12-21 14:06:48
               date|                            |


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


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

* [Bug target/38599] There should be a Pmode == DImode version of the MIPS lwxs pattern
  2008-12-21 14:07 [Bug target/38599] New: There should be a Pmode == DImode version of the MIPS lwxs pattern rsandifo at gcc dot gnu dot org
  2008-12-21 14:08 ` [Bug target/38599] " rsandifo at gcc dot gnu dot org
@ 2009-08-16 17:31 ` rsandifo at gcc dot gnu dot org
  2009-08-16 18:43 ` rsandifo at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2009-08-16 17:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rsandifo at gcc dot gnu dot org  2009-08-16 17:31 -------
Subject: Bug 38599

Author: rsandifo
Date: Sun Aug 16 17:30:45 2009
New Revision: 150804

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150804
Log:
gcc/
        PR target/38599
        * config/mips/mips.md (*lwxs): Use :P for pointer values.

gcc/testsuite/
        PR target/38599
        * gcc.target/mips/smartmips-lwxs.c: Remove -mlong32.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/mips/mips.md
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/mips/smartmips-lwxs.c


-- 


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


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

* [Bug target/38599] There should be a Pmode == DImode version of the MIPS lwxs pattern
  2008-12-21 14:07 [Bug target/38599] New: There should be a Pmode == DImode version of the MIPS lwxs pattern rsandifo at gcc dot gnu dot org
  2008-12-21 14:08 ` [Bug target/38599] " rsandifo at gcc dot gnu dot org
  2009-08-16 17:31 ` rsandifo at gcc dot gnu dot org
@ 2009-08-16 18:43 ` rsandifo at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2009-08-16 18:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rsandifo at gcc dot gnu dot org  2009-08-16 18:42 -------
Fixed in trunk.


-- 

rsandifo at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-08-16 18:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-21 14:07 [Bug target/38599] New: There should be a Pmode == DImode version of the MIPS lwxs pattern rsandifo at gcc dot gnu dot org
2008-12-21 14:08 ` [Bug target/38599] " rsandifo at gcc dot gnu dot org
2009-08-16 17:31 ` rsandifo at gcc dot gnu dot org
2009-08-16 18:43 ` rsandifo at gcc dot gnu dot 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).