]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/x86: fix adcb r/mem8,reg8 encoding
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 26 Apr 2017 15:53:02 +0000 (16:53 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 26 Apr 2017 20:41:12 +0000 (20:41 +0000)
commit92d918da032fa229e2909c0bdacbf8587bb96e08
tree37a1dadd45b9b70f57df55f834fe405da2afc0a5
parent92607fdd304c1d2f1be243a8bf0fc1b8224d2c18
cmd/internal/obj/x86: fix adcb r/mem8,reg8 encoding

Taken from the Intel Software Development Manual (of course, in the line
below it's ADC DST, SRC; The opposite of the commit subject).

  12 /r ADC r8, r/m8

We need 0x12 for the corresponding ytab line, not 0x10.

  {Ymb, Ynone, Yrb, Zm_r, 1},

Updates #14069

Change-Id: Id37cbd0c581c9988c2de355efa908956278e2189
Reviewed-on: https://go-review.googlesource.com/41857
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/asm/internal/asm/testdata/amd64enc.s
src/cmd/internal/obj/x86/asm6.go