]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: report an error when trying to do spectre on 386
authorKeith Randall <khr@golang.org>
Fri, 15 Oct 2021 20:52:05 +0000 (13:52 -0700)
committerKeith Randall <khr@golang.org>
Mon, 18 Oct 2021 15:54:41 +0000 (15:54 +0000)
commitc091767d87b7a6ef6016286bc0fae8add59b92de
tree5497a91ebf11dcb688f8126ddfa12efd2ebb202b
parent74acbaf94ab3c7aaa7e22fda4f90920e90f11ead
cmd/asm: report an error when trying to do spectre on 386

The compiler refuses to do spectre mitigation on 386, but the
assembler doesn't. Fix that.

Fixes #49006

Change-Id: I887b6f7ed7523a47f463706f06ca4c2c6e828b6b
Reviewed-on: https://go-review.googlesource.com/c/go/+/356190
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/internal/obj/x86/asm6.go