[Bug target/27117] SH backend cheats to reload -- disables indexed addressing but uses it internally

2006-09-07 Thread bonzini at gnu dot org


--- Comment #17 from bonzini at gnu dot org  2006-09-07 08:20 ---
fixed.


-- 

bonzini at gnu dot org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


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



[Bug target/27117] SH backend cheats to reload -- disables indexed addressing but uses it internally

2006-09-07 Thread bonzini at gcc dot gnu dot org


--- Comment #16 from bonzini at gnu dot org  2006-09-07 08:19 ---
Subject: Bug 27117

Author: bonzini
Date: Thu Sep  7 08:19:32 2006
New Revision: 116746

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116746
Log:
2006-09-07  Paolo Bonzini  <[EMAIL PROTECTED]>

PR target/27117
* config/sh/sh.md (divsi_inv_qitable, divsi_inv_hitable): New patterns.
(divsi_inv_m1): Use them.
(UNSPEC_DIV_INV_TABLE): New constant.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sh/sh.md


-- 


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



[Bug target/27117] SH backend cheats to reload -- disables indexed addressing but uses it internally

2006-08-20 Thread bonzini at gnu dot org


--- Comment #15 from bonzini at gnu dot org  2006-08-21 06:20 ---
Created an attachment (id=12108)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12108&action=view)
patch that does not touch the middle-end

patch that does not touch the common parts of the compiler


-- 


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



[Bug target/27117] SH backend cheats to reload -- disables indexed addressing but uses it internally

2006-08-07 Thread bonzini at gnu dot org


--- Comment #14 from bonzini at gnu dot org  2006-08-07 11:11 ---
sure, and actually I have posted it to the GCC Patches mailing list to get
approval for the target-independent part.


-- 


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



[Bug target/27117] SH backend cheats to reload -- disables indexed addressing but uses it internally

2006-08-07 Thread amylaar at gcc dot gnu dot org


--- Comment #13 from amylaar at gcc dot gnu dot org  2006-08-07 10:28 
---
(In reply to comment #12)
> The latent bug is blocking a pretty serious (P2) 4.x regression.
> 
> "Lie to reload, and it will take its revenge."

Have you tried the patch from comments 5 to 8 ? 


-- 


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



[Bug target/27117] SH backend cheats to reload -- disables indexed addressing but uses it internally

2006-08-07 Thread bonzini at gnu dot org


--- Comment #12 from bonzini at gnu dot org  2006-08-07 08:16 ---
The latent bug is blocking a pretty serious (P2) 4.x regression.

"Lie to reload, and it will take its revenge."


-- 

bonzini at gnu dot org changed:

   What|Removed |Added

OtherBugsDependingO||26778
  nThis||
 Status|RESOLVED|REOPENED
   Keywords|ice-on-valid-code   |
 Resolution|FIXED   |
Summary|[4.2 Regression] gcc fails  |SH backend cheats to reload
   |to build on sh64-elf targets|-- disables indexed
   ||addressing but uses it
   ||internally


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