mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.simd] simd: add emulations for missing AVX2 comparisons
this also removes AVX512 versions of the operations that would use the same names, but not run on AVX2-only includes files generated by simdgen CL 692355 Change-Id: Iff29042245b7688133fed49a03e681e85235b8a8 Reviewed-on: https://go-review.googlesource.com/c/go/+/692335 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com>
This commit is contained in:
parent
ddb689c7bb
commit
2080415aa2
11 changed files with 855 additions and 2827 deletions
|
|
@ -886,29 +886,13 @@ func ssaGenSIMDValue(s *ssagen.State, v *ssa.Value) bool {
|
|||
|
||||
case ssa.OpAMD64VCMPPS512,
|
||||
ssa.OpAMD64VCMPPD512,
|
||||
ssa.OpAMD64VPCMPUB128,
|
||||
ssa.OpAMD64VPCMPUB256,
|
||||
ssa.OpAMD64VPCMPUB512,
|
||||
ssa.OpAMD64VPCMPUW128,
|
||||
ssa.OpAMD64VPCMPUW256,
|
||||
ssa.OpAMD64VPCMPUW512,
|
||||
ssa.OpAMD64VPCMPUD128,
|
||||
ssa.OpAMD64VPCMPUD256,
|
||||
ssa.OpAMD64VPCMPUD512,
|
||||
ssa.OpAMD64VPCMPUQ128,
|
||||
ssa.OpAMD64VPCMPUQ256,
|
||||
ssa.OpAMD64VPCMPUQ512,
|
||||
ssa.OpAMD64VPCMPB128,
|
||||
ssa.OpAMD64VPCMPB256,
|
||||
ssa.OpAMD64VPCMPB512,
|
||||
ssa.OpAMD64VPCMPW128,
|
||||
ssa.OpAMD64VPCMPW256,
|
||||
ssa.OpAMD64VPCMPW512,
|
||||
ssa.OpAMD64VPCMPD128,
|
||||
ssa.OpAMD64VPCMPD256,
|
||||
ssa.OpAMD64VPCMPD512,
|
||||
ssa.OpAMD64VPCMPQ128,
|
||||
ssa.OpAMD64VPCMPQ256,
|
||||
ssa.OpAMD64VPCMPQ512:
|
||||
p = simdV2kImm8(s, v)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue