]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] cmd/asm: fix build for x86 architectures
authorRob Pike <r@golang.org>
Tue, 17 Feb 2015 04:42:55 +0000 (20:42 -0800)
committerRob Pike <r@golang.org>
Tue, 17 Feb 2015 04:55:38 +0000 (04:55 +0000)
commit68bcc13291af2340dd26a44caff638d0b04fe456
tree0e9fc7a293f4ff8397d3a393ce47b793310aa29b
parent188296e5bf8b74557f8cd27a3da692a75c9a973f
[dev.cc] cmd/asm: fix build for x86 architectures

Mishandled the complex addressing mode in masks<>(SB)(CX*8)
as a casualty of the ARM work. Fix by backing all the flows up to
the state where registerIndirect is always called with the input
sitting on the opening paren.

With this, build passes for me with linux-arm, linux-386, and linux-amd64.

Change-Id: I7cae69a6fa9b635c79efd93850bd1e744b22bc79
Reviewed-on: https://go-review.googlesource.com/4964
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/parse.go