Skip to content
Snippets Groups Projects
  1. Feb 22, 2005
  2. 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
  3. Feb 10, 2005
  4. Feb 08, 2005
  5. 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
  6. 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
  7. Feb 02, 2005
  8. Jan 31, 2005
  9. Jan 27, 2005
  10. Dec 24, 2004
  11. Dec 23, 2004
  12. Dec 22, 2004
  13. Dec 21, 2004
  14. Dec 15, 2004
  15. Dec 14, 2004
  16. Dec 13, 2004
  17. Dec 09, 2004
  18. Dec 06, 2004
  19. Dec 03, 2004
  20. Nov 20, 2004
  21. Nov 19, 2004
  22. Nov 17, 2004
  23. Nov 16, 2004
    • cwang's avatar
      typo · e40848aa
      cwang authored
      e40848aa
  24. Nov 11, 2004
  25. Nov 10, 2004
  26. Oct 24, 2004
    • rtoy's avatar
      Port Thomas Burdick's port of cmucl's callbacks to sbcl/ppc. · 1e8dad31
      rtoy authored
      * alieneval.lisp:
        o The CALLBACK defstruct holds the entire alien function type
        o COMPATIBLE-RETURN-TYPES-P renamed to COMPATIBLE-FUNCTION-TYPES-P and
          and made specific to each backend.
        o Adjust code appropriately.
      
      ppc/c-call.lisp:
        o Port Thomas Burdick's callback code to ppc.
      
      sparc/c-call.lisp:
      x86/c-call.lisp:
        o Adjust code appropriately for new callback structure.
        o Implement COMPATIBLE-FUNCTION-TYPES-P, like original
          COMPATIBLE-RETURN-TYPES-P
      1e8dad31
  27. Oct 23, 2004
  28. Oct 22, 2004
    • rtoy's avatar
      o Make NAMESTRING-PARSE-ERROR also be a TYPE-ERROR. This is a work · f22ac9ee
      rtoy authored
        around for the case where an invalid character is passed to
        LOGICAL-PATHNAME, which is supposed to signal a type-error.
      o Make sure the result from LOGICAL-PATHNAME is really a
        logical-pathname.  (May not be the best solution.)
      
      This fixes ansi-test logical-pathname.error.3 and
      logical-pathname.error.10.
      f22ac9ee
Loading