Commit Graph

142 Commits

Author SHA1 Message Date
Vincent St-Amour
ac58c45477 Disable optimization of mixed-mode arithmetic that may involve exact 0.
Exact 0 turns out to also be a corner case for addition.

At this point, mixed-mode optimizations pretty much only apply for mixes
of floats and literal non-zero non-floats.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
45a3b9f48d Don't warn about exact arithmetic for inexact numbers. 2012-12-04 19:29:16 -05:00
Vincent St-Amour
93939f45d0 Don't optimize mixed-mode arithmetic if it would change results. 2012-12-04 19:29:16 -05:00
Vincent St-Amour
fb73bc8b0e Fix partial bounds checking elimination.
Closes PR13341.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
a84e04e1e4 Use the regular Racket reader, not TR's. 2012-12-04 19:29:16 -05:00
Vincent St-Amour
ca47b1c693 Be less aggressive about fixnum recommendations.
Reduces false positives.
2012-12-04 19:29:15 -05:00
Vincent St-Amour
6d231da14f Typo. 2012-12-04 19:29:15 -05:00
Vincent St-Amour
e4af200c89 Hide OC control panel if an error occurs during expansion. 2012-12-04 19:29:15 -05:00
Vincent St-Amour
9f9092b762 Fix optimization of unary float subtraction.
Closes PR13339.
2012-12-03 19:46:29 -05:00
Vincent St-Amour
e2007abd7a Heterogenous -> heterogenEous.
Found by Ray Racine.
2012-11-20 17:06:51 -05:00
Vincent St-Amour
149d8535eb More float conversion optimizations. 2012-10-14 15:35:50 -04:00
Vincent St-Amour
758e4ff112 Only recommend dropping exactness in truly inexact contexts.
Please merge to release.
2012-10-12 14:42:16 -04:00
Vincent St-Amour
7d317f1e96 Recommend float-specific operations in case of unexpected complex.
Please merge to release.
2012-10-09 16:58:04 -04:00
Vincent St-Amour
937c901ce7 Add separator before Optimization Coach right-click menu entry. 2012-10-02 11:24:07 -04:00
Vincent St-Amour
69873c8db8 Fix Optimization Coach's handling of paths with spaces. 2012-10-02 10:45:29 -04:00
Vincent St-Amour
6ba0c1416e Remove out of date comment. 2012-10-02 10:18:48 -04:00
Vincent St-Amour
61b83045fc Fix loop detection heuristic based on self-out-of-fuel. 2012-10-02 10:18:48 -04:00
Vincent St-Amour
1975014c55 Remove TR optimizer log key, made redundant by named loggers. 2012-09-11 13:48:14 -04:00
Vincent St-Amour
ab328ea80b Fix TR tests for new logging system. 2012-09-11 13:48:14 -04:00
Vincent St-Amour
805a6477a7 Use named loggers to tell TR and inliner logs apart. 2012-09-11 13:48:14 -04:00
Vincent St-Amour
251159e64a Allow launching OC when it's already running. 2012-09-11 13:48:14 -04:00
Vincent St-Amour
39100bd3e3 Fix OC for new logging system. 2012-09-11 13:48:14 -04:00
Sam Tobin-Hochstadt
eed93825ab Track mutable variables across modules. 2012-08-31 17:45:11 -04:00
Vincent St-Amour
11006d3b5e Remove OC toolbar when the definitions change. 2012-08-13 16:58:29 -04:00
Vincent St-Amour
958ab7b570 Move definitions copying to its own function. 2012-08-13 16:58:29 -04:00
Vincent St-Amour
8e7484c44c Add log parsing tests. 2012-08-10 17:09:30 -04:00
Vincent St-Amour
93e2a74f09 Correctly parse Windows paths in Optimization Coach.
Closes PR12966.
2012-08-10 17:09:30 -04:00
Eric Dobson
9ed360bb5e Removed convenience.rkt from typed racket. 2012-08-07 15:50:50 -04:00
Eric Dobson
6dbc054e41 Replaced references to abbrev.rkt with convenience.rkt.
Skipped this for subtype.rkt, because of a require loop caused by
lazy-require.
2012-08-07 15:50:50 -04:00
Vincent St-Amour
aba046a92d Swap unsafe and chaperone-unsafe vector ops in the TR optimizer.
Closes PR12969.
2012-08-04 10:32:21 -04:00
Vincent St-Amour
ebd2e35600 Remove accidentally added file. 2012-08-03 14:41:21 -04:00
Vincent St-Amour
a6d5a98b61 Include NaN in all floating-point types.
Makes more closure properties hold, but weakens occurrence typing for
some comparisons involving flonums.
2012-08-03 14:21:44 -04:00
Vincent St-Amour
8bceeadaab Refactoring. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
f50d64b3b2 Fix tab leak. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
144fd5bf05 Refactoring. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
406529c391 Close OC properly from the menu. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
dc6a81ad02 Refactoring. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
57568ae44c Cleanup. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
0bb133ea51 Move panel to the frame mixin instead of the tab mixin. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
b2ce93ca94 Fix Optimization Coach menu entry point. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
d9f97d079f Refactoring. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
74a6518920 Refactoring. 2012-07-24 17:02:46 -04:00
Vincent St-Amour
b3e619e5ee Have OC work on a copy of the definitions window. 2012-07-24 16:56:23 -04:00
Vincent St-Amour
7ba7be1873 Show running man animation when OC is working. 2012-07-24 16:05:59 -04:00
Vincent St-Amour
f2ff88be4a Add Optimization Coach right-click menu entry to existing menu. 2012-07-24 13:48:05 -04:00
Vincent St-Amour
73942fcfa8 Wrap highlighting in an edit sequence.
Speeds up display.
2012-07-24 13:48:05 -04:00
Vincent St-Amour
70f8f4d743 Avoid recreating panel and check-boxes when optimization coach is shown. 2012-07-24 13:48:05 -04:00
Vincent St-Amour
cfc8fe5766 Fix spacing issue. 2012-07-24 13:48:05 -04:00
Vincent St-Amour
848a28266c Replace fields with local-member-name accessors. 2012-07-20 18:05:34 -04:00
Vincent St-Amour
95e117b7f5 Typo. 2012-07-20 18:05:34 -04:00