Vincent St-Amour
ff34fbdd82
Report missed optimizations for unary float operations.
...
original commit: 647ae4fe9aed2c9c171957bc631e22df54ba60fc
2011-06-17 18:18:01 -04:00
Vincent St-Amour
c333078bae
Make unary float optimizations less restrictive.
...
original commit: cc129adb39f15f01c19ebf43270e03fde99acffd
2011-06-17 18:18:01 -04:00
Vincent St-Amour
289457fa27
Rephrase a missed optimization message.
...
original commit: 484fb029f100562891e50d073826fb38768cb0c1
2011-06-17 18:18:01 -04:00
Vincent St-Amour
2413e0d498
Fix missed-optimization tests to also look for optimization messages.
...
original commit: a319ba1058cae034c50caa84b7e9a1ed7eb9c2a2
2011-06-17 18:18:01 -04:00
Vincent St-Amour
6e9edea55d
Fix optimization tests to also look for missed-optimization messages.
...
original commit: e8621f58eab1a363fb26febe6b4249d76d81e47b
2011-06-17 18:18:01 -04:00
Vincent St-Amour
22d40980c3
Have optimizer test harness look only at log messages that came from the optimizer.
...
original commit: 28692786b3dd95bdc7725a247a60ca04fe1d84b6
2011-06-17 18:18:01 -04:00
Vincent St-Amour
7dca73dd33
Fix optimizer test harness to use the new syntax of with-logging-to-port.
...
original commit: 641dd731ab0c699180435578fdc0a393ef03d1a5
2011-06-17 18:18:01 -04:00
Vincent St-Amour
b5cf24813c
Add a "unique" key to log messages that are sent by the optimizer.
...
original commit: 81d6e380dad25205ddbf82120cad27ad65c83235
2011-06-17 18:18:01 -04:00
Vincent St-Amour
c8052ab240
Use with-logging-to-port from unstable.
...
original commit: 09015722e3dd8e2843524f80e5ebc1f7d09cfed0
2011-06-17 18:18:01 -04:00
Vincent St-Amour
191c3b4601
Revise with-logging-to-port to avoid the extra dummy log entry.
...
original commit: 47f48c08ad4aaa5d33b8dd9ac91f7228e7cfc2b5
2011-06-17 18:18:01 -04:00
Vincent St-Amour
0f51793f04
Adapt the optimizer's test harness for the new logging strategy.
...
original commit: a2afe2c285c377e9ca15bbb5eb682ab93e7dc500
2011-06-17 18:18:01 -04:00
Vincent St-Amour
8b52f84497
Use racket's logging facilities for the optimizer logs.
...
original commit: 7347da4919ca6c5a7496992c5cd9f0e83d215b5b
2011-06-17 18:18:01 -04:00
Vincent St-Amour
f3e69a8ac4
Sort optimizer logs by source location, to prepare for eventual user consumption.
...
original commit: 9ae4f82c0a3992508afdd4fbb5cbc355fa146b03
2011-06-17 18:18:00 -04:00
Vincent St-Amour
9c0d671167
Keep source location around for derived pair optimizations.
...
original commit: 5a151420e46fd06221c63504509de9608365e411
2011-06-17 18:18:00 -04:00
Vincent St-Amour
90e30bb455
Don't print duplicate log entries.
...
original commit: b8b061fb3993a154786b18b5d75d8d4d9d0b54cd
2011-06-17 18:18:00 -04:00
Vincent St-Amour
3fbdaccc51
Extra test for precision loss.
...
original commit: 147032e428ccb82d6487624bf8d820e50478a198
2011-06-17 18:18:00 -04:00
Vincent St-Amour
08d32b5b0c
Add an extra test that checks for non-reporting of false positives.
...
original commit: 0432ea16cb75bfb897d915c9d6d50d93db15c477
2011-06-17 18:18:00 -04:00
Vincent St-Amour
5d201843e5
close-call -> missed-optimization
...
original commit: b598c4a1ebbe6eae71384355d2b0f55d0bed6fa7
2011-06-17 18:18:00 -04:00
Vincent St-Amour
7600062905
Report unexpected complex types in arithmetic expressions.
...
original commit: c73bc6c918af143a774bc79d83df789888393fa6
2011-06-17 18:18:00 -04:00
Vincent St-Amour
d64af4df5d
Add in-complex-layer?.
...
original commit: 2a7254a324e6ec68982d3966df04e8c264d89bca
2011-06-17 18:18:00 -04:00
Vincent St-Amour
292433204b
Generalize reporting of wasted precision to arbitrary exact arithmetic expressions.
...
original commit: 2a4a4e818424cf1879afcfbd6e7f5dfa0284ced3
2011-06-17 18:18:00 -04:00
Vincent St-Amour
58360f3a16
Add an arith-expr syntax class, to simplify parts of the optimizer.
...
original commit: ec696f26ae5375b83f4eb8666047e803b19214e4
2011-06-17 18:17:59 -04:00
Vincent St-Amour
6cb0669985
Move layer predicates to their own file.
...
original commit: b64b49b078e444f0ec9c41a9ecf4543fb397d059
2011-06-17 18:17:59 -04:00
Vincent St-Amour
4c08c496f6
Report when exact arithmetic is used inside float expressions, which may make the extra precision useless.
...
original commit: cd027109c9aa71d788764d934992d290bd586a39
2011-06-17 18:17:59 -04:00
Vincent St-Amour
9d1bfedc5e
Add a test case for close-calls on all-real arithmetic expressions.
...
original commit: 5d4ef5c62478ca1dfeeb5a79d6ed65479283a31f
2011-06-17 18:17:59 -04:00
Vincent St-Amour
968f60d8e1
Report close calls for pair/mpair optimizations.
...
original commit: 89ca99210ec6e62167e1aebc846b48882a31354e
2011-06-17 18:17:59 -04:00
Vincent St-Amour
c21628133e
Add extra checks to avoid spurious close call reporting involving integer operations.
...
original commit: 526a84f10b0dc08ffb8f0cbc52b08d7a441487ba
2011-06-17 18:17:59 -04:00
Vincent St-Amour
a0de25443c
Show irritant for the currently detected close calls.
...
original commit: 95bf94577c7c9d3c2c41075b3ba5d0b2ce2c1155
2011-06-17 18:17:59 -04:00
Vincent St-Amour
ede348d487
Revert "Fix optimizer expected log format."
...
This reverts commit bdf1073f174d5101fb94a7bd3257da7fec90c9cc.
Return that test to the new format, which it was originally written in.
original commit: 0fab9e11ad0cebe1d4afdb6bfb7908d8deb69608
2011-06-17 18:17:59 -04:00
Vincent St-Amour
6837e13536
Made logging format more compact and less ambiguous.
...
original commit: 33962befd4fe704f4e15caa4b157187c10cf9944
2011-06-17 18:17:59 -04:00
Vincent St-Amour
78767f809a
Add layer predicates.
...
original commit: 26cc2cf6dc81323463e0d448de890bbb2621a3ae
2011-06-17 18:17:59 -04:00
Vincent St-Amour
69b3ea5f28
First attempt at logging unexpected Real types popping up.
...
original commit: 7b2c6f5765c2f3b5aefd24f15bbd6f9bf5855749
2011-06-17 18:17:58 -04:00
Vincent St-Amour
a2400d8d4b
Add support for close-call tests to the TR test harness.
...
original commit: 2e0dd6467a4724d8dafc53455653cd6ac433481f
2011-06-17 18:17:58 -04:00
Vincent St-Amour
0b6c2b40c9
Add logging infrastructure to log close calls.
...
original commit: 303e1f7f883be6ada89b665d58cf40eade568ec6
2011-06-17 18:17:58 -04:00
Sam Tobin-Hochstadt
75ba3a6536
Disable this test.
...
original commit: 55a25a825a2ba87239187b129515f90e3aa9ada6
2011-06-17 15:17:20 -04:00
Eric Dobson
2c4a553459
Cleaned up base-env. Added comments about untyped identifiers.
...
Used one-of/c to clean up some types.
original commit: 1348887bd14a115518a4e0eab053b3bdd348e91b
2011-06-17 15:17:20 -04:00
Eric Dobson
ee96de4dce
Moved tests for equality to unit tests
...
original commit: 0671945a8d39c87dfe3536291a06bf2dc00f241d
2011-06-17 15:17:20 -04:00
Eric Dobson
cfbdcf9cdb
Moved new TR symbol testing into unit tests.
...
original commit: b3262691337e929809d0b4e7e96cd390deb0d501
2011-06-17 15:17:20 -04:00
Eric Dobson
606a9238be
Moved TR string testing to unit tests.
...
original commit: 3a13cf0e78eace73864b1d4579bf8b3a679c3698
2011-06-17 15:17:20 -04:00
Eric Dobson
ef4531d328
Added types for reading and writing operations
...
original commit: feeccc062bb4a00cf3ab4f77e6bf8f100d72f630
2011-06-17 15:17:19 -04:00
Eric Dobson
c189a053f5
Added types for regexp operations. Changed Regexp to correspond to regexp?.
...
original commit: 029651b9eeaed6b4cecb800da2c01fa6cbed1270
2011-06-17 15:17:19 -04:00
Eric Dobson
ba0a3b98e7
Added public names for recently added types
...
original commit: 3e1a95750d41acc4d4ae418f6f8acafc9085f6dc
2011-06-17 15:17:19 -04:00
Eric Dobson
fedb424889
Added types for I/O operations
...
original commit: 6f3bbad3676120d2618e8ca359cf44c588c693b2
2011-06-17 15:17:19 -04:00
Eric Dobson
400b626e8b
Added types and some tests for port operations
...
original commit: 54a12afb49de224a305ae1c8ecd09c517ad7a95e
2011-06-17 15:17:19 -04:00
Eric Dobson
c99acfa622
Added types and tests for equality operations.
...
original commit: c77e906c7afb257d94e61a01706553064150a1a6
2011-06-17 15:17:19 -04:00
Eric Dobson
5fef88131d
Added types and tests for raising and handling exceptions
...
original commit: 2d152bac79e8a447d92ca8c5a05a78aef27da020
2011-06-17 15:17:19 -04:00
Eric Dobson
fff49902ea
Added types and tests for symbol operations
...
original commit: 4ba12dd20e618fee9d00601a94d7ce060f2a31ee
2011-06-17 15:17:19 -04:00
Eric Dobson
046b62fdaf
Added types and tests for string operations
...
original commit: ab23db7b5b2bbb310e503cac7345eed73af94f56
2011-06-17 15:17:19 -04:00
Vincent St-Amour
3face0ff46
Unify types and filter behavior of not and false?.
...
original commit: 26541ffbbdccf7d27db1f1ae439430090fcb4b0b
2011-06-16 18:08:44 -04:00
Sam Tobin-Hochstadt
a431e7b5c7
Add contracts for `Sequenceof' values.
...
original commit: eaa156554a5c5305d147371bec0619436a0e7993
2011-06-15 17:02:09 -04:00