]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: fix PSRLW opcode
authorKeith Randall <khr@golang.org>
Wed, 21 Oct 2015 19:32:14 +0000 (12:32 -0700)
committerKeith Randall <khr@golang.org>
Wed, 21 Oct 2015 20:06:01 +0000 (20:06 +0000)
commitd96b4c494fcf915a49b004d59018c46deaa069bb
tree6f8b264bc007dbc3742a0363cb7388dd3cd380f7
parent2e47b28ea165eb3aeb2db0eee173e930fb7f7bca
cmd/internal/obj: fix PSRLW opcode

The reg-reg version compiled to PSRAW, not PSRLW (arithmetic
instead of logical shift right).

Fixes #13010.

Change-Id: I69a47bd83c8bbe66c7f8d82442ab45e9bf3b94fb
Reviewed-on: https://go-review.googlesource.com/16168
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/internal/obj/x86/asm6.go