]> Cypherpunks repositories - gostls13.git/commit
[dev.simd] cmd/compile: adjust param order for AndNot
authorJunyang Shao <shaojunyang@google.com>
Mon, 14 Jul 2025 22:00:29 +0000 (22:00 +0000)
committerJunyang Shao <shaojunyang@google.com>
Tue, 15 Jul 2025 21:54:29 +0000 (14:54 -0700)
commitef5f6cc92109ee18d978f81650f93fd8a254b8d2
treed3b5a011ea68128f65afc4fe9c390624a897f4af
parent6d1068014168da26b2f5bcaab15a137aee4d7d05
[dev.simd] cmd/compile: adjust param order for AndNot

This CL adjusts the parameter order of AndNot, making it x &^ y instead
of ^x & y.

This CL also added a test.

This CL is partially generated by CL 687977.

Change-Id: I244e7b887991dc97e695131a5287af1b0e6fc3ce
Reviewed-on: https://go-review.googlesource.com/c/go/+/687996
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/ssagen/simdintrinsics.go
src/simd/ops_amd64.go
src/simd/simd_test.go