void Mmm(m, n, p, alpha, A, Aj0, B, Bj0, C, Cj0) int m, n, p;
double alpha;
double **A, **B, **C;
int Aj0, Bj0, Cj0;
{
  register int i, j, k;
  for (i = 0; i < m; i++)
    Mvm(p, n, alpha, B, Bj0, &(A[i][Aj0]), 1.0, &(C[i][Cj0]));
}


x86 assembly (clang, -O0):
<Mmm>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%eax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
movsd  %xmm0,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8d,-0x24(%rbp)
mov    %r9,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    11ac <Mmm+0x9c>
mov    -0xc(%rbp),%edi
mov    -0x8(%rbp),%esi
movsd  -0x18(%rbp),%xmm0
mov    -0x30(%rbp),%rdx
mov    0x10(%rbp),%ecx
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%r8
mov    (%rax,%r8,8),%r8
movslq -0x24(%rbp),%rax
shl    $0x3,%rax
add    %rax,%r8
mov    0x18(%rbp),%rax
movslq -0x34(%rbp),%r9
mov    (%rax,%r9,8),%r9
movslq 0x20(%rbp),%rax
shl    $0x3,%rax
add    %rax,%r9
movsd  0xe69(%rip),%xmm1
mov    $0x2,%al
call   1030 <Mvm@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1143 <Mmm+0x33>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Mmm>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
test   %edi,%edi
jle    11a7 <Mmm+0x97>
mov    %r9,%rax
mov    %rcx,%rbx
mov    %edx,%r14d
mov    %esi,%r13d
movslq %r8d,%rbp
movslq 0x60(%rsp),%r12
mov    %edi,%edi
mov    %rdi,(%rsp)
xor    %r15d,%r15d
shl    $0x3,%rbp
mov    %rbp,0x8(%rsp)
shl    $0x3,%r12
movsd  %xmm0,0x10(%rsp)
cs nopw 0x0(%rax,%rax,1)
mov    (%rbx,%r15,8),%r8
add    0x8(%rsp),%r8
mov    0x58(%rsp),%rdi
mov    (%rdi,%r15,8),%r9
add    %r12,%r9
mov    %r14d,%edi
mov    %r13d,%esi
movsd  0x10(%rsp),%xmm0
mov    %rax,%rdx
mov    0x50(%rsp),%ecx
movsd  0xe70(%rip),%xmm1
mov    %rax,%rbp
mov    $0x2,%al
call   1030 <Mvm@plt>
mov    %rbp,%rax
add    $0x1,%r15
cmp    %r15,(%rsp)
jne    1160 <Mmm+0x50>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @Mmm(i32 %0, i32 %1, i32 %2, double %3, double** %4, i32 %5, double** %6, i32 %7, double** %8, i32 %9) {
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca double
%15 = alloca double**
%16 = alloca i32
%17 = alloca double**
%18 = alloca i32
%19 = alloca double**
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
store i32 %0, i32* %11
store i32 %1, i32* %12
store i32 %2, i32* %13
store double %3, double* %14
store double** %4, double*** %15
store i32 %5, i32* %16
store double** %6, double*** %17
store i32 %7, i32* %18
store double** %8, double*** %19
store i32 %9, i32* %20
store i32 0, i32* %21
br label %24
24: ; preds = %51, %10
%25 = load i32, i32* %21
%26 = load i32, i32* %11
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %54
28: ; preds = %24
%29 = load i32, i32* %13
%30 = load i32, i32* %12
%31 = load double, double* %14
%32 = load double**, double*** %17
%33 = load i32, i32* %18
%34 = load double**, double*** %15
%35 = load i32, i32* %21
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double*, double** %34, i64 %36
%38 = load double*, double** %37
%39 = load i32, i32* %16
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, double* %38, i64 %40
%42 = load double**, double*** %19
%43 = load i32, i32* %21
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double*, double** %42, i64 %44
%46 = load double*, double** %45
%47 = load i32, i32* %20
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, double* %46, i64 %48
%50 = call i32 (i32, i32, double, double**, i32, double*, double, double*, ...) bitcast (i32 (...)* @Mvm to i32 (i32, i32, double, double**, i32, double*, double, double*, ...)*)(i32 %29, i32 %30, double %31, double** %32, i32 %33, double* %41, double 1.000000e+00, double* %49)
br label %51
51: ; preds = %28
%52 = load i32, i32* %21
%53 = add nsw i32 %52, 1
store i32 %53, i32* %21
br label %24
54: ; preds = %24
ret void
}

LLVM IR (-O2):
define void @Mmm(i32 %0, i32 %1, i32 %2, double %3, double** nocapture %4, i32 %5, double** %6, i32 %7, double** nocapture %8, i32 %9) {
%11 = icmp sgt i32 %0, 0
br i1 %11, label %12, label %27
12: ; preds = %10
%13 = sext i32 %5 to i64
%14 = sext i32 %9 to i64
%15 = zext i32 %0 to i64
br label %16
16: ; preds = %12, %16
%17 = phi i64 [ 0, %12 ], [ %25, %16 ]
%18 = getelementptr inbounds double*, double** %4, i64 %17
%19 = load double*, double** %18
%20 = getelementptr inbounds double, double* %19, i64 %13
%21 = getelementptr inbounds double*, double** %8, i64 %17
%22 = load double*, double** %21
%23 = getelementptr inbounds double, double* %22, i64 %14
%24 = tail call i32 (i32, i32, double, double**, i32, double*, double, double*, ...) bitcast (i32 (...)* @Mvm to i32 (i32, i32, double, double**, i32, double*, double, double*, ...)*)(i32 %2, i32 %1, double %3, double** %6, i32 %7, double* %20, double 1.000000e+00, double* %23)
%25 = add nuw nsw i64 %17, 1
%26 = icmp eq i64 %25, %15
br i1 %26, label %27, label %16
27: ; preds = %16, %10
ret void
}