aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/simd.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/codegen/simd.go b/test/codegen/simd.go
index 04e01944de..acec5421e4 100644
--- a/test/codegen/simd.go
+++ b/test/codegen/simd.go
@@ -104,3 +104,9 @@ func simdIsNaN512() {
c := a.Or(b)
c.ToInt64x8().StoreSlice(sinkInt64s)
}
+
+func sftImmVPSRL() archsimd.Uint32x4 {
+ var x archsimd.Uint32x4
+ // amd64:`VPSRLD\s\$1,\s.*$`
+ return x.ShiftAllRight(1)
+}