public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/54635] New: Add addr_space_t argument to TARGET_MODE_DEPENDENT_ADDRESS_P
@ 2012-09-20  9:15 gjl at gcc dot gnu.org
  2012-09-26 13:47 ` [Bug middle-end/54635] " gjl at gcc dot gnu.org
  2012-09-26 13:51 ` gjl at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-09-20  9:15 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54635
           Summary: Add addr_space_t argument to
                    TARGET_MODE_DEPENDENT_ADDRESS_P
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: addr-space
          Severity: enhancement
          Priority: P3
         Component: other
        AssignedTo: gjl@gcc.gnu.org
        ReportedBy: gjl@gcc.gnu.org


targetm.mode_dependent_address_p aka. TARGET_MODE_DEPENDENT_ADDRESS_P passes an
address to check but not the relevant address space.

Thus, add an addr_space_t argument to TARGET_MODE_DEPENDENT_ADDRESS_P so that
the repevant information can be passed down to the backends.


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

* [Bug middle-end/54635] Add addr_space_t argument to TARGET_MODE_DEPENDENT_ADDRESS_P
  2012-09-20  9:15 [Bug other/54635] New: Add addr_space_t argument to TARGET_MODE_DEPENDENT_ADDRESS_P gjl at gcc dot gnu.org
@ 2012-09-26 13:47 ` gjl at gcc dot gnu.org
  2012-09-26 13:51 ` gjl at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-09-26 13:47 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-09-26 13:46:36 UTC ---
Author: gjl
Date: Wed Sep 26 13:46:29 2012
New Revision: 191761

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191761
Log:
    PR middle-end/54635
    * doc/tm.texi.in (TARGET_MODE_DEPENDENT_ADDRESS_P): Document new
    parameter addrspace.
    * doc/tm.texi: Regenerate.
    * target.def (mode_dependent_address_p): Add addr_space_t parameter.
    * targhooks.h (default_mode_dependent_address_p): Ditto.
    * targhooks.c (default_mode_dependent_address_p): Ditto.
    * expr.c (convert_move): Pass address space to mode_dependent_address_p.
    * combine.c (combine_simplify_rtx): Ditto.
    (make_extraction): Ditto.
    (simplify_shift_const_1): Ditto.
    (gen_lowpart_for_combine): Ditto.
    * lower-subreg.c (simple_move_operand): Ditto.
    * recog.c (simplify_while_replacing): Ditto.
    (offsettable_address_addr_space_p): Ditto.
    (mode_dependent_address_p): Ditto.
    * simplify-rtx.c (simplify_unary_operation_1): Ditto.
    (simplify_subreg): Ditto.
    * config/m68k/m68k.md: Ditto.
    * config/vax/vax.md: Ditto.
    * config/vax/constraints.md (Q): Ditto.
    * config/vax/predicates.md (indexed_memory_operand): Ditto.
    * config/alpha/alpha.c (alpha_mode_dependent_address_p): Add
    unused addr_space_t parameter.
    * config/avr/avr.c (avr_mode_dependent_address_p): Ditto.
    * config/h8300/h8300.c (h8300_mode_dependent_address_p): Ditto.
    * config/m32r/m32r.c (m32r_mode_dependent_address_p): Ditto.
    * config/rs6000/rs6000.c (rs6000_mode_dependent_address_p): Ditto.
    * config/rx/rx.c (rx_mode_dependent_address_p): Ditto.
    * config/sparc/sparc.c (sparc_mode_dependent_address_p): Ditto.
    * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p):
    Ditto.
    * config/vax/vax.c (vax_mode_dependent_address_p): Ditto.
    * config/xtensa/xtensa.c (xtensa_mode_dependent_address_p): Ditto.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/config/alpha/alpha.c
    trunk/gcc/config/avr/avr.c
    trunk/gcc/config/avr/avr.md
    trunk/gcc/config/h8300/h8300.c
    trunk/gcc/config/m32r/m32r.c
    trunk/gcc/config/m68k/m68k.md
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/config/rx/rx.c
    trunk/gcc/config/sparc/sparc.c
    trunk/gcc/config/stormy16/stormy16.c
    trunk/gcc/config/vax/constraints.md
    trunk/gcc/config/vax/predicates.md
    trunk/gcc/config/vax/vax.c
    trunk/gcc/config/vax/vax.md
    trunk/gcc/config/xtensa/xtensa.c
    trunk/gcc/doc/tm.texi
    trunk/gcc/doc/tm.texi.in
    trunk/gcc/expr.c
    trunk/gcc/lower-subreg.c
    trunk/gcc/recog.c
    trunk/gcc/recog.h
    trunk/gcc/simplify-rtx.c
    trunk/gcc/target.def
    trunk/gcc/targhooks.c
    trunk/gcc/targhooks.h


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

* [Bug middle-end/54635] Add addr_space_t argument to TARGET_MODE_DEPENDENT_ADDRESS_P
  2012-09-20  9:15 [Bug other/54635] New: Add addr_space_t argument to TARGET_MODE_DEPENDENT_ADDRESS_P gjl at gcc dot gnu.org
  2012-09-26 13:47 ` [Bug middle-end/54635] " gjl at gcc dot gnu.org
@ 2012-09-26 13:51 ` gjl at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-09-26 13:51 UTC (permalink / raw)
  To: gcc-bugs


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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

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

--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-09-26 13:51:12 UTC ---
Done


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

end of thread, other threads:[~2012-09-26 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-20  9:15 [Bug other/54635] New: Add addr_space_t argument to TARGET_MODE_DEPENDENT_ADDRESS_P gjl at gcc dot gnu.org
2012-09-26 13:47 ` [Bug middle-end/54635] " gjl at gcc dot gnu.org
2012-09-26 13:51 ` gjl 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).