Commit 90ad04d 1 parent 8b275b4 commit 90ad04d Copy full SHA for 90ad04d
File tree 1 file changed +12
-13
lines changed
1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -349,19 +349,6 @@ namespace osuCrypto {
349
349
transpose (inn, outt);
350
350
}
351
351
352
- void transpose (const MatrixView<u8>& in, const MatrixView<u8>& out)
353
- {
354
- #if defined(ENABLE_AVX)
355
- avx_transpose (in, out);
356
- #elif defined(ENABLE_SSE)
357
- sse_transpose (in, out);
358
- #else
359
- throw std::runtime_error (" not impl. " LOCATION);
360
- // eklundh_transpose(in, out);
361
- #endif
362
- }
363
-
364
-
365
352
void sse_transpose (const MatrixView<u8>& in, const MatrixView<u8>& out)
366
353
{
367
354
// the amount of work that we use to vectorize (hard code do not change)
@@ -851,6 +838,18 @@ namespace osuCrypto {
851
838
}
852
839
#endif
853
840
841
+
842
+ void transpose (const MatrixView<u8>& in, const MatrixView<u8>& out)
843
+ {
844
+ #if defined(ENABLE_AVX)
845
+ avx_transpose (in, out);
846
+ #else
847
+ sse_transpose (in, out);
848
+ #endif
849
+ }
850
+
851
+
852
+
854
853
void sse_transpose128 (block* inOut)
855
854
{
856
855
array<block, 2 > a, b;
You can’t perform that action at this time.
0 commit comments