Skip to content
Snippets Groups Projects
  1. Apr 15, 2005
    • rtoy's avatar
      lisp/lisp.c: · 1cceeb7e
      rtoy authored
      o Add function for ppc to compute the number of CPU cycles per
        timebase ticks.  Save this in a global variable.
      
      code/time.lisp:
      o Adjust cycle-count/float for ppc to use the cycles-per-tick to
        compute the actual number of CPU cycles, so we can display cycles
        instead of ticks.
      1cceeb7e
  2. Apr 14, 2005
    • rtoy's avatar
      code/load.lisp: · 51e70805
      rtoy authored
      o Define EXT:INVALID-FASL condition
      o Signal such a condition when we try to load a fasl compiled for a
        different version of CMUCL.
      
      code/exports.lisp:
      o Export EXT:INVALID-FASL
      o Export a few other symbols we forgot.
      51e70805
  3. Apr 13, 2005
  4. Apr 04, 2005
    • rtoy's avatar
      Change how the CMUCL extension enabling both character and binary I/O · 5795a2f7
      rtoy authored
      is done, based on a suggestion from Lynn Quam.
      
      o Add BINARY-TEXT-STREAM structure for streams that support binary and
        character I/O.  This is basically an FD-STREAM.
      o Export BINARY-TEXT-STREAM from the EXTENSIONS package.
      o OPEN will recognize :class 'ext:binary-text-stream to enable such
        streams.
      o Removed *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT*, since we use
        OPEN to specify that now.
      
      Use boot-2005-03-2.lisp to bootstrap this change.
      5795a2f7
  5. Mar 30, 2005
  6. Mar 22, 2005
  7. Mar 18, 2005
  8. Mar 17, 2005
    • rtoy's avatar
      Implement tracing for the known-return convention. This is basically · 46a81e81
      rtoy authored
      Helmut Eller's patch sent to cmucl-imp on 2005-03-08.  This basically
      means tracing recursive functions will show all recursions during the
      trace and not just the final call.
      
      code/debug-int.lisp:
      o Apply Helmut's patch.  Tweak it so when the known-return convention
        is being used, we tell MAKE-BOGUS-LRA that we're using the
        known-return so we can handle it properly.
      
      lisp/breakpoint.c:
      o Add an extra parameter to compute_offset so we know we're handling a
        function-end breakpoint or not.  Needed because reg_CODE isn't
        pointing to the bogus lra in this case, so the offsets are all
        wrong.  We compute the right offset for the known return and return
        the offset as negative so we can tell.
      o Adjust all callers of compute_offset.
      o Adjust handle_function_end_breakpoint to handle negative offsets
        from compute_offset so we can get the right code component for the
        bogus lra.
      46a81e81
  9. Mar 08, 2005
  10. Mar 04, 2005
  11. Feb 25, 2005
  12. Feb 22, 2005
  13. Feb 21, 2005
    • rtoy's avatar
      Apply Lynn Quam's proposed enhancements to fd-streams allowing input · d4ad6755
      rtoy authored
      streams opened with element-type (unsigned-byte 8) to be also opened
      for character input.  This gives simple-streams semantics to
      fd-streams.
      
      * code/fd-stream.lisp
        o Make FD-STREAM-IN use PICK-INPUT-ROUTINE to select the correct
          type of input.
        o Add *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT* to allow binary
          and character input.  Currently defaults to NIL, but will change
          to T.
      
      * code/stream.lisp
        o New READ-INTO-SIMPLE-STRING to allow stream element-type of
          (unsigned-byte 8).
        o Support reading and writing simple arrays of single-float and
          double-float.
        o Strings can be written to streams of element-type '(unsigned-byte
          8).
      
      * tools/worldcom.lisp
        o Compile stream-vector-io.lisp.
      
      * tools/worldload.lisp
        o Load stream-vector-io.
      
      * code/stream-vector-io.lisp
        o New file implementing READ-VECTOR and WRITE-VECTOR.
      d4ad6755
    • rtoy's avatar
      In some situations, the compiler spends an enormous amount of time · ae65549e
      rtoy authored
      computing the union of a bunch of disjoint integer types, usually from
      some DO loop.  This fix implements a hack to short-circuit that case
      by checking to see if the union is long enough and instead of
      returning the precise union, we return the smallest interval that
      contains all of the integer types in the union.  The max length of the
      union is set by *union-length-threshold*, defaulting to 50.
      
      This is a gross hack.  We should do something better than this.
      ae65549e
  14. Feb 10, 2005
  15. Feb 08, 2005
  16. Feb 07, 2005
    • rtoy's avatar
      * code/internet.lisp, code/unix.lisp: · c6c7366b
      rtoy authored
        o Make inet-recvfrom and friends available on Darwin again.
      
      * lisp/linux-stubs.S
        o Oops. Forgot to fix up #if with !defined(DARWIN)
        o Add recvfrom and friends to the stubs.
      c6c7366b
  17. Feb 06, 2005
    • rtoy's avatar
      Initial support for linkage-tables on PPC/Darwin. This is a · 6a4fd3c3
      rtoy authored
      relatively straightforward port of the sparc version of
      linkage-tables.  Some refinements are probably still needed, as well
      as some testing.
      
      Use boot-2005-02-ppc-linkage.lisp to bootstrap this change from the
      2005-02 snapshot.
      
      * code/ppc-vm.lisp
        o Add appropriate FOREIGN-SYMBOL-ADDRESS-AUX and FIND-FOREIGN-SYMBOL
          functions for linkage-table.
      
      * compiler/generic/new-genesis.lisp
        o Basically do the same as the sparc port for linkage-tables.
        o need to extern-alien-name on the cold linkages since they C names
          depend on the backend conventions.
      
      * compiler/ppc/alloc.lisp
        o Load "undefined_tramp" appropriately for linkage-tables.
      
      * compiler/ppc/c-call.lisp
        o Define new vops (FOREIGN-SYMBOL-CODE-ADDRESS,
          FOREIGN-SYMBOL-DATA-ADDRESS) for linkage-tables so we can access
          correctly.
      
      * compiler/ppc/cell.lisp
        o Load "closure_tramp" appropriately for linkage-tables
        o Load "undefined_tramp" appropriately for linkage-tables
      
      * compiler/ppc/parms.lisp
        o Put the foreign linkage space start at the end of the static space
          to make it easier to bootstrap.  (We need already mapped memory.)
          We can move this later.
        o Correct TARGET-FOREIGN-LINKAGE-ENTRY-SIZE.
        o Add new static-symbol *linkage-table-data*
        o While were at it, add SPARE-9 and SPARE-0 static symbols so we
          have 10 spares.
      
      * lisp/Config.ppc_darwin
        o Add -DLINKAGE_TABLE to CFLAGS/ASFLAGS if we have linkage-table
          support.
      
      * lisp/Darwin-os.c
        o Add os_dlsym to support linkage-tables.  (This nees a little
          refactoring because we just copied the #defines for dlopen modes.)
      
      * lisp/os-common.c
        o The checking of the linkage tables that is done for sparc almost
          works for ppc, but not quite.  Implement one for ppc.
      
      * lisp/ppc-arch.c
        o Add PPC version of arch_make_jump_entry, arch_make_linkage_entry,
          arch_linkage_entry.
      
      * lisp/ppc-assem.S
        o Add lazy_resolve_linkage to support linkage-tables.  This needs
          some more work.
        o Add undefined_foreign_symbol_trap.  This probably needs work, and
          definitely needs testing.
      
      * lisp/ppc-validate.h
        o Define the start of the linkage space and size.
      6a4fd3c3
    • rtoy's avatar
      Temporarily disable recvfrom and friends on Darwin. · cdc21869
      rtoy authored
      cdc21869
    • rtoy's avatar
      Export COMPATIBLE-FUNCTION-TYPES-P for PPC. · c126db45
      rtoy authored
      c126db45
  18. Feb 02, 2005
  19. Jan 31, 2005
  20. Jan 27, 2005
  21. Dec 24, 2004
  22. Dec 23, 2004
  23. Dec 22, 2004
  24. Dec 21, 2004
  25. Dec 15, 2004
  26. Dec 14, 2004
  27. Dec 13, 2004
Loading