public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/23683] New: review all uses of gen_rtx_MEM in sh port
@ 2005-09-01 18:05 amylaar at gcc dot gnu dot org
  2005-09-05 12:46 ` [Bug target/23683] " cvs-commit at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2005-09-01 18:05 UTC (permalink / raw)
  To: gcc-bugs

See http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00053.html .
There are some places where using an adjust_address call seems appropriate.
In other places we are generating genuinely new MEMs, but we it might be
appropriate to set some of the new bits.

-- 
           Summary: review all uses of gen_rtx_MEM in sh port
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: sh*-*-*


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


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

* [Bug target/23683] review all uses of gen_rtx_MEM in sh port
  2005-09-01 18:05 [Bug target/23683] New: review all uses of gen_rtx_MEM in sh port amylaar at gcc dot gnu dot org
@ 2005-09-05 12:46 ` cvs-commit at gcc dot gnu dot org
  2005-09-05 12:46 ` cvs-commit at gcc dot gnu dot org
  2005-09-05 14:20 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-05 12:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-05 12:46 -------
Subject: Bug 23683

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	amylaar@gcc.gnu.org	2005-09-05 12:45:59

Modified files:
	gcc            : ChangeLog 

Log message:
	PR target/23683
	* sh.c (sh_reorg, emit_load_ptr): Use gen_const_mem.
	(output_stack_adjust): Use gen_tmp_stack_mem.
	(sh_expand_prologue, sh_expand_epilogue): Use gen_frame_mem.
	(sh_set_return_address, sh_allocate_initial_value): Likewise.
	(sh_get_pr_initial_val): Likewise.
	(sh_builtin_saveregs): Use gen_frame_mem and change_address.
	(sh_initialize_trampoline): Likewise.  Also use adjust_address.
	* sh.md (divsi_inv_m0): Use gen_const_mem.
	(push_fpscr, pop_fpscr, load_ra): Use gen_frame_mem.
	(movdf_i4+1): Use gen_tmp_stack_mem.
	(reload_outdf+3, reload_outdf+4, fpu_switch+1): Use change_address.
	(fpu_switch+2): Likewise.
	(movv4sf_i, movv16sf_i): Use adjust_address.
	(symGOT_load): Set MEM_NOTRAP_P bit.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9893&r2=2.9894



-- 


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


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

* [Bug target/23683] review all uses of gen_rtx_MEM in sh port
  2005-09-01 18:05 [Bug target/23683] New: review all uses of gen_rtx_MEM in sh port amylaar at gcc dot gnu dot org
  2005-09-05 12:46 ` [Bug target/23683] " cvs-commit at gcc dot gnu dot org
@ 2005-09-05 12:46 ` cvs-commit at gcc dot gnu dot org
  2005-09-05 14:20 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-05 12:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-05 12:45 -------
Subject: Bug 23683

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	amylaar@gcc.gnu.org	2005-09-05 12:45:28

Modified files:
	gcc/config/sh  : sh.c sh.md 

Log message:
	PR target/23683
	* sh.c (sh_reorg, emit_load_ptr): Use gen_const_mem.
	(output_stack_adjust): Use gen_tmp_stack_mem.
	(sh_expand_prologue, sh_expand_epilogue): Use gen_frame_mem.
	(sh_set_return_address, sh_allocate_initial_value): Likewise.
	(sh_get_pr_initial_val): Likewise.
	(sh_builtin_saveregs): Use gen_frame_mem and change_address.
	(sh_initialize_trampoline): Likewise.  Also use adjust_address.
	* sh.md (divsi_inv_m0): Use gen_const_mem.
	(push_fpscr, pop_fpscr, load_ra): Use gen_frame_mem.
	(movdf_i4+1): Use gen_tmp_stack_mem.
	(reload_outdf+3, reload_outdf+4, fpu_switch+1): Use change_address.
	(fpu_switch+2): Likewise.
	(movv4sf_i, movv16sf_i): Use adjust_address.
	(symGOT_load): Set MEM_NOTRAP_P bit.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sh/sh.c.diff?cvsroot=gcc&r1=1.346&r2=1.347
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sh/sh.md.diff?cvsroot=gcc&r1=1.198&r2=1.199



-- 


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


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

* [Bug target/23683] review all uses of gen_rtx_MEM in sh port
  2005-09-01 18:05 [Bug target/23683] New: review all uses of gen_rtx_MEM in sh port amylaar at gcc dot gnu dot org
  2005-09-05 12:46 ` [Bug target/23683] " cvs-commit at gcc dot gnu dot org
  2005-09-05 12:46 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-05 14:20 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-05 14:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-05 14:20 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2005-09-05 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-01 18:05 [Bug target/23683] New: review all uses of gen_rtx_MEM in sh port amylaar at gcc dot gnu dot org
2005-09-05 12:46 ` [Bug target/23683] " cvs-commit at gcc dot gnu dot org
2005-09-05 12:46 ` cvs-commit at gcc dot gnu dot org
2005-09-05 14:20 ` pinskia 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).