1. 14 Nov, 2014 9 commits
  2. 13 Nov, 2014 7 commits
    • Austin Clements's avatar
      [dev.power64] 9g: implement regopt · 743bdf61
      Austin Clements authored
      This adds registerization support to 9g equivalent to what the
      other compilers have.
      
      LGTM=rsc
      R=rsc, dave
      CC=golang-codereviews
      https://golang.org/cl/174980043
      743bdf61
    • Austin Clements's avatar
      [dev.power64] 9l: remove enum as's tag for c2go · 231b8d61
      Austin Clements authored
      None of the other compilers have a tag for this enum.
      Cleaning all of this up to use proper types will happen after
      the conversion.
      
      LGTM=minux, rsc
      R=rsc, minux
      CC=golang-codereviews
      https://golang.org/cl/166690043
      231b8d61
    • Austin Clements's avatar
      [dev.power64] 6g,8g: remove unnecessary and incorrect reg use scanning · c3dadb3d
      Austin Clements authored
      Previously, the 6g and 8g registerizers scanned for used
      registers beyond the end of a region being considered for
      registerization.  This ancient artifact was copied from the C
      compilers, where it was probably necessary to track implicitly
      used registers.  In the Go compilers it's harmless (because it
      can only over-restrict the set of available registers), but no
      longer necessary because the Go compilers correctly track
      register use/set information.  The consequences of this extra
      scan were (at least) that 1) we would not consider allocating
      the AX register if there was a deferproc call in the future
      because deferproc uses AX as a return register, so we see the
      use of AX, but don't track that AX is set by the CALL, and 2)
      we could not consider allocating the DX register if there was
      a MUL in the future because MUL implicitly sets DX and (thanks
      to an abuse of copyu in this code) we would also consider DX
      used.
      
      This commit fixes these problems by nuking this code.
      
      LGTM=rsc
      R=rsc
      CC=golang-codereviews
      https://golang.org/cl/174110043
      c3dadb3d
    • Joel Sing's avatar
      [dev.cc] runtime: make SIGSYS notifiable on freebsd (again) · b2ec4cf5
      Joel Sing authored
      This was originally done to the C port in rev 17d3b45534b5 and
      seemingly got lost during the conversion.
      
      LGTM=bradfitz
      R=rsc, bradfitz
      CC=golang-codereviews
      https://golang.org/cl/167700043
      b2ec4cf5
    • Aram Hăvărneanu's avatar
      [dev.cc] runtime: convert Solaris port to Go · e088e162
      Aram Hăvărneanu authored
      Memory management was consolitated with the BSD ports, since
      it was almost identical.
      
      Assembly thunks are gone, being replaced by the new //go:linkname
      feature.
      
      This change supersedes CL 138390043 (runtime: convert solaris
      netpoll to Go), which was previously reviewed and tested.
      
      This change is only the first step, the port now builds,
      but doesn't run. Binaries fail to exec:
      
          ld.so.1: 6.out: fatal: 6.out: TLS requirement failure : TLS support is unavailable
          Killed
      
      This seems to happen because binaries don't link with libc.so
      anymore. We will have to solve that in a different CL.
      
      Also this change is just a rough translation of the original
      C code, cleanup will come in a different CL.
      
      [This CL is part of the removal of C code from package runtime.
      See golang.org/s/dev.cc for an overview.]
      
      LGTM=rsc
      R=rsc, dave
      CC=golang-codereviews, iant, khr, minux, r, rlh
      https://golang.org/cl/174960043
      e088e162
    • Alex Brainman's avatar
      [dev.cc] runtime: convert mem_windows.c to Go · a0862a17
      Alex Brainman authored
      LGTM=rsc
      R=rsc
      CC=golang-codereviews
      https://golang.org/cl/175000043
      a0862a17
    • Alex Brainman's avatar
      [dev.cc] runtime: add missing cb_max const · e5d01a5f
      Alex Brainman authored
      LGTM=rsc
      R=rsc
      CC=golang-codereviews
      https://golang.org/cl/169490043
      e5d01a5f
  3. 12 Nov, 2014 11 commits
  4. 11 Nov, 2014 13 commits