1. Dec 05, 2015
  2. Dec 02, 2015
  3. Nov 26, 2015
  4. Sep 25, 2015
  5. Sep 15, 2015
    • Michael Yenik's avatar
      riscv: asm: no-op RISCV LinkArch · 75bcaaa6
      Michael Yenik authored
      This adds a no-op LinkArch that is actually tied in to a real RISCV asm
      obj package, with instruction definitions. Now the hard work begins...
      
      $ cd $(GO)/src
      $ GOROOT=$(pwd)/.. GOROOT_BOOTSTRAP=/bootstrap/tools/path ./make.bash
      $ cd $(GO)
      $ GOARCH=riscv ./pkg/tool/linux_amd64/asm -debug test.s
      
      Change-Id: I16714c560651c8c22791d09f779c5e04c2cc4e40
      75bcaaa6
  6. Sep 12, 2015
  7. Sep 09, 2015
  8. Sep 08, 2015
  9. Sep 07, 2015
  10. Sep 06, 2015
    • Didier Spezia's avatar
      cmd/asm: fix another infinite loop in register list parser · 63e2bed0
      Didier Spezia authored
      The code parsing register lists involves an inner loop on
      each range defined by the lo,hi bounds. The condition on
      this loop (for lo<=hi) is fragile, because the bounds
      are unsigned 16 bits numbers.
      
      In some corner cases, the calculated upper bound is 2^16-1
      leading to an infinite loop.
      
      Parsing operand `[):[o-FP` results in:
      - an infinite loop for non ARM architectures
      - the generation of almost 2^16 errors for the ARM architecture
        (which are then ignored)
      
      This CL improves the code in 3 ways:
      - bail out early when parsing non R prefixed registers
      - make sure the register index is never negative
      - make sure the number of iterations is limited by the
        maximum size of the range (as a defensive measure).
      
      Fixes #12469
      
      Change-Id: Ib1e7e36fb8ad5a3a52c50fc6219d3cfe2b39cc34
      Reviewed-on: https://go-review.googlesource.com/14314
      
      
      Reviewed-by: default avatarRob Pike <r@golang.org>
      63e2bed0
  11. Sep 05, 2015
  12. Sep 04, 2015