Skip to content

Commit f2925ec

Browse files
dimhotepusmastercoms
authored andcommitted
ssemath: Unify RotateRight2 with other Rotate* implementations
Just easier to read and matches other Rotate* APIs. No behavior changes thought.
1 parent 42dbaae commit f2925ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/public/mathlib/ssemath.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,7 @@ FORCEINLINE fltx4 RotateRight( const fltx4 & a )
19881988
// a b c d -> c d a b
19891989
FORCEINLINE fltx4 RotateRight2( const fltx4 & a )
19901990
{
1991-
return _mm_shuffle_ps( a, a, _MM_SHUFFLE( 1, 0, 3, 2 ) );
1991+
return _mm_shuffle_ps( a, a, MM_SHUFFLE_REV( 2, 3, 0, 1 ) );
19921992
}
19931993

19941994

0 commit comments

Comments
 (0)