]> Cypherpunks repositories - gostls13.git/commit
[dev.simd] cmd/compile: widen index for simd intrinsics jumptable
authorDavid Chase <drchase@google.com>
Thu, 11 Sep 2025 10:51:20 +0000 (06:51 -0400)
committerDavid Chase <drchase@google.com>
Thu, 18 Sep 2025 19:35:38 +0000 (12:35 -0700)
commit31b664d40b823259fc96253b7e6e4a0aba093dca
tree4b1594585abb0867376598c04e8d2db004974cef
parente34ad6de42d32c6be78e0c31780977cca3ddc9f4
[dev.simd] cmd/compile: widen index for simd intrinsics jumptable

Feeding an unconverted uint8 to the jumptable can cause
problems either in constant propagation or later at runtime,
depending on details of the input code.

Change-Id: I5fa2299a77a73172349a165f773cf9d1198212bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/702755
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/cmd/compile/internal/ssagen/intrinsics.go