]> Cypherpunks repositories - gostls13.git/commit
runtime: make processor capability variable naming platform specific
authorMartin Möhrmann <moehrmann@google.com>
Tue, 6 Nov 2018 16:00:04 +0000 (17:00 +0100)
committerMartin Möhrmann <martisch@uos.de>
Wed, 14 Nov 2018 20:30:31 +0000 (20:30 +0000)
commit75798e8ada7fcb286f633618ac2f55ad5240ed97
tree4e3b17182231c1adb49672527654ffe560473764
parent529ea7c0de1f9e582280c73031ae870f868e7908
runtime: make processor capability variable naming platform specific

The current support_XXX variables are specific for the
amd64 and 386 platforms.

Prefix processor capability variables by architecture to have a
consistent naming scheme and avoid reuse of the existing
variables for new platforms.

This also aligns naming of runtime variables closer with internal/cpu
processor capability variable names.

Change-Id: I3eabb29a03874678851376185d3a62e73c1aff1d
Reviewed-on: https://go-review.googlesource.com/c/91435
Run-TryBot: Martin Möhrmann <martisch@uos.de>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/builtin.go
src/cmd/compile/internal/gc/builtin/runtime.go
src/cmd/compile/internal/gc/go.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/gen/AMD64Ops.go
src/runtime/cpuflags.go
src/runtime/proc.go
src/runtime/runtime2.go
test/codegen/mathbits.go