diff --git a/internal/gen/loadertest.go b/internal/gen/loadertest.go index ddff2bb..b53d949 100644 --- a/internal/gen/loadertest.go +++ b/internal/gen/loadertest.go @@ -45,7 +45,7 @@ func (l *LoaderTest) Generate(w io.Writer, is []*inst.Instruction) error { for _, f := range i.Forms { as := l.args(i.Opcode, f.Operands) if as == nil { - p.printf("\t// TODO: %#v\n", f.Operands) + p.printf("\t// TODO: %s %#v\n", i.Opcode, f.Operands) counts["todo"]++ continue } diff --git a/internal/load/load.go b/internal/load/load.go index 95a6b12..9e9b3bc 100644 --- a/internal/load/load.go +++ b/internal/load/load.go @@ -146,6 +146,14 @@ func (l Loader) include(f opcodesxml.Form) bool { // case "callq", "jmpl": return false + // MOVABS doesn't seem to be supported either. + // + // Reference: https://github.com/golang/go/blob/1ac84999b93876bb06887e483ae45b27e03d7423/src/cmd/asm/internal/asm/testdata/amd64enc.s#L2354 + // + // //TODO: MOVABSB 0x123456789abcdef1, AL // a0f1debc9a78563412 + // + case "movabs": + return false } return true