1. 11 9月, 2012 5 次提交
    • R
      asm for memmove on i386 and x86_64 · 2bf46931
      Rich Felker 提交于
      for the sake of simplicity, I've only used rep movsb rather than
      breaking up the copy for using rep movsd/q. on all modern cpus, this
      seems to be fine, but if there are performance problems, there might
      be a need to go back and add support for rep movsd/q.
      2bf46931
    • R
      a9555a99
    • R
      reenable word-at-at-time copying in memmove · 1701e4f3
      Rich Felker 提交于
      before restrict was added, memove called memcpy for forward copies and
      used a byte-at-a-time loop for reverse copies. this was changed to
      avoid invoking UB now that memcpy has an undefined copying order,
      making memmove considerably slower.
      
      performance is still rather bad, so I'll be adding asm soon.
      1701e4f3
    • R
      fix ppoll with null timeout argument · 3b5e6905
      Rich Felker 提交于
      3b5e6905
    • R
      add LIBCC (compiler runtime) logic and override to configure · 2c1cd239
      Rich Felker 提交于
      this should both fix the issue with ARM needing -lgcc_eh (although
      that's really a bug in the libgcc build process that's causing
      considerable bloat, which should be fixed) and make it easier to build
      musl using clang/llvm in place of gcc. unfortunately I don't know a
      good way to detect and support pcc's -lpcc since it's not in pcc's
      default library search path...
      2c1cd239
  2. 10 9月, 2012 8 次提交
  3. 09 9月, 2012 12 次提交
  4. 08 9月, 2012 13 次提交
  5. 07 9月, 2012 2 次提交
    • R
      cleanup src/linux and src/misc trees, etc. · b9bb8f67
      Rich Felker 提交于
      previously, it was pretty much random which one of these trees a given
      function appeared in. they have now been organized into:
      
      src/linux: non-POSIX linux syscalls (possibly shard with other nixen)
      src/legacy: various obsolete/legacy functions, mostly wrappers
      src/misc: still mostly uncategorized; some misc POSIX, some nonstd
      src/crypt: crypt hash functions
      
      further cleanup will be done later.
      b9bb8f67
    • R
      fix constraint violation in ftw · 780aede4
      Rich Felker 提交于
      void* does not implicitly convert to function pointer types.
      780aede4