1. 15 Jul, 2016 1 commit
    • Cherry Zhang's avatar
      [dev.ssa] cmd/compile: use shifted and indexed ops in SSA for ARM · 8cc3f4a1
      Cherry Zhang authored
      This CL implements the following optimizations for ARM:
      - use shifted ops (e.g. ADD R1<<2, R2) and indexed load/stores
      - break up shift ops. Shifts used to be one SSA op that generates
        multiple instructions. We break them up to multiple ops, which
        allows constant folding and CSE for comparisons. Conditional moves
        are introduced for this.
      - simplify zero/sign-extension ops.
      
      Updates #15365.
      
      Change-Id: I55e262a776a7ef2a1505d75e04d1208913c35d39
      Reviewed-on: https://go-review.googlesource.com/24512
      Run-TryBot: Cherry Zhang <cherryyz@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarDavid Chase <drchase@google.com>
      8cc3f4a1
  2. 13 Jul, 2016 4 commits
  3. 12 Jul, 2016 4 commits
  4. 11 Jul, 2016 5 commits
  5. 08 Jul, 2016 5 commits
  6. 07 Jul, 2016 3 commits
  7. 06 Jul, 2016 6 commits
  8. 05 Jul, 2016 1 commit
    • Emmanuel Odeke's avatar
      encoding/gob: document Encode, EncodeValue nil pointer panics · 5a9d5c37
      Emmanuel Odeke authored
      Fixes #16258.
      
      Docs for Encode and EncodeValue do not mention that
      nil pointers are not permitted hence we panic,
      because Gobs encode values yet nil pointers have no value
      to encode. It moves a comment that was internal to EncodeValue
      to the top level to make it clearer to users what to expect
      when they pass in nil pointers.
      Supplements test TestTopLevelNilPointer.
      
      Change-Id: Ie54f609fde4b791605960e088456047eb9aa8738
      Reviewed-on: https://go-review.googlesource.com/24740Reviewed-by: default avatarAndrew Gerrand <adg@golang.org>
      Run-TryBot: Andrew Gerrand <adg@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      5a9d5c37
  9. 04 Jul, 2016 4 commits
  10. 03 Jul, 2016 1 commit
  11. 02 Jul, 2016 2 commits
  12. 01 Jul, 2016 2 commits
  13. 30 Jun, 2016 2 commits