aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_simd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_simd.cpp')
-rw-r--r--src/tests/test_simd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_simd.cpp b/src/tests/test_simd.cpp
index 1f192c6b6..60c46fc67 100644
--- a/src/tests/test_simd.cpp
+++ b/src/tests/test_simd.cpp
@@ -82,10 +82,10 @@ class SIMD_32_Tests final : public Test
blender = ~blender;
test_eq(result, "~", blender, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF);
- blender = blender >> 23;
+ blender = blender.shr<23>();
test_eq(result, ">>", blender, 0x1FF, 0x1FF, 0x1FF, 0x1FF);
- blender = blender << 27;
+ blender = blender.shl<27>();
test_eq(result, "<<", blender, 0xF8000000, 0xF8000000, 0xF8000000, 0xF8000000);
blender = ~blender;