mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.simd] simd, cmd/compile: add 128 bit select-from-pair
Using this name until a better one appears: x.Select128FromPair(3, 2, y) Includes test for constant and variable case. Checks for unexpected immediates (using the zeroing flag, which is not supported for this intrinsic) and panics. Change-Id: I9249475d6572968c127b4ee9e00328d717c07578 Reviewed-on: https://go-review.googlesource.com/c/go/+/705496 Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
f0e281e693
commit
25c36b95d1
18 changed files with 369 additions and 5 deletions
|
|
@ -1053,6 +1053,8 @@ func ssaGenSIMDValue(s *ssagen.State, v *ssa.Value) bool {
|
|||
ssa.OpAMD64VGF2P8AFFINEINVQB128,
|
||||
ssa.OpAMD64VGF2P8AFFINEINVQB256,
|
||||
ssa.OpAMD64VGF2P8AFFINEINVQB512,
|
||||
ssa.OpAMD64VPERM2F128256,
|
||||
ssa.OpAMD64VPERM2I128256,
|
||||
ssa.OpAMD64VINSERTF128256,
|
||||
ssa.OpAMD64VINSERTF64X4512,
|
||||
ssa.OpAMD64VINSERTI128256,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue