void inicia(double **A, long n) {
  A[0][0] = 2;
  A[0][1] = 5;
  A[0][2] = 9;
  A[0][3] = 3;
  A[1][0] = 2;
  A[1][1] = 6;
  A[1][2] = 10;
  A[1][3] = 4;
  A[2][0] = 3;
  A[2][1] = 7;
  A[2][2] = 1;
  A[2][3] = 5;
  A[3][0] = 4;
  A[3][1] = 8;
  A[3][2] = 2;
  A[3][3] = 8;
}


x86 assembly (clang, -O0):
<inicia>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0xeed(%rip),%xmm0
movsd  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0xeea(%rip),%xmm0
movsd  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0xf06(%rip),%xmm0
movsd  %xmm0,0x10(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0xeda(%rip),%xmm0
movsd  %xmm0,0x18(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rax
movsd  0xe9d(%rip),%xmm0
movsd  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rax
movsd  0xec1(%rip),%xmm0
movsd  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rax
movsd  0xea4(%rip),%xmm0
movsd  %xmm0,0x10(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rax
movsd  0xe67(%rip),%xmm0
movsd  %xmm0,0x18(%rax)
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%rax
movsd  0xe72(%rip),%xmm0
movsd  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%rax
movsd  0xe56(%rip),%xmm0
movsd  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%rax
movsd  0xe39(%rip),%xmm0
movsd  %xmm0,0x10(%rax)
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%rax
movsd  0xe1c(%rip),%xmm0
movsd  %xmm0,0x18(%rax)
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%rax
movsd  0xdff(%rip),%xmm0
movsd  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%rax
movsd  0xddb(%rip),%xmm0
movsd  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%rax
movsd  0xdce(%rip),%xmm0
movsd  %xmm0,0x10(%rax)
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%rax
movsd  0xdb1(%rip),%xmm0
movsd  %xmm0,0x18(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<inicia>:
mov    (%rdi),%rax
movaps 0xef6(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xefc(%rip),%xmm0
movups %xmm0,0x10(%rax)
mov    0x8(%rdi),%rax
movaps 0xefd(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xf03(%rip),%xmm0
movups %xmm0,0x10(%rax)
mov    0x10(%rdi),%rax
movaps 0xf04(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xf0a(%rip),%xmm0
movups %xmm0,0x10(%rax)
mov    0x18(%rdi),%rax
movaps 0xf0b(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xf11(%rip),%xmm0
movups %xmm0,0x10(%rax)
ret

LLVM IR (-O0):
define void @inicia(double** %0, i64 %1) {
%3 = alloca double**
%4 = alloca i64
store double** %0, double*** %3
store i64 %1, i64* %4
%5 = load double**, double*** %3
%6 = getelementptr inbounds double*, double** %5, i64 0
%7 = load double*, double** %6
%8 = getelementptr inbounds double, double* %7, i64 0
store double 2.000000e+00, double* %8
%9 = load double**, double*** %3
%10 = getelementptr inbounds double*, double** %9, i64 0
%11 = load double*, double** %10
%12 = getelementptr inbounds double, double* %11, i64 1
store double 5.000000e+00, double* %12
%13 = load double**, double*** %3
%14 = getelementptr inbounds double*, double** %13, i64 0
%15 = load double*, double** %14
%16 = getelementptr inbounds double, double* %15, i64 2
store double 9.000000e+00, double* %16
%17 = load double**, double*** %3
%18 = getelementptr inbounds double*, double** %17, i64 0
%19 = load double*, double** %18
%20 = getelementptr inbounds double, double* %19, i64 3
store double 3.000000e+00, double* %20
%21 = load double**, double*** %3
%22 = getelementptr inbounds double*, double** %21, i64 1
%23 = load double*, double** %22
%24 = getelementptr inbounds double, double* %23, i64 0
store double 2.000000e+00, double* %24
%25 = load double**, double*** %3
%26 = getelementptr inbounds double*, double** %25, i64 1
%27 = load double*, double** %26
%28 = getelementptr inbounds double, double* %27, i64 1
store double 6.000000e+00, double* %28
%29 = load double**, double*** %3
%30 = getelementptr inbounds double*, double** %29, i64 1
%31 = load double*, double** %30
%32 = getelementptr inbounds double, double* %31, i64 2
store double 1.000000e+01, double* %32
%33 = load double**, double*** %3
%34 = getelementptr inbounds double*, double** %33, i64 1
%35 = load double*, double** %34
%36 = getelementptr inbounds double, double* %35, i64 3
store double 4.000000e+00, double* %36
%37 = load double**, double*** %3
%38 = getelementptr inbounds double*, double** %37, i64 2
%39 = load double*, double** %38
%40 = getelementptr inbounds double, double* %39, i64 0
store double 3.000000e+00, double* %40
%41 = load double**, double*** %3
%42 = getelementptr inbounds double*, double** %41, i64 2
%43 = load double*, double** %42
%44 = getelementptr inbounds double, double* %43, i64 1
store double 7.000000e+00, double* %44
%45 = load double**, double*** %3
%46 = getelementptr inbounds double*, double** %45, i64 2
%47 = load double*, double** %46
%48 = getelementptr inbounds double, double* %47, i64 2
store double 1.000000e+00, double* %48
%49 = load double**, double*** %3
%50 = getelementptr inbounds double*, double** %49, i64 2
%51 = load double*, double** %50
%52 = getelementptr inbounds double, double* %51, i64 3
store double 5.000000e+00, double* %52
%53 = load double**, double*** %3
%54 = getelementptr inbounds double*, double** %53, i64 3
%55 = load double*, double** %54
%56 = getelementptr inbounds double, double* %55, i64 0
store double 4.000000e+00, double* %56
%57 = load double**, double*** %3
%58 = getelementptr inbounds double*, double** %57, i64 3
%59 = load double*, double** %58
%60 = getelementptr inbounds double, double* %59, i64 1
store double 8.000000e+00, double* %60
%61 = load double**, double*** %3
%62 = getelementptr inbounds double*, double** %61, i64 3
%63 = load double*, double** %62
%64 = getelementptr inbounds double, double* %63, i64 2
store double 2.000000e+00, double* %64
%65 = load double**, double*** %3
%66 = getelementptr inbounds double*, double** %65, i64 3
%67 = load double*, double** %66
%68 = getelementptr inbounds double, double* %67, i64 3
store double 8.000000e+00, double* %68
ret void
}

LLVM IR (-O2):
define void @inicia(double** nocapture %0, i64 %1) {
%3 = load double*, double** %0
%4 = bitcast double* %3 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 5.000000e+00>, <2 x double>* %4
%5 = getelementptr inbounds double, double* %3, i64 2
%6 = bitcast double* %5 to <2 x double>*
store <2 x double> <double 9.000000e+00, double 3.000000e+00>, <2 x double>* %6
%7 = getelementptr inbounds double*, double** %0, i64 1
%8 = load double*, double** %7
%9 = bitcast double* %8 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 6.000000e+00>, <2 x double>* %9
%10 = getelementptr inbounds double, double* %8, i64 2
%11 = bitcast double* %10 to <2 x double>*
store <2 x double> <double 1.000000e+01, double 4.000000e+00>, <2 x double>* %11
%12 = getelementptr inbounds double*, double** %0, i64 2
%13 = load double*, double** %12
%14 = bitcast double* %13 to <2 x double>*
store <2 x double> <double 3.000000e+00, double 7.000000e+00>, <2 x double>* %14
%15 = getelementptr inbounds double, double* %13, i64 2
%16 = bitcast double* %15 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 5.000000e+00>, <2 x double>* %16
%17 = getelementptr inbounds double*, double** %0, i64 3
%18 = load double*, double** %17
%19 = bitcast double* %18 to <2 x double>*
store <2 x double> <double 4.000000e+00, double 8.000000e+00>, <2 x double>* %19
%20 = getelementptr inbounds double, double* %18, i64 2
%21 = bitcast double* %20 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 8.000000e+00>, <2 x double>* %21
ret void
}