]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: improve GOAMD64=v1 violation test
authorKeith Randall <khr@golang.org>
Fri, 8 Jul 2022 16:41:14 +0000 (09:41 -0700)
committerKeith Randall <khr@google.com>
Wed, 20 Jul 2022 16:45:46 +0000 (16:45 +0000)
commitbb1749ba3bfaa6912d79904dad5e29e6ea624d29
tree831b3ece8cc0dc349760e46878e86afa77a13b49
parent176b63e7113b82c140a4ecb2620024526c2c42e3
cmd/compile: improve GOAMD64=v1 violation test

Add more opcodes that are only available in >v1 modes.

This test will now correctly detect the regression in -race mode
for #53743.

Change-Id: Icfbb1384e4333d7b4ff167c9ebcb6f4c7aeb6134
Reviewed-on: https://go-review.googlesource.com/c/go/+/416477
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/amd64/versions_test.go