Description[x64] Fix testw with immediates.
Assembler::testw(Register, Immediate) and Assembler::testw(const Operand&, Immediate) were emitting only the first 8 bits of a 16-bit immediate, causing unexpected crashes.
This went unnoticed because before http://crrev.com/1948453002 no compiler was using them.
Committed: https://crrev.com/99230f8d0e114d5a31cf3696a012522d5ecc1ccf
Cr-Commit-Position: refs/heads/master@{#36110}
Patch Set 1 #
Messages
Total messages: 12 (5 generated)
|