+2004-02-03 Kazu Hirata <kazu@cs.umass.edu>
+
+ * combine.c (simplify_set): Use gen_rtx_fmt_e instead of
+ gen_rtx.
+ * emit-rtl.c (init_emit_once): Use gen_rtx_PC and gen_rtx_CC0
+ instead of gen_rtx.
+ * reload1.c (init_elim_table): Use gen_rtx_fmt_e instead of
+ gen_rtx.
+ * config/ns32k/ns32k.md (udivmodhi4): Use gen_rtx_IOR and
+ gen_rtx_ASHIFT instead of gen_rtx.
+ (udivmodqi4): Likewise.
+
2004-02-02 Richard Henderson <rth@redhat.com>
PR target/13789
+2004-02-03 Kazu Hirata <kazu@cs.umass.edu>
+
+ * ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of
+ gen_rtx.
+
2004-02-02 Arnaud Charlet <charlet@gnat.com>
* Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded.
/* Enable GNAT stack checking method if needed */
if (!Stack_Check_Probes_On_Target)
- set_stack_check_libfunc (gen_rtx (SYMBOL_REF, Pmode, "_gnat_stack_check"));
+ set_stack_check_libfunc (gen_rtx_SYMBOL_REF (Pmode, "_gnat_stack_check"));
/* Save the type we made for integer as the type for Standard.Integer.
Then make the rest of the standard types. Note that some of these
&& GET_CODE (SUBREG_REG (src)) == MEM)
{
SUBST (SET_SRC (x),
- gen_rtx (LOAD_EXTEND_OP (GET_MODE (SUBREG_REG (src))),
- GET_MODE (src), SUBREG_REG (src)));
+ gen_rtx_fmt_e (LOAD_EXTEND_OP (GET_MODE (SUBREG_REG (src))),
+ GET_MODE (src), SUBREG_REG (src)));
src = SET_SRC (x);
}
;; REG_NOTES (first));
;; REG_NOTES (last) = gen_rtx_INSN_LIST (REG_RETVAL, first,
;; gen_rtx_EXPR_LIST (REG_EQUAL,
-;; gen_rtx(IOR, DImode, moddi,
-;; gen_rtx(ASHIFT, DImode, divdi, GEN_INT(32))),
+;; gen_rtx_IOR (DImode, moddi,
+;; gen_rtx_ASHIFT (DImode, divdi, GEN_INT(32))),
;; REG_NOTES (last)));
;; }
;;
;; REG_NOTES (first));
;; REG_NOTES (last) = gen_rtx_INSN_LIST (REG_RETVAL, first,
;; gen_rtx_EXPR_LIST (REG_EQUAL,
-;; gen_rtx(IOR, DImode, moddi,
-;; gen_rtx(ASHIFT, DImode, divdi, GEN_INT(32))),
+;; gen_rtx_IOR (DImode, moddi,
+;; gen_rtx_ASHIFT (DImode, divdi, GEN_INT(32))),
;; REG_NOTES (last)));
;; }
;;
This must be done at runtime because the register number field
is in a union and some compilers can't initialize unions. */
- pc_rtx = gen_rtx (PC, VOIDmode);
- cc0_rtx = gen_rtx (CC0, VOIDmode);
+ pc_rtx = gen_rtx_PC (VOIDmode);
+ cc0_rtx = gen_rtx_CC0 (VOIDmode);
stack_pointer_rtx = gen_raw_REG (Pmode, STACK_POINTER_REGNUM);
frame_pointer_rtx = gen_raw_REG (Pmode, FRAME_POINTER_REGNUM);
if (hard_frame_pointer_rtx == 0)
+2004-02-03 Kazu Hirata <kazu@cs.umass.edu>
+
+ * com.c (ffecom_member_phase2_): Use gen_rtx_MEM instead of
+ gen_rtx.
+
2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (doc/g77.dvi): Use $(abs_docdir).
/* com.c -- Implementation File (module.c template V1.0)
- Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
Free Software Foundation, Inc.
Contributed by James Craig Burley.
TREE_USED (t) = 1;
SET_DECL_RTL (t,
- gen_rtx (MEM, TYPE_MODE (type),
- plus_constant (XEXP (DECL_RTL (mt), 0),
- ffestorag_modulo (mst)
- + ffestorag_offset (st)
- - ffestorag_offset (mst))));
+ gen_rtx_MEM (TYPE_MODE (type),
+ plus_constant (XEXP (DECL_RTL (mt), 0),
+ ffestorag_modulo (mst)
+ + ffestorag_offset (st)
+ - ffestorag_offset (mst))));
t = start_decl (t, FALSE);
#endif
/* Count the number of eliminable registers and build the FROM and TO
- REG rtx's. Note that code in gen_rtx will cause, e.g.,
+ REG rtx's. Note that code in gen_rtx_REG will cause, e.g.,
gen_rtx_REG (Pmode, STACK_POINTER_REGNUM) to equal stack_pointer_rtx.
We depend on this. */
for (ep = reg_eliminate; ep < ®_eliminate[NUM_ELIMINABLE_REGS]; ep++)
if (n == 1)
{
n = validate_replace_rtx (reload_reg,
- gen_rtx (code, mode,
- reload_reg),
+ gen_rtx_fmt_e (code,
+ mode,
+ reload_reg),
p);
/* We must also verify that the constraints
undo the replacement. */
if (!n)
{
- validate_replace_rtx (gen_rtx (code, mode,
- reload_reg),
+ validate_replace_rtx (gen_rtx_fmt_e (code,
+ mode,
+ reload_reg),
reload_reg, p);
break;
}