]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: LOOP is a branch instruction on x86
authorRob Pike <r@golang.org>
Tue, 3 Mar 2015 17:30:07 +0000 (09:30 -0800)
committerRob Pike <r@golang.org>
Tue, 3 Mar 2015 22:44:24 +0000 (22:44 +0000)
commit9a420f4cf324736f77550e81176eb7363ec6788d
tree84f672e41cd78f6e6b1d1e1da4a15466e3ac60d7
parentcd277e28f26a916d9095fa839f5a8939be5d6b69
cmd/asm: LOOP is a branch instruction on x86

Just a missed case in in the handling of branches.

Fixes #10065

Change-Id: I6be054d30bf1f383c12b4c7626abd5f8ae22b22e
Reviewed-on: https://go-review.googlesource.com/6631
Reviewed-by: Minux Ma <minux@golang.org>
src/cmd/asm/internal/arch/arch.go
src/cmd/asm/internal/asm/testdata/386.out
src/cmd/asm/internal/asm/testdata/386.s
src/cmd/asm/internal/asm/testdata/amd64.out
src/cmd/asm/internal/asm/testdata/amd64.s