]> Cypherpunks repositories - gostls13.git/commit
liblink: fix encoding of SETcc for amd64
authorShenghou Ma <minux@golang.org>
Fri, 2 Jan 2015 21:30:08 +0000 (16:30 -0500)
committerMinux Ma <minux@golang.org>
Sun, 4 Jan 2015 20:38:12 +0000 (20:38 +0000)
commit281ae9288133a8880d910b96a1c0c96585ae3974
tree05e05cf75e88b5a870198d716a07d35aecbb901e
parent48d63035ce9c1094f5247ac260312cf0e791de51
liblink: fix encoding of SETcc for amd64

liblink used to encode both SETEQ BP and SETEQ CH as 0f 94 c5,
however, SETEQ BP should have used a REX prefix.

Fixes #8545.

Change-Id: Ie59c990cdd0ec506cffe4318e9ad1b48db5e57dd
Reviewed-on: https://go-review.googlesource.com/2270
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/liblink/asm6.c