load: handle MOVABS special case
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user