]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: fix condition check to work on ppc64
authorArchana R <aravind5@in.ibm.com>
Wed, 31 Aug 2022 09:06:45 +0000 (04:06 -0500)
committerDavid Chase <drchase@google.com>
Wed, 31 Aug 2022 16:39:34 +0000 (16:39 +0000)
commit59b15726d113324d0c91d8aae559e9fb7cb04495
treea78fc5080b82ed3e83655777d9973f74a6cf85b7
parentebc75ac1c6f056d5911286368d11022204e55947
cmd/asm: fix condition check to work on ppc64

A condition check was added to parse.go in CL 405542 to prevent
usage of scaled operands on ppc64. However while trying to improve
the error notification message, an if-condition was left out by
oversight. This CL corrects that.

Change-Id: I8cef3dd194c75343354ffe888b5e639e694badde
Reviewed-on: https://go-review.googlesource.com/c/go/+/426994
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Archana Ravindar <aravind5@in.ibm.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/asm/internal/asm/parse.go