native f32 min/max
No diffs.
Change-Id: Ia0b35c2787e27d74763f21b81072affa6caf1e5a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/253720
Commit-Queue: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Reed <reed@google.com>
diff --git a/tests/SkVMTest.cpp b/tests/SkVMTest.cpp
index 86a2ae5..f298021 100644
--- a/tests/SkVMTest.cpp
+++ b/tests/SkVMTest.cpp
@@ -829,6 +829,14 @@
});
test_asm(r, [&](A& a) {
+ a.vminps(A::ymm0, A::ymm1, A::ymm2);
+ a.vmaxps(A::ymm0, A::ymm1, A::ymm2);
+ },{
+ 0xc5,0xf4,0x5d,0xc2,
+ 0xc5,0xf4,0x5f,0xc2,
+ });
+
+ test_asm(r, [&](A& a) {
a.vpblendvb(A::ymm0, A::ymm1, A::ymm2, A::ymm3);
},{
0xc4,0xe3,0x75, 0x4c, 0xc2, 0x30,
@@ -1063,6 +1071,8 @@
a.fsub4s(A::v4, A::v3, A::v1);
a.fmul4s(A::v4, A::v3, A::v1);
a.fdiv4s(A::v4, A::v3, A::v1);
+ a.fmin4s(A::v4, A::v3, A::v1);
+ a.fmax4s(A::v4, A::v3, A::v1);
a.fmla4s(A::v4, A::v3, A::v1);
@@ -1091,6 +1101,8 @@
0x64,0xd4,0xa1,0x4e,
0x64,0xdc,0x21,0x6e,
0x64,0xfc,0x21,0x6e,
+ 0x64,0xf4,0xa1,0x4e,
+ 0x64,0xf4,0x21,0x4e,
0x64,0xcc,0x21,0x4e,