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, &(A[i][Aj0]), B, Bj0, &(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    11a5 <Mmm+0x95>
mov    -0xc(%rbp),%edi
mov    -0x8(%rbp),%esi
movsd  -0x18(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdx
movslq -0x24(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdx
mov    -0x30(%rbp),%rcx
mov    0x10(%rbp),%r8d
mov    0x18(%rbp),%rax
movslq -0x34(%rbp),%r9
mov    (%rax,%r9,8),%r9
movslq 0x20(%rbp),%rax
shl    $0x3,%rax
add    %rax,%r9
mov    $0x1,%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    1199 <Mmm+0x89>
mov    %r9,%rbp
mov    %rcx,%r14
mov    %edx,%ebx
mov    %esi,%r13d
movslq %r8d,%rdx
movslq 0x60(%rsp),%r12
mov    %edi,%edi
mov    %rdi,(%rsp)
xor    %r15d,%r15d
shl    $0x3,%rdx
mov    %rdx,0x8(%rsp)
shl    $0x3,%r12
movsd  %xmm0,0x10(%rsp)
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    (%r14,%r15,8),%rdx
add    0x8(%rsp),%rdx
mov    0x58(%rsp),%rdi
mov    (%rdi,%r15,8),%r9
add    %r12,%r9
mov    %ebx,%edi
mov    %r13d,%esi
movsd  0x10(%rsp),%xmm0
mov    %rbp,%rcx
mov    0x50(%rsp),%r8d
mov    $0x1,%al
call   1030 <Mvm@plt>
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*** %15
%33 = load i32, i32* %21
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double*, double** %32, i64 %34
%36 = load double*, double** %35
%37 = load i32, i32* %16
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, double* %36, i64 %38
%40 = load double**, double*** %17
%41 = load i32, i32* %18
%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*, double**, i32, double*, ...) bitcast (i32 (...)* @Mvm to i32 (i32, i32, double, double*, double**, i32, double*, ...)*)(i32 %29, i32 %30, double %31, double* %39, double** %40, i32 %41, 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*, double**, i32, double*, ...) bitcast (i32 (...)* @Mvm to i32 (i32, i32, double, double*, double**, i32, double*, ...)*)(i32 %2, i32 %1, double %3, double* %20, double** %6, i32 %7, 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
}