1. 29 Oct, 2018 3 commits
    • Daniel Martí's avatar
      text/template/parse: simplify Tree.pipeline · 37afd3e3
      Daniel Martí authored
      The pipeline parsing code was unnecessarily complex. It used a for loop
      with a trailing break, a complex switch, and up to seven levels of
      indentation.
      
      Instead, drop the loop in favor of a single named goto with a comment,
      and flatten out the complex switch to be easier to follow. Two lines of
      code are now duplicated, but they're simple and only three lines apart.
      
      While at it, move the pipe initialization further up to remove the need
      for three variables.
      
      Change-Id: I07b29de195f4000336219aadeadeacaaa4285c58
      Reviewed-on: https://go-review.googlesource.com/c/145285Reviewed-by: default avatarRob Pike <r@golang.org>
      Run-TryBot: Rob Pike <r@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      37afd3e3
    • bill_ofarrell's avatar
      cmd/asm: add s390x VMSLG instruction variants · 3f3142ad
      bill_ofarrell authored
      VMSLG has three variants on z14 and later machines. These variants are used in "limbified" squaring:
      VMSLEG: Even Shift Indication -- the even-indexed intermediate result is doubled
      VMSLOG: Odd Shift Indication -- the odd-indexed intermediate result is doubled
      VMSLEOG: Even and Odd Shift Indication -- both intermediate results are doubled
      Limbified squaring is very useful for high performance cryptographic algorithms, such as
      elliptic curve. This change allows these instructions to be used in Go assembly.
      
      Change-Id: Iaad577b07320205539f99b3cb37a2a984882721b
      Reviewed-on: https://go-review.googlesource.com/c/145180Reviewed-by: default avatarMichael Munday <mike.munday@ibm.com>
      3f3142ad
    • Alex Brainman's avatar
      os: remove sleep in windows Process.Wait · 5c359736
      Alex Brainman authored
      The wait was there, because we discovered that we could not remove
      finished process executable without the wait on Windows XP. But
      Windows XP is not supported by Go. Maybe we do not need the wait
      with modern Windows versions. Remove the sleep.
      
      Fixes #25965
      
      Change-Id: I02094abee3592ce4fea98eaff9d15137dc54dc81
      Reviewed-on: https://go-review.googlesource.com/c/145221
      Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      5c359736
  2. 28 Oct, 2018 9 commits
  3. 27 Oct, 2018 7 commits
  4. 26 Oct, 2018 11 commits
  5. 25 Oct, 2018 10 commits