summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/util/Formatter.java
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-31 14:10:35 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-31 14:10:35 +0000
commit4f4473ffb33cbcd346042013b9f02807a54b8066 (patch)
treea3e7dbffe10f5bc993fb2609c29c08b9d3f44fbe /libjava/classpath/java/util/Formatter.java
parent41f2d5e84d7a765959ef14ccc56a63ba65564c5f (diff)
downloadppe42-gcc-4f4473ffb33cbcd346042013b9f02807a54b8066.tar.gz
ppe42-gcc-4f4473ffb33cbcd346042013b9f02807a54b8066.zip
gcc/
* optabs.c (shift_optab_p, commutative_optab_p): New functions, split out from expand_binop. (avoid_expensive_constant): New function. (expand_binop_directly): Remove commutative_op argument and call cummutative_optab_p instead. Do not change op0 or op1 when swapping xop0 and xop1. Apply avoid_expensive_constant to each argument after potential swapping. Enforce the canonical order of commutative operands. (expand_binop): Use shift_optab_p and commutative_optab_p. Update the calls to expand_binop_directly. Only force constants into registers when widening an operation. Only swap operands once a direct expansion has been rejected. (expand_twoval_binop): Only force constants into registers when using a direct expansion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127991 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/util/Formatter.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud