aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/mathbits.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2021-09-28 13:23:08 -0700
committerKeith Randall <khr@golang.org>2021-10-05 17:05:06 +0000
commitcbd7200167292b62792272bda46887bdf1b62fb0 (patch)
tree84abfda8f6f239edf8069d412c7a85333c199d85 /test/codegen/mathbits.go
parent060cd73ab930339d4565b57593293615b0e0315a (diff)
downloadgo-cbd7200167292b62792272bda46887bdf1b62fb0.tar.xz
cmd/compile: test to ensure we guard GOAMD64>v1 instructions
When compiling with GOAMD64=v1, clobber all the >v1 instructions with faulting instructions. Run the binary with the corresponding feature flags off. We shouldn't try to execute any of the clobbered instructions. Change-Id: I295acaf9fd0eafd037192aa6f933365c794cc76e Reviewed-on: https://go-review.googlesource.com/c/go/+/352831 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Trust: Keith Randall <khr@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'test/codegen/mathbits.go')
0 files changed, 0 insertions, 0 deletions