Change information
Commit message:
[dev.simd] cmd/compile: track which CPU features are in scope
analysis for
- is this block only reached through feature checks?
- does the function signature imply AVX-something?
- is there an instruction in this block which implies AVX-something?
and keep track of which features those are. Features =
AVX, AVX2, AVX512, etc.
Has a test.
Change-Id: I0b6f2e87d01ec587818db11cf71fac1e4d500650
Files:
- M src/cmd/compile/internal/ssa/block.go
- M src/cmd/compile/internal/ssa/compile.go
- A src/cmd/compile/internal/ssa/cpufeatures.go
- M src/cmd/compile/internal/ssa/sizeof_test.go
- M src/cmd/compile/internal/types/type.go
- A test/simd.go
Change size: L
Delta: 6 files changed, 417 insertions(+), 1 deletion(-)
Branch: refs/heads/dev.simd
Submit Requirements:
Code-Review: +2 by Junyang Shao
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI