| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
a switch statement into an unconditional jump.
* toplev.c (rest_of_compilation): Rerun jump_optimize
before the second CSE pass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6305 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
CONST_INT.
(simplify_binary_operation, case PLUS, MINUS): Don't call plus_constant when
OP0 is VOIDmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6298 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
defined by SHIFT_COUNT_TRUNCATED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6296 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
that are not defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6276 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
| |
ZERO_EXTRACT (three places).
(invalidate_from_clobbers): Likewise (two places).
(cse_around_loop): Likewise.
(invalidate_skipped_set): Likewise.
(cse_set_around_loop): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5993 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
Likewise for src_eqv_here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5922 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
| |
if the count exceeds the width of the value inside the subreg.
(note_mem_written): (mem (scratch)) means clobber everything.
(fold_rtx): Special case handling for folding
a subreg of the result of a left shift.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5854 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
first, and then merge them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5769 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5731 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5631 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
| |
(simplify_unary_operation): Remove unused variable.
(cse_process_notes): Likewise.
(invalidate_skipped_block): Likewise.
(cse_set_around_loop): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5555 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(CHEAP_REG): HARD_FRAME_POINTER_REGNUM is cheap.
(FIXED_BASE_PLUS): Allow hard frame pointer as base.
(NONZERO_BASE_PLUS_P): Likewise.
(cannon_hash, case REG): Add HARD_FRAME_POINTER_REGNUM to list of
special registers for SMALL_REGISTER_CLASSES.
(find_best_addr): Addresses containing HARD_FRAME_POINTER_REGNUM
cannot be replaced.
(cse_main): value in HARD_FRAME_POINTER_REGNUM is preserved across calls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5451 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5347 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
the constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5346 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
identical to any uninserted SET_SRCs, and if so, set their src_elt
to src_eqv_elt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5129 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4884 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
test added in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4859 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
INTEGRAL_MODE_P and FLOAT_MODE_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4780 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4686 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4679 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4669 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
ending up with a shift count too large; convert to the
largest valid for ASHIFTRT and don't fold all others.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4585 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
MODE_CC modes, not just CCmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4352 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
when testing for narrowing or widening subregs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4301 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
Also fix typos in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4295 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
or computed jumps which have been converted into simplejumps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4287 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
instead of unsigned int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4259 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4208 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
floating-point equality, make sure we do so inside a region protected
from traps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3963 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
want, don't do anything to the classes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3951 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
| |
returns REAL_VALUE_TYPE.
Convert rtx_code into tree_code for argument to REAL_ARITHMETIC.
(simplify_unary_operation): Use new ..._RNDZINT macros
instead of casting value of REAL_VALUE_FIX_TRUNCATE
and REAL_VALUE_UNSIGNED_FIX_TRUNCATE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3943 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3861 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3795 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
simplified things if we have more CONSTs going out even if we have the
same number of total terms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3787 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
(CHEAP_REG): Only call FIXED_REGNO_P for hard regs.
(fold_rtx): Clarify comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3762 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3757 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
operands and test against that count to see if we did anything.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3748 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
in form.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3733 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3732 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
operands, ensure we count a CONST result as two operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3729 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3719 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
(refers_to_mem_p): Call properly in second call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3718 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
(COST): Use CHEAP_REG.
(rtx_cost, case REG): Use CHEAP_REG to return zero for some REGs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3708 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
| |
(invalidate): Use set_nonvarying_address_components instead of
computing them.
(refers_to_mem_p): Likewise. Simplify checks for conflicting
memory accesses. Make static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3703 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
| |
(find_best_addr): Use cse_gen_binary.
(simplify_binary_operation, fold_rtx): Likewise.
Remove most special-cases for PLUS and MINUS and call
simplify_plus_minus instead.
Clean up some tests for FP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3680 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
(struct cse_basic_block_data): Move to front of file since it constains
struct used in a prototype.
(refers_to_p, find_best_addr): Now static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3675 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
| |
REAL_IS_NOT_DOUBLE conditional.
(simplify_relational_operation): Put float CONST_DOUBLE folding under a
REAL_IS_NOT_DOUBLE conditional.
Add folding for integer CONST_DOUBLE comparisons.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3661 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3654 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
comparison of CONST_INTs no matter what mode the computation is to be
done in.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3372 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
possible signed integer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3360 138bc75d-0d04-0410-961f-82ee72b054a4
|