SIMD-Visualiser icon indicating copy to clipboard operation
SIMD-Visualiser copied to clipboard

Examples of things that crash or hang the visualizer

Open deplinenoise opened this issue 7 years ago • 1 comments

This example makes it spin forever:

#include <x86intrin.h>

 __m256 dot8(__m256 a0, __m256 a1, __m256 a2, __m256 b0, __m256 b1, __m256 b2)
{
  return _mm256_add_ps(
    _mm256_mul_ps(a0, b0), _mm256_add_ps(_mm256_mul_ps(a1, b1), _mm256_mul_ps(a2, b2)));
}

This example makes it load a white webpage:

#include <x86intrin.h>
__m128i a;
__m128i Foo() { return a; }

deplinenoise avatar Nov 30 '18 19:11 deplinenoise

It does indeed crash.

I'll look into that as soon as possible!

Thanks

piotte13 avatar Nov 30 '18 20:11 piotte13