int pointincircle(double point[2], double coords[100][2]) {
  int radius1, radius2;
  radius1 = ((coords[0][1] - coords[1][1]) * (coords[0][1] - coords[1][1])) +
            ((coords[0][0] - coords[1][0]) * (coords[0][0] - coords[1][0]));
  radius2 = ((coords[0][1] - point[1]) * (coords[0][1] - point[1])) +
            ((coords[0][0] - point[0]) * (coords[0][0] - point[0]));
  return (radius2 <= radius1);
}


x86 assembly (clang, -O0):
<pointincircle>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
subsd  0x18(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm2
mov    -0x10(%rbp),%rax
subsd  0x18(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x10(%rbp),%rax
subsd  0x10(%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm3
mov    -0x10(%rbp),%rax
subsd  0x10(%rax),%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x14(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm2
mov    -0x8(%rbp),%rax
subsd  0x8(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x8(%rbp),%rax
subsd  (%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm3
mov    -0x8(%rbp),%rax
subsd  (%rax),%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
setle  %al
and    $0x1,%al
movzbl %al,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<pointincircle>:
movsd  (%rsi),%xmm0
movsd  0x8(%rsi),%xmm1
unpcklpd %xmm1,%xmm1
movsd  0x8(%rdi),%xmm2
movhpd 0x18(%rsi),%xmm2
movsd  (%rdi),%xmm3
subpd  %xmm2,%xmm1
movhpd 0x10(%rsi),%xmm3
unpcklpd %xmm0,%xmm0
subpd  %xmm3,%xmm0
mulpd  %xmm0,%xmm0
mulpd  %xmm1,%xmm1
addpd  %xmm0,%xmm1
cvttpd2dq %xmm1,%xmm0
pshufd $0x55,%xmm0,%xmm1
pcmpgtd %xmm1,%xmm0
movd   %xmm0,%eax
not    %eax
and    $0x1,%eax
ret

LLVM IR (-O0):
define i32 @pointincircle(double* %0, [2 x double]* %1) {
%3 = alloca double*
%4 = alloca [2 x double]*
%5 = alloca i32
%6 = alloca i32
store double* %0, double** %3
store [2 x double]* %1, [2 x double]** %4
%7 = load [2 x double]*, [2 x double]** %4
%8 = getelementptr inbounds [2 x double], [2 x double]* %7, i64 0
%9 = getelementptr inbounds [2 x double], [2 x double]* %8, i64 0, i64 1
%10 = load double, double* %9
%11 = load [2 x double]*, [2 x double]** %4
%12 = getelementptr inbounds [2 x double], [2 x double]* %11, i64 1
%13 = getelementptr inbounds [2 x double], [2 x double]* %12, i64 0, i64 1
%14 = load double, double* %13
%15 = fsub double %10, %14
%16 = load [2 x double]*, [2 x double]** %4
%17 = getelementptr inbounds [2 x double], [2 x double]* %16, i64 0
%18 = getelementptr inbounds [2 x double], [2 x double]* %17, i64 0, i64 1
%19 = load double, double* %18
%20 = load [2 x double]*, [2 x double]** %4
%21 = getelementptr inbounds [2 x double], [2 x double]* %20, i64 1
%22 = getelementptr inbounds [2 x double], [2 x double]* %21, i64 0, i64 1
%23 = load double, double* %22
%24 = fsub double %19, %23
%25 = load [2 x double]*, [2 x double]** %4
%26 = getelementptr inbounds [2 x double], [2 x double]* %25, i64 0
%27 = getelementptr inbounds [2 x double], [2 x double]* %26, i64 0, i64 0
%28 = load double, double* %27
%29 = load [2 x double]*, [2 x double]** %4
%30 = getelementptr inbounds [2 x double], [2 x double]* %29, i64 1
%31 = getelementptr inbounds [2 x double], [2 x double]* %30, i64 0, i64 0
%32 = load double, double* %31
%33 = fsub double %28, %32
%34 = load [2 x double]*, [2 x double]** %4
%35 = getelementptr inbounds [2 x double], [2 x double]* %34, i64 0
%36 = getelementptr inbounds [2 x double], [2 x double]* %35, i64 0, i64 0
%37 = load double, double* %36
%38 = load [2 x double]*, [2 x double]** %4
%39 = getelementptr inbounds [2 x double], [2 x double]* %38, i64 1
%40 = getelementptr inbounds [2 x double], [2 x double]* %39, i64 0, i64 0
%41 = load double, double* %40
%42 = fsub double %37, %41
%43 = fmul double %33, %42
%44 = call double @llvm.fmuladd.f64(double %15, double %24, double %43)
%45 = fptosi double %44 to i32
store i32 %45, i32* %5
%46 = load [2 x double]*, [2 x double]** %4
%47 = getelementptr inbounds [2 x double], [2 x double]* %46, i64 0
%48 = getelementptr inbounds [2 x double], [2 x double]* %47, i64 0, i64 1
%49 = load double, double* %48
%50 = load double*, double** %3
%51 = getelementptr inbounds double, double* %50, i64 1
%52 = load double, double* %51
%53 = fsub double %49, %52
%54 = load [2 x double]*, [2 x double]** %4
%55 = getelementptr inbounds [2 x double], [2 x double]* %54, i64 0
%56 = getelementptr inbounds [2 x double], [2 x double]* %55, i64 0, i64 1
%57 = load double, double* %56
%58 = load double*, double** %3
%59 = getelementptr inbounds double, double* %58, i64 1
%60 = load double, double* %59
%61 = fsub double %57, %60
%62 = load [2 x double]*, [2 x double]** %4
%63 = getelementptr inbounds [2 x double], [2 x double]* %62, i64 0
%64 = getelementptr inbounds [2 x double], [2 x double]* %63, i64 0, i64 0
%65 = load double, double* %64
%66 = load double*, double** %3
%67 = getelementptr inbounds double, double* %66, i64 0
%68 = load double, double* %67
%69 = fsub double %65, %68
%70 = load [2 x double]*, [2 x double]** %4
%71 = getelementptr inbounds [2 x double], [2 x double]* %70, i64 0
%72 = getelementptr inbounds [2 x double], [2 x double]* %71, i64 0, i64 0
%73 = load double, double* %72
%74 = load double*, double** %3
%75 = getelementptr inbounds double, double* %74, i64 0
%76 = load double, double* %75
%77 = fsub double %73, %76
%78 = fmul double %69, %77
%79 = call double @llvm.fmuladd.f64(double %53, double %61, double %78)
%80 = fptosi double %79 to i32
store i32 %80, i32* %6
%81 = load i32, i32* %6
%82 = load i32, i32* %5
%83 = icmp sle i32 %81, %82
%84 = zext i1 %83 to i32
ret i32 %84
}

LLVM IR (-O2):
define i32 @pointincircle(double* nocapture %0, [2 x double]* nocapture %1) {
%3 = getelementptr inbounds [2 x double], [2 x double]* %1, i64 0, i64 1
%4 = load double, double* %3
%5 = getelementptr inbounds [2 x double], [2 x double]* %1, i64 1, i64 1
%6 = load double, double* %5
%7 = getelementptr inbounds [2 x double], [2 x double]* %1, i64 0, i64 0
%8 = load double, double* %7
%9 = getelementptr inbounds [2 x double], [2 x double]* %1, i64 1, i64 0
%10 = load double, double* %9
%11 = getelementptr inbounds double, double* %0, i64 1
%12 = load double, double* %11
%13 = insertelement <2 x double> poison, double %4, i64 0
%14 = shufflevector <2 x double> %13, <2 x double> poison, <2 x i32> zeroinitializer
%15 = insertelement <2 x double> poison, double %12, i64 0
%16 = insertelement <2 x double> %15, double %6, i64 1
%17 = fsub <2 x double> %14, %16
%18 = load double, double* %0
%19 = insertelement <2 x double> poison, double %8, i64 0
%20 = shufflevector <2 x double> %19, <2 x double> poison, <2 x i32> zeroinitializer
%21 = insertelement <2 x double> poison, double %18, i64 0
%22 = insertelement <2 x double> %21, double %10, i64 1
%23 = fsub <2 x double> %20, %22
%24 = fmul <2 x double> %23, %23
%25 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %17, <2 x double> %17, <2 x double> %24)
%26 = fptosi <2 x double> %25 to <2 x i32>
%27 = shufflevector <2 x i32> %26, <2 x i32> poison, <2 x i32> <i32 1, i32 undef>
%28 = icmp sge <2 x i32> %27, %26
%29 = extractelement <2 x i1> %28, i64 0
%30 = zext i1 %29 to i32
ret i32 %30
}