| 1 |
Performance Bugs: |
| 2 |
|
| 3 |
Tail call optimization does not seem to always kick. In this |
| 4 |
example, x which comes in (disp -4 %esp) is copied into |
| 5 |
(disp -4 %esp) even though it was there to begin with. |
| 6 |
|
| 7 |
> (lambda (x) (quotient x x)) |
| 8 |
|
| 9 |
--- |
| 10 |
(cmpl -4 %eax) |
| 11 |
(jne (label L16)) |
| 12 |
(label L17) |
| 13 |
(movl (disp -4 %esp) %edi) |
| 14 |
(movl (disp -4 %esp) %eax) |
| 15 |
(movl %edi %ebx) |
| 16 |
(movl (disp (obj quotient) 7) %edi) |
| 17 |
(movl %ebx (disp -4 %esp)) |
| 18 |
(movl %eax (disp -8 %esp)) |
| 19 |
(movl -8 %eax) |
| 20 |
(jmp (disp -3 %edi)) |
| 21 |
(label L16) |
| 22 |
(jmp (label SL_invalid_args)) |
| 23 |
(nop) |
| 24 |
|
| 25 |
Other Bugs: |
| 26 |
|
| 27 |
* fxsra does not work for large numbers |
| 28 |
|
| 29 |
* Ensure immutable exports |
| 30 |
|
| 31 |
|
| 32 |
Email Will Clinger regarding: |
| 33 |
|
| 34 |
Larceny v0.93 "Deviated Prevert" (Nov 10 2006 04:27:45, precise:BSD |
| 35 |
Unix:unified) |
| 36 |
|
| 37 |
|
| 38 |
> (exact->inexact #xFFFFFFFFFFFFFFFF) |
| 39 |
9.223372036854776e18 |
| 40 |
|
| 41 |
> #xFFFFFFFFFFFFFFFF |
| 42 |
18446744073709551615 |
| 43 |
|
| 44 |
====================================================================== |
| 45 |
FIXED: |
| 46 |
|
| 47 |
* pretty-print goes into infinite loop on cyclic data |
| 48 |
|
| 49 |
* set! on global names is not working. |
| 50 |
|
| 51 |
* (exact->inexact (/ (expt 2 3000) (- (expt 2 3000) 1))) |
| 52 |
should return 1.0, not +nan.0. |
| 53 |
|
| 54 |
* FIXED symbol calls are not checking for non-procedure. |
| 55 |
|
| 56 |
|
| 57 |
* FIX: Error in generate-code: BUG: unhandles single rv. |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
Not applicable anymore: |
| 64 |
|
| 65 |
* In libcompile.ss: |
| 66 |
If you move the (initialize-system) call to the very bottom of the |
| 67 |
library, the system crashes on startup. |
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
Fixed: |
| 74 |
|
| 75 |
* Investigate what happens when an interrupt occurs during a write. |
| 76 |
|
| 77 |
> (define (f) (write (gensym)) (newline) (f)) |
| 78 |
> (f) |
| 79 |
... |
| 80 |
#{g17660 |adxhQB29QdSYPKBS|} |
| 81 |
#{g17661 |ZaFfTMGRz!c17&zm|} |
| 82 |
#{g17662 |>yF!AMbaIL$dTG>B|}#{g17662 |>yF!AMbaIL$dTG>B|}Error: |
| 83 |
interrupted. |
| 84 |
> |
| 85 |
|
| 86 |
Two displays occurred at the end. |
| 87 |
|
| 88 |
|