Skip to content
Snippets Groups Projects
  1. Jan 23, 2007
  2. Jan 20, 2007
  3. Jan 18, 2007
  4. Jan 16, 2007
  5. Jan 13, 2007
  6. Jan 11, 2007
  7. Jan 02, 2007
    • rtoy's avatar
      Update · 69d8f86a
      rtoy authored
      69d8f86a
  8. Jan 01, 2007
  9. Dec 24, 2006
  10. Dec 22, 2006
    • rtoy's avatar
      Fix issue reported by Albert Reiner, cmucl-help, 2006/10/20, and fix · 7b9a9f98
      rtoy authored
      another issue with uninitialized &aux variables.
      
        (defstruct (foobar
                     (:constructor make-foobar
                                   (xxx
                                    &key (aaa nil) (bbb nil)
                                    &aux
                                    (foobar-data xxx)
                                    (aaa (or aaa
                                             (getf foobar-data :aaa)
                                             1))
                                    (bbb (or bbb
                                             (getf foobar-data :bbb)
                                             (1+ aaa))))))
          (aaa (required-argument) :type fixnum)
          (bbb (required-argument) :type fixnum))
      
        (make-foobar nil) -> #<foobar :aaa 1 :bbb 2>
      
      But CMUCL gives type errors.
      
      To fix Albert's issue, modify CREATE-BOA-CONSTRUCTOR to keep track of
      the &aux vars separately from the other arglist vars.  Adjust
      CREATE-VECTOR-CONSTRUCTOR, CREATE-LIST-CONSTRUCTOR,
      CREATE-STRUCTURE-CONSTRUCTOR, and CREATE-FIN-CONSTRUCTOR to take an
      extra arg for the &aux vars.  For CREATE-STRUCTURE-CONSTRUCTOR, we
      only put declarations for the other arglist vars.  To make sure we
      store the right kinds of objects into the slots, we also wrap (the
      <type> init) for each initial value.
      
      Also CLHS 3.4.6 has an example of a boa constructor using an aux
      variable without an initializer.  CMUCL was not handling that right.
      Modify CREATE-BOA-CONSTRUCTOR to change the initializer to use (or
      <aux> slot-default-value) to get the correct default value into the
      slot if the aux variable doesn't.
      7b9a9f98
  11. Dec 21, 2006
    • rtoy's avatar
      Fix the bug reported by Madhu on cmucl-imp, 2006/12/16: · dd7132b7
      rtoy authored
      (defvar $f (open "/etc/passwd" :mapped t :class 'stream:file-simple-stream))
      (file-position $f)
      
      returns a negative value.
      
      I think this happens because of some possible confusion between
      buffer-ptr and buf-len in a mapped file-simple-stream.  I changed the
      code so that buffer-ptr is initialized to 0, and the various routines
      that check for eof compare buffpos against buf-len, instead of
      buffer-ptr.  I think this also means buffer-ptr is not used in mapped
      file-simple-streams.
      
      Add a couple of file-position tests too.
      dd7132b7
  12. Dec 19, 2006
    • cshapiro's avatar
      When attempting to macro expand a symbol that denotes a local · d2dcf0fa
      cshapiro authored
      definition, if the symbol is symbol macro, return the expansion.
      Otherwise, if the symbol is a local definition but not a symbol macro,
      return the symbol and report no expansion.  Previously, the otherwise
      case was not handled and macroexpand-1 fell through in error to test
      forms for global cases.  Among other things, this caused the expansion
      of global symbol macros shadowed by lexical variable bindings.
      d2dcf0fa
  13. Dec 02, 2006
    • rtoy's avatar
      code/float-trap.lisp: · 896812b8
      rtoy authored
      o Need to clear out the individual invalid operation bits when
        clearing the invalid exception bit.
      
      code/exports.lisp:
      compiler/ppc/parms.lisp:
      o Export FLOAT-INVALID-OP-1-BYTE.  (Needs a better name.)
      896812b8
  14. Nov 30, 2006
  15. Nov 16, 2006
    • rtoy's avatar
      Update from logs. · fdf1e3ae
      rtoy authored
      fdf1e3ae
    • rtoy's avatar
      Match ppc changes. · 02ce9dfa
      rtoy authored
      02ce9dfa
    • rtoy's avatar
      code/float-trap.lisp: · 6f968a58
      rtoy authored
      o Pass the modes to GET-FP-OPERANDS
      
      compiler/ppc/float.lisp:
      o If the destination register is the same as one of the source
        registers, an overflow or underflow exception will have replaced the
        source register with the result.  In that case, replace the source
        value with NIL to indicate we don't know.  (We could recompute the
        source from the result, but there would be a round-off error.)
      6f968a58
  16. Nov 15, 2006
  17. Nov 14, 2006
  18. Nov 13, 2006
    • rtoy's avatar
      Update fasl file version to 19d for snapshots. · 79a39dbc
      rtoy authored
      compiler/byte-comp.lisp:
      o Update version
      
      bootfiles/19c/boot-19d.lisp:
      o Boot file for updating the fasl version.  Use this if building from
        a snapshot.  Or you can use a 19d build for this.
      79a39dbc
  19. Nov 08, 2006
  20. Nov 07, 2006
  21. Nov 06, 2006
  22. Nov 03, 2006
    • rtoy's avatar
      assembly/ppc/assem-rtns.lisp: · 34434dfc
      rtoy authored
      assembly/ppc/support.lisp:
      compiler/ppc/call.lisp:
      o Remove old code using BA and BLA instructions.
      
      lisp/Config.ppc_darwin:
      o Don't run adjustlisp target
      o Don't compile darwin-lispadjuster.
      34434dfc
  23. Nov 02, 2006
    • rtoy's avatar
      This set of changes removes the constraint of the READ-ONLY space · 5568e737
      rtoy authored
      having to be in low memory.  This is done be replacing the absolute
      branch instructions with equivalents that can branch anywhere.  This
      adds a few extra instructions everywhere.  Oh well.
      
      We also move the READ-ONLY space to a different location so we don't
      need the linker hacks and the darwinadjuster hacks.
      
      A basic cross-compile is necessary.  Use boot-2006-11-1-cross-ppc.lisp
      for this.
      
      assembly/ppc/assem-rtns.lisp:
      compiler/ppc/call.lisp:
      o Replace BA instruction with BCTR.
      
      assembly/ppc/support.lisp:
      o Replace BLA instruction with BCTRL.
      o Replace BA instruction with BCTR.
      
      compiler/ppc/parms.lisp:
      lisp/ppc-validate.h:
      o Move the read-only space to #x04000000 instead of #x01000000.  (This
        address appears to be free.)
      
      lisp/Config.ppc_darwin:
      o Comment out the linker flags for the CMUCLRO space.
      o Don't run the darwin-lispadjuster program.  (We still build
        darwin-lispadjuster for now, but that should be removed eventually.)
      5568e737
  24. Oct 30, 2006
  25. Oct 29, 2006
  26. Oct 27, 2006
    • rtoy's avatar
      Oops. Change = to ==. · dada2e08
      rtoy authored
      Without this, hash tables were majorly broken because the hash vector
      was getting set to EQ_BASED_HASH_VALUE.
      dada2e08
  27. Oct 02, 2006
Loading