void glmGenerateTranslationMatrix5f(float m[25], const float p[4]) {
  m[0] = 1;
  m[5] = 0;
  m[10] = 0;
  m[15] = 0;
  m[20] = p[0];
  m[1] = 0;
  m[6] = 1;
  m[11] = 0;
  m[16] = 0;
  m[21] = p[1];
  m[2] = 0;
  m[7] = 0;
  m[12] = 1;
  m[17] = 0;
  m[22] = p[2];
  m[3] = 0;
  m[8] = 0;
  m[13] = 0;
  m[18] = 1;
  m[23] = p[3];
  m[4] = 0;
  m[9] = 0;
  m[14] = 0;
  m[19] = 0;
  m[24] = 1;
}


x86 assembly (clang, -O0):
<glmGenerateTranslationMatrix5f>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movss  0xee8(%rip),%xmm0
movss  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x14(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x28(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x3c(%rax)
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x50(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x4(%rax)
mov    -0x8(%rbp),%rax
movss  0xe97(%rip),%xmm0
movss  %xmm0,0x18(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x2c(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x40(%rax)
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x54(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x1c(%rax)
mov    -0x8(%rbp),%rax
movss  0xe44(%rip),%xmm0
movss  %xmm0,0x30(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x44(%rax)
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x58(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0xc(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x20(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x34(%rax)
mov    -0x8(%rbp),%rax
movss  0xdf1(%rip),%xmm0
movss  %xmm0,0x48(%rax)
mov    -0x10(%rbp),%rax
movss  0xc(%rax),%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x5c(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x10(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x24(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x38(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x4c(%rax)
mov    -0x8(%rbp),%rax
movss  0xd9e(%rip),%xmm0
movss  %xmm0,0x60(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<glmGenerateTranslationMatrix5f>:
movl   $0x3f800000,(%rdi)
movl   $0x0,0x14(%rdi)
movl   $0x0,0x28(%rdi)
movl   $0x0,0x3c(%rdi)
movss  (%rsi),%xmm0
movss  %xmm0,0x50(%rdi)
movl   $0x0,0x4(%rdi)
movl   $0x3f800000,0x18(%rdi)
movl   $0x0,0x2c(%rdi)
movl   $0x0,0x40(%rdi)
movss  0x4(%rsi),%xmm0
movss  %xmm0,0x54(%rdi)
movl   $0x0,0x8(%rdi)
movl   $0x0,0x1c(%rdi)
movl   $0x3f800000,0x30(%rdi)
movl   $0x0,0x44(%rdi)
movss  0x8(%rsi),%xmm0
movss  %xmm0,0x58(%rdi)
movl   $0x0,0xc(%rdi)
movl   $0x0,0x20(%rdi)
movl   $0x0,0x34(%rdi)
movl   $0x3f800000,0x48(%rdi)
movss  0xc(%rsi),%xmm0
movss  %xmm0,0x5c(%rdi)
movl   $0x0,0x10(%rdi)
movl   $0x0,0x24(%rdi)
movl   $0x0,0x38(%rdi)
movl   $0x0,0x4c(%rdi)
movl   $0x3f800000,0x60(%rdi)
ret

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

LLVM IR (-O2):
define void @glmGenerateTranslationMatrix5f(float* writeonly %0, float* nocapture %1) {
store float 1.000000e+00, float* %0
%3 = getelementptr inbounds float, float* %0, i64 5
store float 0.000000e+00, float* %3
%4 = getelementptr inbounds float, float* %0, i64 10
store float 0.000000e+00, float* %4
%5 = getelementptr inbounds float, float* %0, i64 15
store float 0.000000e+00, float* %5
%6 = load float, float* %1
%7 = getelementptr inbounds float, float* %0, i64 20
store float %6, float* %7
%8 = getelementptr inbounds float, float* %0, i64 1
store float 0.000000e+00, float* %8
%9 = getelementptr inbounds float, float* %0, i64 6
store float 1.000000e+00, float* %9
%10 = getelementptr inbounds float, float* %0, i64 11
store float 0.000000e+00, float* %10
%11 = getelementptr inbounds float, float* %0, i64 16
store float 0.000000e+00, float* %11
%12 = getelementptr inbounds float, float* %1, i64 1
%13 = load float, float* %12
%14 = getelementptr inbounds float, float* %0, i64 21
store float %13, float* %14
%15 = getelementptr inbounds float, float* %0, i64 2
store float 0.000000e+00, float* %15
%16 = getelementptr inbounds float, float* %0, i64 7
store float 0.000000e+00, float* %16
%17 = getelementptr inbounds float, float* %0, i64 12
store float 1.000000e+00, float* %17
%18 = getelementptr inbounds float, float* %0, i64 17
store float 0.000000e+00, float* %18
%19 = getelementptr inbounds float, float* %1, i64 2
%20 = load float, float* %19
%21 = getelementptr inbounds float, float* %0, i64 22
store float %20, float* %21
%22 = getelementptr inbounds float, float* %0, i64 3
store float 0.000000e+00, float* %22
%23 = getelementptr inbounds float, float* %0, i64 8
store float 0.000000e+00, float* %23
%24 = getelementptr inbounds float, float* %0, i64 13
store float 0.000000e+00, float* %24
%25 = getelementptr inbounds float, float* %0, i64 18
store float 1.000000e+00, float* %25
%26 = getelementptr inbounds float, float* %1, i64 3
%27 = load float, float* %26
%28 = getelementptr inbounds float, float* %0, i64 23
store float %27, float* %28
%29 = getelementptr inbounds float, float* %0, i64 4
store float 0.000000e+00, float* %29
%30 = getelementptr inbounds float, float* %0, i64 9
store float 0.000000e+00, float* %30
%31 = getelementptr inbounds float, float* %0, i64 14
store float 0.000000e+00, float* %31
%32 = getelementptr inbounds float, float* %0, i64 19
store float 0.000000e+00, float* %32
%33 = getelementptr inbounds float, float* %0, i64 24
store float 1.000000e+00, float* %33
ret void
}