diff test/test_shift.h @ 37:4b5a557aa64f

*: turns out extern is a practical joke. rewrite to be always inline again the sample benchmark performs about 3x as well with optimizations disabled :)
author Paper <paper@tflc.us>
date Sat, 26 Apr 2025 01:04:35 -0400
parents 677c03c382b8
children
line wrap: on
line diff
--- a/test/test_shift.h	Fri Apr 25 17:40:55 2025 -0400
+++ b/test/test_shift.h	Sat Apr 26 01:04:35 2025 -0400
@@ -2,10 +2,6 @@
 {
 	int ret = 0;
 
-	ret |= (vec_ulrshift(0xFFFFFFFF, 16) != 0xFFFF);
-	ret |= (vec_ullshift(0xFFFF, 16) != 0xFFFF0000);
-	ret |= (vec_lrshift(0xFFFFFFFF, 16) != 0xFFFF);
-	ret |= (vec_llshift(0xFFFF, 16) != 0xFFFF0000);
 	ret |= (vec_urshift(0xFFFFFFFF, 16) != 0xFFFF);
 	ret |= (vec_ulshift(0xFFFF, 16) != 0xFFFF0000);
 	ret |= (vec_rshift(-0xFFFF, 8) != -0x100);