void bndxa_(double *t, double *u, double *ux, double *bval, int *npde) {
  (void)t;
  (void)npde;
  bval[0] = ux[0] + 100. * (2. - .96 - u[0]);
  bval[1] = ux[1] + 100. * (.96 - u[1]);
  bval[2] = ux[2];
  bval[3] = ux[3];
}


x86 assembly (clang, -O0):
<bndxa_>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  0xee4(%rip),%xmm0
subsd  (%rax),%xmm0
movsd  0xec8(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  0xeab(%rip),%xmm0
subsd  0x8(%rax),%xmm0
movsd  0xe96(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x18(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x18(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<bndxa_>:
movsd  0xef8(%rip),%xmm0
subsd  (%rsi),%xmm0
movsd  0xef4(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  (%rdx),%xmm0
movsd  %xmm0,(%rcx)
movsd  0xee8(%rip),%xmm0
subsd  0x8(%rsi),%xmm0
mulsd  %xmm1,%xmm0
addsd  0x8(%rdx),%xmm0
movsd  %xmm0,0x8(%rcx)
movsd  0x10(%rdx),%xmm0
movsd  %xmm0,0x10(%rcx)
movsd  0x18(%rdx),%xmm0
movsd  %xmm0,0x18(%rcx)
ret

LLVM IR (-O0):
define void @bndxa_(double* %0, double* %1, double* %2, double* %3, i32* %4) {
%6 = alloca double*
%7 = alloca double*
%8 = alloca double*
%9 = alloca double*
%10 = alloca i32*
store double* %0, double** %6
store double* %1, double** %7
store double* %2, double** %8
store double* %3, double** %9
store i32* %4, i32** %10
%11 = load double*, double** %6
%12 = load i32*, i32** %10
%13 = load double*, double** %8
%14 = getelementptr inbounds double, double* %13, i64 0
%15 = load double, double* %14
%16 = load double*, double** %7
%17 = getelementptr inbounds double, double* %16, i64 0
%18 = load double, double* %17
%19 = fsub double 1.040000e+00, %18
%20 = call double @llvm.fmuladd.f64(double 1.000000e+02, double %19, double %15)
%21 = load double*, double** %9
%22 = getelementptr inbounds double, double* %21, i64 0
store double %20, double* %22
%23 = load double*, double** %8
%24 = getelementptr inbounds double, double* %23, i64 1
%25 = load double, double* %24
%26 = load double*, double** %7
%27 = getelementptr inbounds double, double* %26, i64 1
%28 = load double, double* %27
%29 = fsub double 0x3FEEB851EB851EB8, %28
%30 = call double @llvm.fmuladd.f64(double 1.000000e+02, double %29, double %25)
%31 = load double*, double** %9
%32 = getelementptr inbounds double, double* %31, i64 1
store double %30, double* %32
%33 = load double*, double** %8
%34 = getelementptr inbounds double, double* %33, i64 2
%35 = load double, double* %34
%36 = load double*, double** %9
%37 = getelementptr inbounds double, double* %36, i64 2
store double %35, double* %37
%38 = load double*, double** %8
%39 = getelementptr inbounds double, double* %38, i64 3
%40 = load double, double* %39
%41 = load double*, double** %9
%42 = getelementptr inbounds double, double* %41, i64 3
store double %40, double* %42
ret void
}

LLVM IR (-O2):
define void @bndxa_(double* nocapture readnone %0, double* nocapture %1, double* nocapture %2, double* nocapture writeonly %3, i32* nocapture readnone %4) {
%6 = load double, double* %2
%7 = load double, double* %1
%8 = fsub double 1.040000e+00, %7
%9 = tail call double @llvm.fmuladd.f64(double %8, double 1.000000e+02, double %6)
store double %9, double* %3
%10 = getelementptr inbounds double, double* %2, i64 1
%11 = load double, double* %10
%12 = getelementptr inbounds double, double* %1, i64 1
%13 = load double, double* %12
%14 = fsub double 0x3FEEB851EB851EB8, %13
%15 = tail call double @llvm.fmuladd.f64(double %14, double 1.000000e+02, double %11)
%16 = getelementptr inbounds double, double* %3, i64 1
store double %15, double* %16
%17 = getelementptr inbounds double, double* %2, i64 2
%18 = load double, double* %17
%19 = getelementptr inbounds double, double* %3, i64 2
store double %18, double* %19
%20 = getelementptr inbounds double, double* %2, i64 3
%21 = load double, double* %20
%22 = getelementptr inbounds double, double* %3, i64 3
store double %21, double* %22
ret void
}