]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/x86: use named consts for movtab Z-cases
authorquasilyte <quasilyte@gmail.com>
Sat, 14 Apr 2018 09:17:09 +0000 (12:17 +0300)
committerCherry Zhang <cherryyz@google.com>
Fri, 11 May 2018 14:40:34 +0000 (14:40 +0000)
commite405c9cca34d76a3d5382086302d6f41c362c465
treee37477767c994b950fcf0320ff4173420ce447ca
parent47be3d49c7d7ff77e675b0d0fb78c05fdb43dee2
cmd/internal/obj/x86: use named consts for movtab Z-cases

Use 0-terminated opbyte sequences for Zlit-like movtabs instead of E=0xff.

movCodeFullPtr is unused (load full ptr is unsupported), but it should
be removed in a separate CL (if removed at all).

Passes toolstash-check.

Change-Id: I28436718d93b017153de0e50e3bcec344ea4ee05
Reviewed-on: https://go-review.googlesource.com/107076
Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/asm/internal/asm/testdata/386enc.s
src/cmd/asm/internal/asm/testdata/amd64enc_extra.s
src/cmd/internal/obj/x86/asm6.go