#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int __m128;

/* Variables and functions */
int /*<<< orphan*/ _MM_SHUFFLE(int, int /*<<< orphan*/, int, int);
int _mm_load_ps1(float const *);
int _mm_loadu_ps(float const *);
int _mm_setzero_ps();
int _mm_shuffle_ps(int, int, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_storeu_ps(float *, int);
void Toeplitz_mat8(const float *a, const float *f, float *b) {
  __m128 b1 = _mm_setzero_ps();
  __m128 b2 = _mm_setzero_ps();
  __m128 a0 = _mm_loadu_ps(a + 0);
  __m128 a4 = _mm_loadu_ps(a + 4);
  __m128 f7 = _mm_load_ps1(f + 7);
  b1 += a0 * f7;
  b2 += a4 * f7;
  __m128 a1 = _mm_loadu_ps(a + 1);
  __m128 a5 = _mm_loadu_ps(a + 5);
  __m128 f6 = _mm_load_ps1(f + 6);
  b1 += a1 * f6;
  b2 += a5 * f6;
  __m128 a8 = _mm_loadu_ps(a + 8);
  __m128 f3 = _mm_load_ps1(f + 3);
  b1 += a4 * f3;
  b2 += a8 * f3;
  __m128 a9 = _mm_loadu_ps(a + 9);
  __m128 f2 = _mm_load_ps1(f + 2);
  b1 += a5 * f2;
  b2 += a9 * f2;
  __m128 a2 = _mm_shuffle_ps(a0, a4, _MM_SHUFFLE(1, 0, 3, 2));
  __m128 a6 = _mm_shuffle_ps(a4, a8, _MM_SHUFFLE(1, 0, 3, 2));
  __m128 f5 = _mm_load_ps1(f + 5);
  b1 += a2 * f5;
  b2 += a6 * f5;
  __m128 a3 = _mm_shuffle_ps(a1, a5, _MM_SHUFFLE(1, 0, 3, 2));
  __m128 a7 = _mm_shuffle_ps(a5, a9, _MM_SHUFFLE(1, 0, 3, 2));
  __m128 f4 = _mm_load_ps1(f + 4);
  b1 += a3 * f4;
  b2 += a7 * f4;
  __m128 aa = _mm_loadu_ps(a + 10);
  __m128 f1 = _mm_load_ps1(f + 1);
  b1 += a6 * f1;
  b2 += aa * f1;
  __m128 ab = _mm_loadu_ps(a + 11);
  __m128 f0 = _mm_load_ps1(f + 0);
  b1 += a7 * f0;
  b2 += ab * f0;
  _mm_storeu_ps(b + 0, b1);
  _mm_storeu_ps(b + 4, b2);
}


x86 assembly (clang, -O0):
<Toeplitz_mat8>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    $0x0,%al
call   1080 <_mm_setzero_ps@plt>
mov    %eax,-0x1c(%rbp)
mov    $0x0,%al
call   1080 <_mm_setzero_ps@plt>
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,-0x24(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x10,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,-0x28(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x1c,%rdi
call   1040 <_mm_load_ps1@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x24(%rbp),%eax
imul   -0x2c(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x28(%rbp),%eax
imul   -0x2c(%rbp),%eax
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x4,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x14,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,-0x34(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x18,%rdi
call   1040 <_mm_load_ps1@plt>
mov    %eax,-0x38(%rbp)
mov    -0x30(%rbp),%eax
imul   -0x38(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x34(%rbp),%eax
imul   -0x38(%rbp),%eax
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x20,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x10(%rbp),%rdi
add    $0xc,%rdi
call   1040 <_mm_load_ps1@plt>
mov    %eax,-0x40(%rbp)
mov    -0x28(%rbp),%eax
imul   -0x40(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x3c(%rbp),%eax
imul   -0x40(%rbp),%eax
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x24,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,-0x44(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x8,%rdi
call   1040 <_mm_load_ps1@plt>
mov    %eax,-0x48(%rbp)
mov    -0x34(%rbp),%eax
imul   -0x48(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x44(%rbp),%eax
imul   -0x48(%rbp),%eax
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x24(%rbp),%eax
mov    %eax,-0x90(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x8c(%rbp)
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    -0x90(%rbp),%edi
mov    -0x8c(%rbp),%esi
mov    %eax,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x88(%rbp)
mov    -0x3c(%rbp),%eax
mov    %eax,-0x84(%rbp)
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    -0x88(%rbp),%edi
mov    -0x84(%rbp),%esi
mov    %eax,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,-0x50(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x14,%rdi
call   1040 <_mm_load_ps1@plt>
mov    %eax,-0x54(%rbp)
mov    -0x4c(%rbp),%eax
imul   -0x54(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x50(%rbp),%eax
imul   -0x54(%rbp),%eax
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x30(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x7c(%rbp)
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    -0x80(%rbp),%edi
mov    -0x7c(%rbp),%esi
mov    %eax,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,-0x58(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x78(%rbp)
mov    -0x44(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    -0x78(%rbp),%edi
mov    -0x74(%rbp),%esi
mov    %eax,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x10,%rdi
call   1040 <_mm_load_ps1@plt>
mov    %eax,-0x60(%rbp)
mov    -0x58(%rbp),%eax
imul   -0x60(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x5c(%rbp),%eax
imul   -0x60(%rbp),%eax
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x28,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,-0x64(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x4,%rdi
call   1040 <_mm_load_ps1@plt>
mov    %eax,-0x68(%rbp)
mov    -0x50(%rbp),%eax
imul   -0x68(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x64(%rbp),%eax
imul   -0x68(%rbp),%eax
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x2c,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x10(%rbp),%rdi
call   1040 <_mm_load_ps1@plt>
mov    %eax,-0x70(%rbp)
mov    -0x5c(%rbp),%eax
imul   -0x70(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x6c(%rbp),%eax
imul   -0x70(%rbp),%eax
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%esi
call   1060 <_mm_storeu_ps@plt>
mov    -0x18(%rbp),%rdi
add    $0x10,%rdi
mov    -0x20(%rbp),%esi
call   1060 <_mm_storeu_ps@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Toeplitz_mat8>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rdx,0x30(%rsp)
mov    %rsi,%r15
mov    %rsi,0x20(%rsp)
mov    %rdi,%rbp
xor    %eax,%eax
call   1080 <_mm_setzero_ps@plt>
mov    %eax,0x8(%rsp)
xor    %eax,%eax
call   1080 <_mm_setzero_ps@plt>
mov    %eax,%r13d
mov    %rbp,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,%r14d
mov    %eax,0x18(%rsp)
lea    0x10(%rbp),%rdi
mov    %rbp,%r12
call   1070 <_mm_loadu_ps@plt>
mov    %eax,%ebx
mov    %eax,0xc(%rsp)
lea    0x1c(%r15),%rdi
call   1040 <_mm_load_ps1@plt>
mov    %eax,%ebp
imul   %r14d,%ebp
add    0x8(%rsp),%ebp
imul   %ebx,%eax
add    %eax,%r13d
lea    0x4(%r12),%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,%r14d
mov    %eax,0x1c(%rsp)
lea    0x14(%r12),%rdi
mov    %r12,%r15
call   1070 <_mm_loadu_ps@plt>
mov    %eax,0x8(%rsp)
mov    0x20(%rsp),%r12
lea    0x18(%r12),%rdi
call   1040 <_mm_load_ps1@plt>
mov    %eax,%ebx
imul   %r14d,%ebx
add    %ebp,%ebx
mov    0x8(%rsp),%r14d
imul   %r14d,%eax
add    %eax,%r13d
mov    %r13d,0x10(%rsp)
lea    0x20(%r15),%rdi
mov    %r15,0x28(%rsp)
call   1070 <_mm_loadu_ps@plt>
mov    %eax,%r13d
mov    %eax,0x14(%rsp)
mov    %r12,%rbp
lea    0xc(%r12),%rdi
call   1040 <_mm_load_ps1@plt>
mov    %eax,%r12d
imul   0xc(%rsp),%r12d
add    %ebx,%r12d
imul   %r13d,%eax
mov    0x10(%rsp),%r13d
add    %eax,%r13d
lea    0x24(%r15),%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,%ebx
mov    %eax,0x10(%rsp)
lea    0x8(%rbp),%rdi
mov    %rbp,%r15
call   1040 <_mm_load_ps1@plt>
mov    %eax,%ebp
imul   %r14d,%ebp
add    %r12d,%ebp
imul   %ebx,%eax
add    %eax,%r13d
mov    %r13d,%r12d
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    0x18(%rsp),%edi
mov    0xc(%rsp),%r14d
mov    %r14d,%esi
mov    %eax,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,%r13d
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    %r14d,%edi
mov    0x14(%rsp),%esi
mov    %eax,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,%ebx
mov    %eax,0xc(%rsp)
lea    0x14(%r15),%rdi
call   1040 <_mm_load_ps1@plt>
imul   %eax,%r13d
add    %ebp,%r13d
imul   %ebx,%eax
mov    %r12d,%ebx
add    %eax,%ebx
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    0x1c(%rsp),%edi
mov    0x8(%rsp),%ebp
mov    %ebp,%esi
mov    %eax,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,%r15d
mov    $0x1,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <_MM_SHUFFLE@plt>
mov    %ebp,%edi
mov    0x10(%rsp),%esi
mov    %eax,%edx
call   1050 <_mm_shuffle_ps@plt>
mov    %eax,%r14d
mov    0x20(%rsp),%r12
lea    0x10(%r12),%rdi
call   1040 <_mm_load_ps1@plt>
imul   %eax,%r15d
add    %r13d,%r15d
imul   %r14d,%eax
add    %eax,%ebx
mov    0x28(%rsp),%r13
lea    0x28(%r13),%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,%ebp
lea    0x4(%r12),%rdi
call   1040 <_mm_load_ps1@plt>
mov    0xc(%rsp),%ecx
imul   %eax,%ecx
add    %r15d,%ecx
mov    %ecx,%r15d
imul   %eax,%ebp
add    %ebx,%ebp
mov    %r13,%rdi
add    $0x2c,%rdi
call   1070 <_mm_loadu_ps@plt>
mov    %eax,%ebx
mov    %r12,%rdi
call   1040 <_mm_load_ps1@plt>
imul   %eax,%r14d
add    %r15d,%r14d
imul   %eax,%ebx
add    %ebp,%ebx
mov    0x30(%rsp),%rbp
mov    %rbp,%rdi
mov    %r14d,%esi
call   1060 <_mm_storeu_ps@plt>
add    $0x10,%rbp
mov    %rbp,%rdi
mov    %ebx,%esi
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <_mm_storeu_ps@plt>

LLVM IR (-O0):
define void @Toeplitz_mat8(float* %0, float* %1, float* %2) {
%4 = alloca float*
%5 = alloca float*
%6 = alloca float*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
store float* %0, float** %4
store float* %1, float** %5
store float* %2, float** %6
%29 = call i32 (...) @_mm_setzero_ps()
store i32 %29, i32* %7
%30 = call i32 (...) @_mm_setzero_ps()
store i32 %30, i32* %8
%31 = load float*, float** %4
%32 = getelementptr inbounds float, float* %31, i64 0
%33 = call i32 @_mm_loadu_ps(float* %32)
store i32 %33, i32* %9
%34 = load float*, float** %4
%35 = getelementptr inbounds float, float* %34, i64 4
%36 = call i32 @_mm_loadu_ps(float* %35)
store i32 %36, i32* %10
%37 = load float*, float** %5
%38 = getelementptr inbounds float, float* %37, i64 7
%39 = call i32 @_mm_load_ps1(float* %38)
store i32 %39, i32* %11
%40 = load i32, i32* %9
%41 = load i32, i32* %11
%42 = mul nsw i32 %40, %41
%43 = load i32, i32* %7
%44 = add nsw i32 %43, %42
store i32 %44, i32* %7
%45 = load i32, i32* %10
%46 = load i32, i32* %11
%47 = mul nsw i32 %45, %46
%48 = load i32, i32* %8
%49 = add nsw i32 %48, %47
store i32 %49, i32* %8
%50 = load float*, float** %4
%51 = getelementptr inbounds float, float* %50, i64 1
%52 = call i32 @_mm_loadu_ps(float* %51)
store i32 %52, i32* %12
%53 = load float*, float** %4
%54 = getelementptr inbounds float, float* %53, i64 5
%55 = call i32 @_mm_loadu_ps(float* %54)
store i32 %55, i32* %13
%56 = load float*, float** %5
%57 = getelementptr inbounds float, float* %56, i64 6
%58 = call i32 @_mm_load_ps1(float* %57)
store i32 %58, i32* %14
%59 = load i32, i32* %12
%60 = load i32, i32* %14
%61 = mul nsw i32 %59, %60
%62 = load i32, i32* %7
%63 = add nsw i32 %62, %61
store i32 %63, i32* %7
%64 = load i32, i32* %13
%65 = load i32, i32* %14
%66 = mul nsw i32 %64, %65
%67 = load i32, i32* %8
%68 = add nsw i32 %67, %66
store i32 %68, i32* %8
%69 = load float*, float** %4
%70 = getelementptr inbounds float, float* %69, i64 8
%71 = call i32 @_mm_loadu_ps(float* %70)
store i32 %71, i32* %15
%72 = load float*, float** %5
%73 = getelementptr inbounds float, float* %72, i64 3
%74 = call i32 @_mm_load_ps1(float* %73)
store i32 %74, i32* %16
%75 = load i32, i32* %10
%76 = load i32, i32* %16
%77 = mul nsw i32 %75, %76
%78 = load i32, i32* %7
%79 = add nsw i32 %78, %77
store i32 %79, i32* %7
%80 = load i32, i32* %15
%81 = load i32, i32* %16
%82 = mul nsw i32 %80, %81
%83 = load i32, i32* %8
%84 = add nsw i32 %83, %82
store i32 %84, i32* %8
%85 = load float*, float** %4
%86 = getelementptr inbounds float, float* %85, i64 9
%87 = call i32 @_mm_loadu_ps(float* %86)
store i32 %87, i32* %17
%88 = load float*, float** %5
%89 = getelementptr inbounds float, float* %88, i64 2
%90 = call i32 @_mm_load_ps1(float* %89)
store i32 %90, i32* %18
%91 = load i32, i32* %13
%92 = load i32, i32* %18
%93 = mul nsw i32 %91, %92
%94 = load i32, i32* %7
%95 = add nsw i32 %94, %93
store i32 %95, i32* %7
%96 = load i32, i32* %17
%97 = load i32, i32* %18
%98 = mul nsw i32 %96, %97
%99 = load i32, i32* %8
%100 = add nsw i32 %99, %98
store i32 %100, i32* %8
%101 = load i32, i32* %9
%102 = load i32, i32* %10
%103 = call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%104 = call i32 @_mm_shuffle_ps(i32 %101, i32 %102, i32 %103)
store i32 %104, i32* %19
%105 = load i32, i32* %10
%106 = load i32, i32* %15
%107 = call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%108 = call i32 @_mm_shuffle_ps(i32 %105, i32 %106, i32 %107)
store i32 %108, i32* %20
%109 = load float*, float** %5
%110 = getelementptr inbounds float, float* %109, i64 5
%111 = call i32 @_mm_load_ps1(float* %110)
store i32 %111, i32* %21
%112 = load i32, i32* %19
%113 = load i32, i32* %21
%114 = mul nsw i32 %112, %113
%115 = load i32, i32* %7
%116 = add nsw i32 %115, %114
store i32 %116, i32* %7
%117 = load i32, i32* %20
%118 = load i32, i32* %21
%119 = mul nsw i32 %117, %118
%120 = load i32, i32* %8
%121 = add nsw i32 %120, %119
store i32 %121, i32* %8
%122 = load i32, i32* %12
%123 = load i32, i32* %13
%124 = call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%125 = call i32 @_mm_shuffle_ps(i32 %122, i32 %123, i32 %124)
store i32 %125, i32* %22
%126 = load i32, i32* %13
%127 = load i32, i32* %17
%128 = call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%129 = call i32 @_mm_shuffle_ps(i32 %126, i32 %127, i32 %128)
store i32 %129, i32* %23
%130 = load float*, float** %5
%131 = getelementptr inbounds float, float* %130, i64 4
%132 = call i32 @_mm_load_ps1(float* %131)
store i32 %132, i32* %24
%133 = load i32, i32* %22
%134 = load i32, i32* %24
%135 = mul nsw i32 %133, %134
%136 = load i32, i32* %7
%137 = add nsw i32 %136, %135
store i32 %137, i32* %7
%138 = load i32, i32* %23
%139 = load i32, i32* %24
%140 = mul nsw i32 %138, %139
%141 = load i32, i32* %8
%142 = add nsw i32 %141, %140
store i32 %142, i32* %8
%143 = load float*, float** %4
%144 = getelementptr inbounds float, float* %143, i64 10
%145 = call i32 @_mm_loadu_ps(float* %144)
store i32 %145, i32* %25
%146 = load float*, float** %5
%147 = getelementptr inbounds float, float* %146, i64 1
%148 = call i32 @_mm_load_ps1(float* %147)
store i32 %148, i32* %26
%149 = load i32, i32* %20
%150 = load i32, i32* %26
%151 = mul nsw i32 %149, %150
%152 = load i32, i32* %7
%153 = add nsw i32 %152, %151
store i32 %153, i32* %7
%154 = load i32, i32* %25
%155 = load i32, i32* %26
%156 = mul nsw i32 %154, %155
%157 = load i32, i32* %8
%158 = add nsw i32 %157, %156
store i32 %158, i32* %8
%159 = load float*, float** %4
%160 = getelementptr inbounds float, float* %159, i64 11
%161 = call i32 @_mm_loadu_ps(float* %160)
store i32 %161, i32* %27
%162 = load float*, float** %5
%163 = getelementptr inbounds float, float* %162, i64 0
%164 = call i32 @_mm_load_ps1(float* %163)
store i32 %164, i32* %28
%165 = load i32, i32* %23
%166 = load i32, i32* %28
%167 = mul nsw i32 %165, %166
%168 = load i32, i32* %7
%169 = add nsw i32 %168, %167
store i32 %169, i32* %7
%170 = load i32, i32* %27
%171 = load i32, i32* %28
%172 = mul nsw i32 %170, %171
%173 = load i32, i32* %8
%174 = add nsw i32 %173, %172
store i32 %174, i32* %8
%175 = load float*, float** %6
%176 = getelementptr inbounds float, float* %175, i64 0
%177 = load i32, i32* %7
%178 = call i32 @_mm_storeu_ps(float* %176, i32 %177)
%179 = load float*, float** %6
%180 = getelementptr inbounds float, float* %179, i64 4
%181 = load i32, i32* %8
%182 = call i32 @_mm_storeu_ps(float* %180, i32 %181)
ret void
}

LLVM IR (-O2):
define void @Toeplitz_mat8(float* %0, float* %1, float* %2) {
%4 = tail call i32 (...) @_mm_setzero_ps()
%5 = tail call i32 (...) @_mm_setzero_ps()
%6 = tail call i32 @_mm_loadu_ps(float* %0)
%7 = getelementptr inbounds float, float* %0, i64 4
%8 = tail call i32 @_mm_loadu_ps(float* %7)
%9 = getelementptr inbounds float, float* %1, i64 7
%10 = tail call i32 @_mm_load_ps1(float* %9)
%11 = mul nsw i32 %10, %6
%12 = add nsw i32 %11, %4
%13 = mul nsw i32 %10, %8
%14 = add nsw i32 %13, %5
%15 = getelementptr inbounds float, float* %0, i64 1
%16 = tail call i32 @_mm_loadu_ps(float* %15)
%17 = getelementptr inbounds float, float* %0, i64 5
%18 = tail call i32 @_mm_loadu_ps(float* %17)
%19 = getelementptr inbounds float, float* %1, i64 6
%20 = tail call i32 @_mm_load_ps1(float* %19)
%21 = mul nsw i32 %20, %16
%22 = add nsw i32 %12, %21
%23 = mul nsw i32 %20, %18
%24 = add nsw i32 %14, %23
%25 = getelementptr inbounds float, float* %0, i64 8
%26 = tail call i32 @_mm_loadu_ps(float* %25)
%27 = getelementptr inbounds float, float* %1, i64 3
%28 = tail call i32 @_mm_load_ps1(float* %27)
%29 = mul nsw i32 %28, %8
%30 = add nsw i32 %22, %29
%31 = mul nsw i32 %28, %26
%32 = add nsw i32 %24, %31
%33 = getelementptr inbounds float, float* %0, i64 9
%34 = tail call i32 @_mm_loadu_ps(float* %33)
%35 = getelementptr inbounds float, float* %1, i64 2
%36 = tail call i32 @_mm_load_ps1(float* %35)
%37 = mul nsw i32 %36, %18
%38 = add nsw i32 %30, %37
%39 = mul nsw i32 %36, %34
%40 = add nsw i32 %32, %39
%41 = tail call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%42 = tail call i32 @_mm_shuffle_ps(i32 %6, i32 %8, i32 %41)
%43 = tail call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%44 = tail call i32 @_mm_shuffle_ps(i32 %8, i32 %26, i32 %43)
%45 = getelementptr inbounds float, float* %1, i64 5
%46 = tail call i32 @_mm_load_ps1(float* %45)
%47 = mul nsw i32 %46, %42
%48 = add nsw i32 %38, %47
%49 = mul nsw i32 %46, %44
%50 = add nsw i32 %40, %49
%51 = tail call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%52 = tail call i32 @_mm_shuffle_ps(i32 %16, i32 %18, i32 %51)
%53 = tail call i32 @_MM_SHUFFLE(i32 1, i32 0, i32 3, i32 2)
%54 = tail call i32 @_mm_shuffle_ps(i32 %18, i32 %34, i32 %53)
%55 = getelementptr inbounds float, float* %1, i64 4
%56 = tail call i32 @_mm_load_ps1(float* %55)
%57 = mul nsw i32 %56, %52
%58 = add nsw i32 %48, %57
%59 = mul nsw i32 %56, %54
%60 = add nsw i32 %50, %59
%61 = getelementptr inbounds float, float* %0, i64 10
%62 = tail call i32 @_mm_loadu_ps(float* %61)
%63 = getelementptr inbounds float, float* %1, i64 1
%64 = tail call i32 @_mm_load_ps1(float* %63)
%65 = mul nsw i32 %64, %44
%66 = add nsw i32 %58, %65
%67 = mul nsw i32 %64, %62
%68 = add nsw i32 %60, %67
%69 = getelementptr inbounds float, float* %0, i64 11
%70 = tail call i32 @_mm_loadu_ps(float* %69)
%71 = tail call i32 @_mm_load_ps1(float* %1)
%72 = mul nsw i32 %71, %54
%73 = add nsw i32 %66, %72
%74 = mul nsw i32 %71, %70
%75 = add nsw i32 %68, %74
%76 = tail call i32 @_mm_storeu_ps(float* %2, i32 %73)
%77 = getelementptr inbounds float, float* %2, i64 4
%78 = tail call i32 @_mm_storeu_ps(float* %77, i32 %75)
ret void
}