summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/math
diff options
context:
space:
mode:
authorRichard Sandiford <[email protected]>2015-10-26 09:18:30 +0000
committerRichard Sandiford <[email protected]>2015-10-26 09:18:30 +0000
commit96285749d88e8bf954b7e977d43e5cb947357ce5 (patch)
treee79ab049985d601289566c278b52580210cc2ad4 /libjava/classpath/java/math
parent9df01367f2f481d91b4927669cec5dbf80f489a1 (diff)
Move cexp simplifications to match.pd
This required reinstating support for captures in the result of a simplification. That part (genmatch.c) is by Richard B. Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. gcc/ 2015-10-20 Richard Sandiford <[email protected]> Richard Biener <[email protected]> * genmatch.c (dt_simplify::gen): Skip captures that are part of the result. (parser::parse_expr): Allow captures in results too. * builtins.c (fold_builtin_cexp): Delete. (fold_builtin_1): Handle constant cexp arguments here. * match.pd: Fold cexp(x+yi) to exp(x) * cexpi(y). Co-Authored-By: Richard Biener <[email protected]> From-SVN: r229308
Diffstat (limited to 'libjava/classpath/java/math')
0 files changed, 0 insertions, 0 deletions