go: x/arch/x86/x86asm: missing instructions: FLDZ, FLDLN2
package main
import "golang.org/x/arch/x86/x86asm"
func main() {
text := []byte{0xd9, 0xee} // fldz
_, err := x86asm.Decode(text[:], 64)
if err != nil {
panic(err)
}
}
I found two missing instructions (they’re also missing in x86.csv, which suggests that x86.csv is not complete): 0xd9 0xed: FLDLN2 0xd9 0xee: FLDZ
There are also some missing AVX instructions: e.g. c4 c1 f3 2a cc vcvtsi2sd %r12,%xmm1,%xmm1
/cc @rsc
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 19 (17 by maintainers)
Commits related to this issue
- travis: use x/arch/x86/x86asm fork until golang/go#18665 is fixed — committed to decomp/exp by mewmew 7 years ago
- x86asm: add support for FLDZ and FLDLN2 Fixes golang/go#18665. — committed to mewpull/arch by mewmew 6 years ago
- x86asm: add support for FLDZ and FLDLN2 Fixes golang/go#18665. — committed to mewpull/arch by mewmew 6 years ago
- x86/x86asm: add test cases for fldln2 and fldz Updates golang/go#18665. — committed to mewpull/arch by mewmew 5 years ago
🎉