]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: fix encoding of 32-bit negated logical instructions
authorCherry Zhang <cherryyz@google.com>
Fri, 2 Nov 2018 16:03:31 +0000 (12:03 -0400)
committerCherry Zhang <cherryyz@google.com>
Sat, 3 Nov 2018 01:46:55 +0000 (01:46 +0000)
commit441cb988b4c63f4232edd7930758eb0e8cc8599b
tree9d0503319f58f37a5376a98bda12b843d23be50c
parent1645dfa23fbb1d1bab258d1c458f08d9f2741295
cmd/internal/obj/arm64: fix encoding of 32-bit negated logical instructions

32-bit negated logical instructions (BICW, ORNW, EONW) with
constants were mis-encoded, because they were missing in the
cases where we handle 32-bit logical instructions. This CL
adds the missing cases.

Fixes #28548

Change-Id: I3d6acde7d3b72bb7d3d5d00a9df698a72c806ad5
Reviewed-on: https://go-review.googlesource.com/c/147077
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Ben Shi <powerman1st@163.com>
Reviewed-by: Ben Shi <powerman1st@163.com>
src/cmd/asm/internal/asm/testdata/arm64.s
src/cmd/internal/obj/arm64/asm7.go
src/cmd/internal/obj/arm64/obj7.go