diff options
| author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-19 18:41:22 +0000 |
|---|---|---|
| committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-19 18:41:22 +0000 |
| commit | 076b670d63f3f04162c1218fbb34d503b3c76cd8 (patch) | |
| tree | 2bcf096e2c7a2d0589b6d0f349bfdd7ccaef90f5 /libjava/classpath/lib/gnu/java/math | |
| parent | d09294c0fe5126ab80ad7e249cde989241e45441 (diff) | |
| download | ppe42-gcc-076b670d63f3f04162c1218fbb34d503b3c76cd8.tar.gz ppe42-gcc-076b670d63f3f04162c1218fbb34d503b3c76cd8.zip | |
gcc/
PR target/40697
* optabs.c (avoid_expensive_constant): Use rtx_cost to find out
the cost of loading the constant rather than assuming
COSTS_N_INSNS (1).
* config/arm/arm.c (thumb1_rtx_costs) <case CONST_INT>: If the
outer code is AND, do the same tests as the andsi3 expander and
return COSTS_N_INSNS (1) if and is cheap.
testsuite/
PR target/40697
* gcc.target/arm/thumb-andsi.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157582 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/gnu/java/math')
0 files changed, 0 insertions, 0 deletions

