]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: On PPC, nilcheck load should be MOVBZ
authorDavid Chase <drchase@google.com>
Mon, 26 Sep 2016 15:32:49 +0000 (08:32 -0700)
committerDavid Chase <drchase@google.com>
Mon, 26 Sep 2016 17:01:00 +0000 (17:01 +0000)
commit1906d93bfda1c7b4af51457bc0a137b8418500b7
treea4786acbd4e95bbaaee8076f032840aef135566c
parent375092bdcbc5b095e1591558952ce537b9fa5fa3
cmd/compile: On PPC, nilcheck load should be MOVBZ

There's no load-signed-byte on PPC, so MOVB
causes the assembler to macro-expand in a
useless sign extension.

Fixes #17211.

Change-Id: Ibcd73aea4c94ba6df0a998b0091e45508113be2a
Reviewed-on: https://go-review.googlesource.com/29762
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Munday <munday@ca.ibm.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ppc64/ssa.go