tm.texi.in (MODE_AFTER): Add entity as the first macro argument.
* doc/tm.texi.in (MODE_AFTER): Add entity as the first macro argument. * doc/tm.texi: Regenerate. * mode-switching.c (optimize_mode_switching): Update MODE_AFTER call. * config/sh/sh.h (MODE_AFTER): Update. * config/epiphany/epiphany.h (MODE_AFTER): Update. From-SVN: r189665
This commit is contained in:
parent
29476fe162
commit
9786913b86
|
@ -1,3 +1,11 @@
|
|||
2012-07-19 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* doc/tm.texi.in (MODE_AFTER): Add entity as the first macro argument.
|
||||
* doc/tm.texi: Regenerate.
|
||||
* mode-switching.c (optimize_mode_switching): Update MODE_AFTER call.
|
||||
* config/sh/sh.h (MODE_AFTER): Update.
|
||||
* config/epiphany/epiphany.h (MODE_AFTER): Update.
|
||||
|
||||
2012-07-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/54017
|
||||
|
@ -16,14 +24,12 @@
|
|||
|
||||
* tree-ssa-ccp.c (valid_lattice_transition): Clarify comment
|
||||
about transition from invariant to known bits.
|
||||
(likely_value): Addresses with UNDEFINED components are
|
||||
UNDEFINED.
|
||||
(likely_value): Addresses with UNDEFINED components are UNDEFINED.
|
||||
|
||||
2012-07-19 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/53970
|
||||
* tree-vect-data-refs.c (not_size_aligned): Avoid sign-compare
|
||||
warning.
|
||||
* tree-vect-data-refs.c (not_size_aligned): Avoid sign-compare warning.
|
||||
|
||||
2012-07-19 Tristan Gingold <gingold@adacore.com>
|
||||
Richard Henderson <rth@redhat.com>
|
||||
|
@ -71,8 +77,7 @@
|
|||
2012-07-18 Jie Zhang <jzhang918@gmail.com>
|
||||
Julian Brown <julian@codesourcery.com>
|
||||
|
||||
* config/arm/arm.c (arm_rtx_costs_1): Adjust cost for
|
||||
CONST_VECTOR.
|
||||
* config/arm/arm.c (arm_rtx_costs_1): Adjust cost for CONST_VECTOR.
|
||||
(arm_size_rtx_costs): Likewise.
|
||||
(neon_valid_immediate): Add a case for double 0.0.
|
||||
|
||||
|
@ -477,8 +482,8 @@
|
|||
only if needed. If tree-pass.h is included, do not include timevar.h
|
||||
and dumpfile.h. If tree-pass.h is not included but dump_file, or
|
||||
dump_flags, or the TDF_* flags are used, include dumpfile.h.
|
||||
If gimple-pretty-print.h is included, don't include tree-pretty-print.h.
|
||||
Remove assorted unnecessary includes.
|
||||
If gimple-pretty-print.h is included, don't include
|
||||
tree-pretty-print.h. Remove assorted unnecessary includes.
|
||||
|
||||
* config/mn10300/mn10300.c, config/c6x/c6x.c, config/ia64/ia64.c,
|
||||
config/arm/arm.c, config/bfin/bfin.c, config/frv/frv.c,
|
||||
|
|
|
@ -888,8 +888,8 @@ enum epiphany_function_type
|
|||
|
||||
#define MODE_ENTRY(ENTITY) (epiphany_mode_entry_exit ((ENTITY), false))
|
||||
#define MODE_EXIT(ENTITY) (epiphany_mode_entry_exit ((ENTITY), true))
|
||||
#define MODE_AFTER(LAST_MODE, INSN) \
|
||||
(epiphany_mode_after (e, (LAST_MODE), (INSN)))
|
||||
#define MODE_AFTER(ENTITY, LAST_MODE, INSN) \
|
||||
(epiphany_mode_after ((ENTITY), (LAST_MODE), (INSN)))
|
||||
|
||||
#define TARGET_INSERT_MODE_SWITCH_USE epiphany_insert_mode_switch_use
|
||||
|
||||
|
|
|
@ -2347,7 +2347,7 @@ extern int current_function_interrupt;
|
|||
? get_attr_fp_mode (INSN) \
|
||||
: FP_MODE_NONE)
|
||||
|
||||
#define MODE_AFTER(MODE, INSN) \
|
||||
#define MODE_AFTER(ENTITY, MODE, INSN) \
|
||||
(TARGET_HITACHI \
|
||||
&& recog_memoized (INSN) >= 0 \
|
||||
&& get_attr_fp_set (INSN) != FP_SET_NONE \
|
||||
|
|
|
@ -9708,8 +9708,9 @@ return an integer value not larger than the corresponding element in
|
|||
be switched into prior to the execution of @var{insn}.
|
||||
@end defmac
|
||||
|
||||
@defmac MODE_AFTER (@var{mode}, @var{insn})
|
||||
If this macro is defined, it is evaluated for every @var{insn} during
|
||||
@defmac MODE_AFTER (@var{entity}, @var{mode}, @var{insn})
|
||||
@var{entity} is an integer specifying a mode-switched entity. If
|
||||
this macro is defined, it is evaluated for every @var{insn} during
|
||||
mode switching. It determines the mode that an insn results in (if
|
||||
different from the incoming mode).
|
||||
@end defmac
|
||||
|
|
|
@ -9587,8 +9587,9 @@ return an integer value not larger than the corresponding element in
|
|||
be switched into prior to the execution of @var{insn}.
|
||||
@end defmac
|
||||
|
||||
@defmac MODE_AFTER (@var{mode}, @var{insn})
|
||||
If this macro is defined, it is evaluated for every @var{insn} during
|
||||
@defmac MODE_AFTER (@var{entity}, @var{mode}, @var{insn})
|
||||
@var{entity} is an integer specifying a mode-switched entity. If
|
||||
this macro is defined, it is evaluated for every @var{insn} during
|
||||
mode switching. It determines the mode that an insn results in (if
|
||||
different from the incoming mode).
|
||||
@end defmac
|
||||
|
|
|
@ -533,7 +533,7 @@ optimize_mode_switching (void)
|
|||
RESET_BIT (transp[bb->index], j);
|
||||
}
|
||||
#ifdef MODE_AFTER
|
||||
last_mode = MODE_AFTER (last_mode, insn);
|
||||
last_mode = MODE_AFTER (e, last_mode, insn);
|
||||
#endif
|
||||
/* Update LIVE_NOW. */
|
||||
for (link = REG_NOTES (insn); link; link = XEXP (link, 1))
|
||||
|
|
Loading…
Reference in New Issue