1. 31 Aug, 2017 1 commit
    • Raymond Toy's avatar
      Fix compiler warning about else · 3b4f3977
      Raymond Toy authored
      Add braces around the else clause that's indented as if it were part
      of the else clause.  Inspection of the algorithm indicates that this
      is probably the intended code and in this case doesn't change what
      gets executed because the following statements would have been anyway.
      
      Also verified a few random values that `(asin x)` and `(asin (float x
      1w0))` produce the same values.  Only need to test 2^-27 <= x < 0.5.
      3b4f3977
  2. 29 Aug, 2017 1 commit
    • Raymond Toy's avatar
      Fix #40: Move start of heap space higher · c40b7a6b
      Raymond Toy authored
      This is a workaround for issue #40.  By moving the start of the heap
      to a higher address, we can still run on older systems (albeit with
      reduced max heap size), and run on newer systesm where the C code is
      now mapped at or overlapping the (old) heap start.  Arbitrarily choose
      0x60000000 as a compromise.
      
      This also requires moving the foreign linkage start to a different
      address because the old address overlaps the new C area.
      
      Ideally, we could fix this if we could map the heap wherever the OS
      wants to put it, but we're not there yet.
      
      Use boot-2017-04.lisp to bootstrap this change from the 2017-04
      snapshot.
      c40b7a6b
  3. 27 Aug, 2017 1 commit
    • Raymond Toy's avatar
      Print more info for dynamic space lossage · 2830e140
      Raymond Toy authored
      If we get dynamic space lossage, print out the actual address and the
      expected addresses for the dynamic space so we can see what happened.
      This is really useful if you change the dynamic space address but
      didn't update everything correctly.
      2830e140
  4. 22 Mar, 2017 2 commits
  5. 17 Dec, 2016 3 commits
  6. 11 Dec, 2016 2 commits
  7. 03 Dec, 2016 2 commits
    • Raymond Toy's avatar
      Initial Config for sparc64 build. · f9d62c05
      Raymond Toy authored
      Copy Config.sparc_sunc to Config.sparcv9_sunc, removing the -m32
      option and updating ASSEM_SRC to sparcv9-assem.S.  Remove that from
      Config.sparc_common and put it in Config.sparc_sunc.
      f9d62c05
    • Raymond Toy's avatar
      Copy sparc/* to sparcv9/* · cdbb2388
      Raymond Toy authored
      Pure copy of sparc files to sparcv9 directory and copy sparc-assem.S
      to sparcv9-assem.S
      
      No other changes made.
      cdbb2388
  8. 02 Dec, 2016 1 commit
    • Raymond Toy's avatar
      Apply cmucl style · 7e4f7eb9
      Raymond Toy authored
      ieee754_rem_pio2 was not formatted according to cmucl style.  Just
      re-indent. No other changes.
      7e4f7eb9
  9. 30 Nov, 2016 1 commit
  10. 29 Nov, 2016 3 commits
    • Raymond Toy's avatar
      Solaris needs -lrt library to get nanosleep. · f09db6e5
      Raymond Toy authored
      f09db6e5
    • Raymond Toy's avatar
      Minor cosmetic tweaks · 05585b8d
      Raymond Toy authored
      o Include math.h before netdb.h (from Carl)
      o Use ceil instead of trunc and add comment on why.
      o Conform to cmucl style.
      05585b8d
    • Raymond Toy's avatar
      Fix #26: Use nanosleep to sleep · e5777ecb
      Raymond Toy authored
      lisp/os-common.c:
      o Implement os_sleep(double) to sleep for the given number of
        seconds.  Uses nanosleep on all platforms to sleep, taking care to
        sleep more if nanosleep was interrupted.
      
      code/lispinit.lisp:
      code/multi-proc.lisp:
      o Use the new os_sleep function to sleep for the requested amount of
        time.
      e5777ecb
  11. 01 Oct, 2016 3 commits
  12. 22 May, 2016 1 commit
  13. 21 May, 2016 7 commits
  14. 12 May, 2016 4 commits
  15. 11 May, 2016 6 commits
  16. 10 May, 2016 1 commit
    • Raymond Toy's avatar
      Add RELOCATABLE_STACK_START to control stack spaces · 951611cf
      Raymond Toy authored
      When RELOCATABLE_STACK_START is defined, the control stack, binding
      stack, and sigalt stack are located wherever mmap finds room for them.
      
      Currently only implemented for Darwin, but should work for linux and
      solaris.  We enable this by default on Darwin now.
      951611cf
  17. 29 Feb, 2016 1 commit
    • Raymond Toy's avatar
      Reduce maximum heap size for Linux. · 9e4c9d0a
      Raymond Toy authored
      According to the message from Chisheng Huang on cmucl-help,
      2016-02-27, 32-bit Ubuntu 11.10 (in VirtualBox) cannot use the full
      heap space.  There's something already allocated at address 0xb7b82000,
      so limit the max heap to address 0xb7b80000, for a total of 1530 MB
      instead of 1632 MB.
      
      (It would be nice to be able to detect this somehow.)
      9e4c9d0a