1. 19 Aug, 2015 1 commit
  2. 18 Aug, 2015 2 commits
  3. 17 Aug, 2015 4 commits
  4. 15 Aug, 2015 1 commit
    • Keith Randall's avatar
      [dev.ssa] cmd/compile/internal/ssa: Use explicit size for store ops · d4cc51d4
      Keith Randall authored
      Using the type of the store argument is not safe, it may change
      during rewriting, giving us the wrong store width.
      
      (Store ptr (Trunc32to16 val) mem)
      
      This should be a 2-byte store.  But we have the rule:
      
      (Trunc32to16 x) -> x
      
      So if the Trunc rewrite happens before the Store -> MOVW rewrite,
      then the Store thinks that the value it is storing is 4 bytes
      in size and uses a MOVL.  Bad things ensue.
      
      Fix this by encoding the store width explicitly in the auxint field.
      
      In general, we can't rely on the type of arguments, as they may
      change during rewrites.  The type of the op itself (as used by
      the Load rules) is still ok to use.
      
      Change-Id: I9e2359e4f657bb0ea0e40038969628bf0f84e584
      Reviewed-on: https://go-review.googlesource.com/13636Reviewed-by: default avatarJosh Bleecher Snyder <josharian@gmail.com>
      d4cc51d4
  5. 14 Aug, 2015 2 commits
  6. 13 Aug, 2015 6 commits
  7. 12 Aug, 2015 8 commits
  8. 11 Aug, 2015 5 commits
  9. 10 Aug, 2015 3 commits
  10. 07 Aug, 2015 1 commit
  11. 06 Aug, 2015 7 commits