1
0
mirror of https://github.com/golang/go synced 2024-11-17 01:34:52 -07:00

cmd/internal/obj/x86: unexport movtab

Change-Id: Ia071f6914b3c155a88103f930af00028986ec8c7
Reviewed-on: https://go-review.googlesource.com/c/151019
Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
artemkaxboy 2018-11-23 12:52:53 +07:00 committed by Brad Fitzpatrick
parent 192b675f17
commit e881604d1c

View File

@ -92,7 +92,7 @@ type Optab struct {
op opBytes op opBytes
} }
type Movtab struct { type movtab struct {
as obj.As as obj.As
ft uint8 ft uint8
f3t uint8 f3t uint8
@ -3619,7 +3619,7 @@ const (
movTLSReg movTLSReg
) )
var ymovtab = []Movtab{ var ymovtab = []movtab{
// push // push
{APUSHL, Ycs, Ynone, Ynone, movLit, [4]uint8{0x0e, 0}}, {APUSHL, Ycs, Ynone, Ynone, movLit, [4]uint8{0x0e, 0}},
{APUSHL, Yss, Ynone, Ynone, movLit, [4]uint8{0x16, 0}}, {APUSHL, Yss, Ynone, Ynone, movLit, [4]uint8{0x16, 0}},
@ -3733,8 +3733,8 @@ var ymovtab = []Movtab{
{AMOVW, Ytask, Ynone, Yml, movRegMem2op, [4]uint8{0x0f, 0x00, 1, 0}}, {AMOVW, Ytask, Ynone, Yml, movRegMem2op, [4]uint8{0x0f, 0x00, 1, 0}},
/* load full pointer - unsupported /* load full pointer - unsupported
Movtab{AMOVL, Yml, Ycol, movFullPtr, [4]uint8{0, 0, 0, 0}}, {AMOVL, Yml, Ycol, movFullPtr, [4]uint8{0, 0, 0, 0}},
Movtab{AMOVW, Yml, Ycol, movFullPtr, [4]uint8{Pe, 0, 0, 0}}, {AMOVW, Yml, Ycol, movFullPtr, [4]uint8{Pe, 0, 0, 0}},
*/ */
// double shift // double shift