unittest/intsimdmatrix_test.cc
TEST_F(IntSimdMatrixTest, SSE) {
#if defined(HAVE_SSE4_1)
  if (!SIMDDetect::IsSSEAvailable()) {
    GTEST_LOG_(INFO) << "No SSE found! Not tested!";
    GTEST_SKIP();
  }
  ExpectEqualResults(IntSimdMatrix::intSimdMatrixSSE);
#else
  GTEST_LOG_(INFO) << "SSE unsupported! Not tested!";
  GTEST_SKIP();
#endif
}
// Tests that the SSE implementation gets the same result as the vanilla.
Tests that the SSE implementation gets the same result as the vanilla.
Tests that the SSE implementation gets the same result as the vanilla .
TEST_F(IntSimdMatrixTest, SSE) {
#if defined(HAVE_SSE4_1)
  if (!SIMDDetect::IsSSEAvailable()) {
    GTEST_LOG_(INFO) << "No SSE found! Not tested!";
    GTEST_SKIP();
  }
  ExpectEqualResults(IntSimdMatrix::intSimdMatrixSSE);
#else
  GTEST_LOG_(INFO) << "SSE unsupported! Not tested!";
  GTEST_SKIP();
#endif
}
TEST_F ( IntSimdMatrixTest , SSE ) { #if defined ( HAVE_SSE4_1 ) if ( ! SIMDDetect :: IsSSEAvailable ( ) ) { GTEST_LOG_ ( INFO ) << " " ; GTEST_SKIP ( ) ; } ExpectEqualResults ( IntSimdMatrix :: intSimdMatrixSSE ) ; #else GTEST_LOG_ ( INFO ) << " " ; GTEST_SKIP ( ) ; #endif }
Tests that the SSE implementation gets the same result as the vanilla.
Tests that the SSE implementation gets the same result as the vanilla .