|author||Jordan Rupprecht <email@example.com>||Fri Jan 08 17:59:09 2021 -0800|
|committer||Cherry Zhang <firstname.lastname@example.org>||Wed Jan 27 22:56:35 2021 +0000|
x86asm: fix ud1 encoding, add ud0 An internal test fails due to processing an instruction stream with ud1 instructions, and because the arguments aren't properly accounted for, the instruction stream gets lost and eventually fails to decode later instructions due to being at the wrong offsets. According to the latest intel x86 manual, ud1 takes operands "r32, r/m32", and so we need to specify that so the full instruction gets decoded. There is also a ud0 instruction with a similar encoding to ud1. Change-Id: Id84bd9a0206bfef9832e63a4cabe8b5db3bf6fee Reviewed-on: https://go-review.googlesource.com/c/arch/+/282752 Reviewed-by: Cherry Zhang <email@example.com> Run-TryBot: Cherry Zhang <firstname.lastname@example.org> TryBot-Result: Go Bot <email@example.com> Trust: Ian Lance Taylor <firstname.lastname@example.org>
This repository holds machine architecture information used by the Go toolchain. The parts needed in the main Go repository are copied in.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the arch repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/arch:” in the subject line, so it is easy to find.