<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Even with that mistake, by luck the
code will still always work.<br>
<br>
That's why my testing did not uncover it.<br>
<br>
The condition is already tested properly before calling the
function so it will never get there if the relocation model is
pic.<br>
<br>
I'm going to fix it now.<br>
<br>
On your machine, you can just delete that line or else change it
to <br>
<br>
if (Subtarget.getRelocationModel() == Reloc::PIC_)<br>
<br>
On 05/13/2013 10:05 PM, Kostya Serebryany wrote:<br>
</div>
<blockquote
cite="mid:CAN=P9pi_aVPDt46rh-rkwfmmvBMBOe9=B9mPJP+kQXTKMXsSew@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">With this patch I get a compile error:
<div>
<div>llvm/lib/Target/Mips/Mips16HardFloat.cpp:244:39: error:
comparison of constant 2 with expression of type 'bool' is
always false
[-Werror,-Wtautological-constant-out-of-range-compare]</div>
<div> if (!Subtarget.getRelocationModel() == Reloc::PIC_)</div>
<div> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~</div>
</div>
<div><br>
</div>
<div style="">--kcc </div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, May 14, 2013 at 6:00 AM, Reed
Kotler <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rkotler@mips.com" target="_blank">rkotler@mips.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: rkotler<br>
Date: Mon May 13 21:00:24 2013<br>
New Revision: 181753<br>
<br>
URL: <a moz-do-not-send="true"
href="http://llvm.org/viewvc/llvm-project?rev=181753&view=rev"
target="_blank">http://llvm.org/viewvc/llvm-project?rev=181753&view=rev</a><br>
Log:<br>
This is the first of three patches which creates stubs used
for<br>
Mips16/32 floating point interoperability.<br>
<br>
When Mips16 code calls external functions that would
normally have some<br>
of its parameters or return values passed in floating point
registers,<br>
it needs (Mips32) helper functions to do this because while
in Mips16 mode<br>
there is no ability to access the floating point registers.<br>
<br>
In Pic mode, this is done with a set of predefined functions
in libc.<br>
This case is already handled in llvm for Mips16.<br>
<br>
In static relocation mode, for efficiency reasons, the
compiler generates<br>
stubs that the linker will use if it turns out that the
external function<br>
is a Mips32 function. (If it's Mips16, then it does not need
the helper<br>
stubs).<br>
<br>
These stubs are identically named and the linker knows about
these tricks<br>
and will not create multiple copies and will delete them if
they are not<br>
needed.<br>
<br>
<br>
Added:<br>
llvm/trunk/test/CodeGen/Mips/hf16call32.ll<br>
Modified:<br>
llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp<br>
<br>
Modified: llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp<br>
URL: <a moz-do-not-send="true"
href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp?rev=181753&r1=181752&r2=181753&view=diff"
target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp?rev=181753&r1=181752&r2=181753&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp
(original)<br>
+++ llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp Mon May
13 21:00:24 2013<br>
@@ -18,6 +18,36 @@<br>
#include "llvm/Support/raw_ostream.h"<br>
#include <string><br>
<br>
+static void inlineAsmOut<br>
+ (LLVMContext &C, StringRef AsmString, BasicBlock *BB
) {<br>
+ std::vector<llvm::Type *> AsmArgTypes;<br>
+ std::vector<llvm::Value*> AsmArgs;<br>
+ llvm::FunctionType *AsmFTy =<br>
+ llvm::FunctionType::get(Type::getVoidTy(C),<br>
+ AsmArgTypes, false);<br>
+ llvm::InlineAsm *IA =<br>
+ llvm::InlineAsm::get(AsmFTy, AsmString, "", true,<br>
+ /* IsAlignStack */ false,<br>
+ llvm::InlineAsm::AD_ATT);<br>
+ CallInst::Create(IA, AsmArgs, "", BB);<br>
+}<br>
+<br>
+namespace {<br>
+<br>
+class InlineAsmHelper {<br>
+ LLVMContext &C;<br>
+ BasicBlock *BB;<br>
+public:<br>
+ InlineAsmHelper(LLVMContext &C_, BasicBlock *BB_) :<br>
+ C(C_), BB(BB_) {<br>
+ }<br>
+<br>
+ void Out(StringRef AsmString) {<br>
+ inlineAsmOut(C, AsmString, BB);<br>
+ }<br>
+<br>
+};<br>
+}<br>
//<br>
// Return types that matter for hard float are:<br>
// float, double, complex float, and complex double<br>
@@ -52,6 +82,241 @@ static FPReturnVariant whichFPReturnVari<br>
}<br>
<br>
//<br>
+// Parameter type that matter are float, (float, float),
(float, double),<br>
+// double, (double, double), (double, float)<br>
+//<br>
+enum FPParamVariant {<br>
+ FSig, FFSig, FDSig,<br>
+ DSig, DDSig, DFSig, NoSig<br>
+};<br>
+<br>
+// which floating point parameter signature variant we are
dealing with<br>
+//<br>
+typedef Type::TypeID TypeID;<br>
+const Type::TypeID FloatTyID = Type::FloatTyID;<br>
+const Type::TypeID DoubleTyID = Type::DoubleTyID;<br>
+<br>
+static FPParamVariant whichFPParamVariantNeeded(Function
&F) {<br>
+ switch (F.arg_size()) {<br>
+ case 0:<br>
+ return NoSig;<br>
+ case 1:{<br>
+ TypeID ArgTypeID =
F.getFunctionType()->getParamType(0)->getTypeID();<br>
+ switch (ArgTypeID) {<br>
+ case FloatTyID:<br>
+ return FSig;<br>
+ case DoubleTyID:<br>
+ return DSig;<br>
+ default:<br>
+ return NoSig;<br>
+ }<br>
+ }<br>
+ default: {<br>
+ TypeID ArgTypeID0 =
F.getFunctionType()->getParamType(0)->getTypeID();<br>
+ TypeID ArgTypeID1 =
F.getFunctionType()->getParamType(1)->getTypeID();<br>
+ switch(ArgTypeID0) {<br>
+ case FloatTyID: {<br>
+ switch (ArgTypeID1) {<br>
+ case FloatTyID:<br>
+ return FFSig;<br>
+ case DoubleTyID:<br>
+ return FDSig;<br>
+ default:<br>
+ return FSig;<br>
+ }<br>
+ }<br>
+ case DoubleTyID: {<br>
+ switch (ArgTypeID1) {<br>
+ case FloatTyID:<br>
+ return DFSig;<br>
+ case DoubleTyID:<br>
+ return DDSig;<br>
+ default:<br>
+ return DSig;<br>
+ }<br>
+ }<br>
+ default:<br>
+ return NoSig;<br>
+ }<br>
+ }<br>
+ }<br>
+ llvm_unreachable("can't get here");<br>
+}<br>
+<br>
+// Figure out if we need float point based on the function
parameters.<br>
+// We need to move variables in and/or out of floating
point<br>
+// registers because of the ABI<br>
+//<br>
+static bool needsFPStubFromParams(Function &F) {<br>
+ if (F.arg_size() >=1) {<br>
+ Type *ArgType =
F.getFunctionType()->getParamType(0);<br>
+ switch (ArgType->getTypeID()) {<br>
+ case Type::FloatTyID:<br>
+ case Type::DoubleTyID:<br>
+ return true;<br>
+ default:<br>
+ break;<br>
+ }<br>
+ }<br>
+ return false;<br>
+}<br>
+<br>
+static bool needsFPReturnHelper(Function &F) {<br>
+ Type* RetType = F.getReturnType();<br>
+ return whichFPReturnVariant(RetType) != NoFPRet;<br>
+}<br>
+<br>
+static bool needsFPHelperFromSig(Function &F) {<br>
+ return needsFPStubFromParams(F) ||
needsFPReturnHelper(F);<br>
+}<br>
+<br>
+//<br>
+// We swap between FP and Integer registers to allow Mips16
and Mips32 to<br>
+// interoperate<br>
+//<br>
+<br>
+void swapFPIntParams(FPParamVariant PV, Module *M,
InlineAsmHelper &IAH,<br>
+ bool LE, bool ToFP) {<br>
+ //LLVMContext &Context = M->getContext();<br>
+ std::string MI = ToFP? "mtc1 ": "mfc1 ";<br>
+ switch (PV) {<br>
+ case FSig:<br>
+ IAH.Out(MI + "$$4,$$f12");<br>
+ break;<br>
+ case FFSig:<br>
+ IAH.Out(MI +"$$4,$$f12");<br>
+ IAH.Out(MI + "$$5,$$f14");<br>
+ break;<br>
+ case FDSig:<br>
+ IAH.Out(MI + "$$4,$$f12");<br>
+ if (LE) {<br>
+ IAH.Out(MI + "$$6,$$f14");<br>
+ IAH.Out(MI + "$$7,$$f15");<br>
+ } else {<br>
+ IAH.Out(MI + "$$7,$$f14");<br>
+ IAH.Out(MI + "$$6,$$f15");<br>
+ }<br>
+ break;<br>
+ case DSig:<br>
+ if (LE) {<br>
+ IAH.Out(MI + "$$4,$$f12");<br>
+ IAH.Out(MI + "$$5,$$f13");<br>
+ } else {<br>
+ IAH.Out(MI + "$$5,$$f12");<br>
+ IAH.Out(MI + "$$4,$$f13");<br>
+ }<br>
+ break;<br>
+ case DDSig:<br>
+ if (LE) {<br>
+ IAH.Out(MI + "$$4,$$f12");<br>
+ IAH.Out(MI + "$$5,$$f13");<br>
+ IAH.Out(MI + "$$6,$$f14");<br>
+ IAH.Out(MI + "$$7,$$f15");<br>
+ } else {<br>
+ IAH.Out(MI + "$$5,$$f12");<br>
+ IAH.Out(MI + "$$4,$$f13");<br>
+ IAH.Out(MI + "$$7,$$f14");<br>
+ IAH.Out(MI + "$$6,$$f15");<br>
+ }<br>
+ break;<br>
+ case DFSig:<br>
+ if (LE) {<br>
+ IAH.Out(MI + "$$4,$$f12");<br>
+ IAH.Out(MI + "$$5,$$f13");<br>
+ } else {<br>
+ IAH.Out(MI + "$$5,$$f12");<br>
+ IAH.Out(MI + "$$4,$$f13");<br>
+ }<br>
+ IAH.Out(MI + "$$6,$$f14");<br>
+ break;<br>
+ case NoSig:<br>
+ return;<br>
+ }<br>
+}<br>
+//<br>
+// Make sure that we know we already need a stub for this
function.<br>
+// Having called needsFPHelperFromSig<br>
+//<br>
+void assureFPCallStub(Function &F, Module *M, const
MipsSubtarget &Subtarget){<br>
+ // for now we only need them for static relocation<br>
+ if (!Subtarget.getRelocationModel() == Reloc::PIC_)<br>
+ return;<br>
+ LLVMContext &Context = M->getContext();<br>
+ bool LE = Subtarget.isLittle();<br>
+ std::string Name = F.getName();<br>
+ std::string SectionName = ".mips16.call.fp." + Name;<br>
+ std::string StubName = "__call_stub_" + Name;<br>
+ //<br>
+ // see if we already have the stub<br>
+ //<br>
+ Function *FStub = M->getFunction(StubName);<br>
+ if (FStub && !FStub->isDeclaration()) return;<br>
+ FStub = Function::Create(F.getFunctionType(),<br>
+ Function::InternalLinkage,
StubName, M);<br>
+ FStub->addFnAttr("mips16_fp_stub");<br>
+ FStub->addFnAttr(llvm::Attribute::Naked);<br>
+ FStub->addFnAttr(llvm::Attribute::NoUnwind);<br>
+ FStub->addFnAttr("nomips16");<br>
+ FStub->setSection(SectionName);<br>
+ BasicBlock *BB = BasicBlock::Create(Context, "entry",
FStub);<br>
+ InlineAsmHelper IAH(Context, BB);<br>
+ FPReturnVariant RV =
whichFPReturnVariant(FStub->getReturnType());<br>
+ FPParamVariant PV = whichFPParamVariantNeeded(F);<br>
+ swapFPIntParams(PV, M, IAH, LE, true);<br>
+ if (RV != NoFPRet) {<br>
+ IAH.Out("move $$18, $$31");<br>
+ IAH.Out("jal " + Name);<br>
+ } else {<br>
+ IAH.Out("lui $$25,%hi(" + Name + ")");<br>
+ IAH.Out("addiu $$25,$$25,%lo(" + Name + ")" );<br>
+ }<br>
+ switch (RV) {<br>
+ case FRet:<br>
+ IAH.Out("mfc1 $$2,$$f0");<br>
+ break;<br>
+ case DRet:<br>
+ if (LE) {<br>
+ IAH.Out("mfc1 $$2,$$f0");<br>
+ IAH.Out("mfc1 $$3,$$f1");<br>
+ } else {<br>
+ IAH.Out("mfc1 $$3,$$f0");<br>
+ IAH.Out("mfc1 $$2,$$f1");<br>
+ }<br>
+ break;<br>
+ case CFRet:<br>
+ if (LE) {<br>
+ IAH.Out("mfc1 $$2,$$f0");<br>
+ IAH.Out("mfc1 $$3,$$f2");<br>
+ } else {<br>
+ IAH.Out("mfc1 $$3,$$f0");<br>
+ IAH.Out("mfc1 $$3,$$f2");<br>
+ }<br>
+ break;<br>
+ case CDRet:<br>
+ if (LE) {<br>
+ IAH.Out("mfc1 $$4,$$f2");<br>
+ IAH.Out("mfc1 $$5,$$f3");<br>
+ IAH.Out("mfc1 $$2,$$f0");<br>
+ IAH.Out("mfc1 $$3,$$f1");<br>
+<br>
+ } else {<br>
+ IAH.Out("mfc1 $$5,$$f2");<br>
+ IAH.Out("mfc1 $$4,$$f3");<br>
+ IAH.Out("mfc1 $$3,$$f0");<br>
+ IAH.Out("mfc1 $$2,$$f1");<br>
+ }<br>
+ break;<br>
+ case NoFPRet:<br>
+ break;<br>
+ }<br>
+ if (RV != NoFPRet)<br>
+ IAH.Out("jr $$18");<br>
+ else<br>
+ IAH.Out("jr $$25");<br>
+ new UnreachableInst(Context, BB);<br>
+}<br>
+<br>
+//<br>
// Returns of float, double and complex need to be handled
with a helper<br>
// function. The "AndCal" part is coming in a later patch.<br>
//<br>
@@ -96,6 +361,16 @@ static bool fixupFPReturnAndCall<br>
Attribute::ReadNone);<br>
Value *F = (M->getOrInsertFunction(Name, A,
MyVoid, T, NULL));<br>
CallInst::Create(F, Params, "", &Inst );<br>
+ } else if (const CallInst *CI =
dyn_cast<CallInst>(I)) {<br>
+ // pic mode calls are handled by already defined<br>
+ // helper functions<br>
+ if (Subtarget.getRelocationModel() != Reloc::PIC_
) {<br>
+ Function *F_ = CI->getCalledFunction();<br>
+ if (F_ && needsFPHelperFromSig(*F_)) {<br>
+ assureFPCallStub(*F_, M, Subtarget);<br>
+ Modified=true;<br>
+ }<br>
+ }<br>
}<br>
}<br>
return Modified;<br>
<br>
Added: llvm/trunk/test/CodeGen/Mips/hf16call32.ll<br>
URL: <a moz-do-not-send="true"
href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/hf16call32.ll?rev=181753&view=auto"
target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/hf16call32.ll?rev=181753&view=auto</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/Mips/hf16call32.ll (added)<br>
+++ llvm/trunk/test/CodeGen/Mips/hf16call32.ll Mon May 13
21:00:24 2013<br>
@@ -0,0 +1,1028 @@<br>
+; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel
-mcpu=mips16 -soft-float -mips16-hard-float
-relocation-model=static < %s | FileCheck %s
-check-prefix=stel<br>
+<br>
+@x = common global float 0.000000e+00, align 4<br>
+@y = common global float 0.000000e+00, align 4<br>
+@xd = common global double 0.000000e+00, align 8<br>
+@yd = common global double 0.000000e+00, align 8<br>
+@xy = common global { float, float } zeroinitializer, align
4<br>
+@xyd = common global { double, double } zeroinitializer,
align 8<br>
+@ret_sf = common global float 0.000000e+00, align 4<br>
+@ret_df = common global double 0.000000e+00, align 8<br>
+@ret_sc = common global { float, float } zeroinitializer,
align 4<br>
+@ret_dc = common global { double, double } zeroinitializer,
align 8<br>
+@lx = common global float 0.000000e+00, align 4<br>
+@ly = common global float 0.000000e+00, align 4<br>
+@lxd = common global double 0.000000e+00, align 8<br>
+@lyd = common global double 0.000000e+00, align 8<br>
+@lxy = common global { float, float } zeroinitializer,
align 4<br>
+@lxyd = common global { double, double } zeroinitializer,
align 8<br>
+@lret_sf = common global float 0.000000e+00, align 4<br>
+@lret_df = common global double 0.000000e+00, align 8<br>
+@lret_sc = common global { float, float } zeroinitializer,
align 4<br>
+@lret_dc = common global { double, double }
zeroinitializer, align 8<br>
+@.str = private unnamed_addr constant [10 x i8] c"%f %f
%i\0A\00", align 1<br>
+@.str1 = private unnamed_addr constant [16 x i8] c"%f=%f
%f=%f %i\0A\00", align 1<br>
+@.str2 = private unnamed_addr constant [22 x i8] c"%f=%f
%f=%f %f=%f %i\0A\00", align 1<br>
+@.str3 = private unnamed_addr constant [18 x i8]
c"%f+%fi=%f+%fi %i\0A\00", align 1<br>
+@.str4 = private unnamed_addr constant [24 x i8]
c"%f+%fi=%f+%fi %f=%f %i\0A\00", align 1<br>
+<br>
+; Function Attrs: nounwind<br>
+define void @clear() #0 {<br>
+entry:<br>
+ store float 1.000000e+00, float* @x, align 4<br>
+ store float 1.000000e+00, float* @y, align 4<br>
+ store double 1.000000e+00, double* @xd, align 8<br>
+ store double 1.000000e+00, double* @yd, align 8<br>
+ store float 1.000000e+00, float* getelementptr inbounds
({ float, float }* @xy, i32 0, i32 0)<br>
+ store float 0.000000e+00, float* getelementptr inbounds
({ float, float }* @xy, i32 0, i32 1)<br>
+ store double 1.000000e+00, double* getelementptr inbounds
({ double, double }* @xyd, i32 0, i32 0)<br>
+ store double 0.000000e+00, double* getelementptr inbounds
({ double, double }* @xyd, i32 0, i32 1)<br>
+ store float 1.000000e+00, float* @ret_sf, align 4<br>
+ store double 1.000000e+00, double* @ret_df, align 8<br>
+ store float 1.000000e+00, float* getelementptr inbounds
({ float, float }* @ret_sc, i32 0, i32 0)<br>
+ store float 0.000000e+00, float* getelementptr inbounds
({ float, float }* @ret_sc, i32 0, i32 1)<br>
+ store double 1.000000e+00, double* getelementptr inbounds
({ double, double }* @ret_dc, i32 0, i32 0)<br>
+ store double 0.000000e+00, double* getelementptr inbounds
({ double, double }* @ret_dc, i32 0, i32 1)<br>
+ store float 0.000000e+00, float* @lx, align 4<br>
+ store float 0.000000e+00, float* @ly, align 4<br>
+ store double 0.000000e+00, double* @lxd, align 8<br>
+ store double 0.000000e+00, double* @lyd, align 8<br>
+ store float 0.000000e+00, float* getelementptr inbounds
({ float, float }* @lxy, i32 0, i32 0)<br>
+ store float 0.000000e+00, float* getelementptr inbounds
({ float, float }* @lxy, i32 0, i32 1)<br>
+ store double 0.000000e+00, double* getelementptr inbounds
({ double, double }* @lxyd, i32 0, i32 0)<br>
+ store double 0.000000e+00, double* getelementptr inbounds
({ double, double }* @lxyd, i32 0, i32 1)<br>
+ store float 0.000000e+00, float* @lret_sf, align 4<br>
+ store double 0.000000e+00, double* @lret_df, align 8<br>
+ store float 0.000000e+00, float* getelementptr inbounds
({ float, float }* @lret_sc, i32 0, i32 0)<br>
+ store float 0.000000e+00, float* getelementptr inbounds
({ float, float }* @lret_sc, i32 0, i32 1)<br>
+ store double 0.000000e+00, double* getelementptr inbounds
({ double, double }* @lret_dc, i32 0, i32 0)<br>
+ store double 0.000000e+00, double* getelementptr inbounds
({ double, double }* @lret_dc, i32 0, i32 1)<br>
+ ret void<br>
+}<br>
+<br>
+; Function Attrs: nounwind<br>
+define i32 @main() #0 {<br>
+entry:<br>
+ %retval = alloca i32, align 4<br>
+ store i32 0, i32* %retval<br>
+ call void @clear()<br>
+ store float 1.500000e+00, float* @lx, align 4<br>
+ %0 = load float* @lx, align 4<br>
+ call void @v_sf(float %0)<br>
+ %1 = load float* @x, align 4<br>
+ %conv = fpext float %1 to double<br>
+ %2 = load float* @lx, align 4<br>
+ %conv1 = fpext float %2 to double<br>
+ %3 = load float* @x, align 4<br>
+ %4 = load float* @lx, align 4<br>
+ %cmp = fcmp oeq float %3, %4<br>
+ %conv2 = zext i1 %cmp to i32<br>
+ %call = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([10 x i8]* @.str, i32 0, i32 0), double %conv,
double %conv1, i32 %conv2)<br>
+ call void @clear()<br>
+ store double 0x41678C29C0000000, double* @lxd, align 8<br>
+ %5 = load double* @lxd, align 8<br>
+ call void @v_df(double %5)<br>
+ %6 = load double* @xd, align 8<br>
+ %7 = load double* @lxd, align 8<br>
+ %8 = load double* @xd, align 8<br>
+ %9 = load double* @lxd, align 8<br>
+ %cmp3 = fcmp oeq double %8, %9<br>
+ %conv4 = zext i1 %cmp3 to i32<br>
+ %call5 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([10 x i8]* @.str, i32 0, i32 0), double %6, double
%7, i32 %conv4)<br>
+ call void @clear()<br>
+ store float 9.000000e+00, float* @lx, align 4<br>
+ store float 1.000000e+01, float* @ly, align 4<br>
+ %10 = load float* @lx, align 4<br>
+ %11 = load float* @ly, align 4<br>
+ call void @v_sf_sf(float %10, float %11)<br>
+ %12 = load float* @x, align 4<br>
+ %conv6 = fpext float %12 to double<br>
+ %13 = load float* @lx, align 4<br>
+ %conv7 = fpext float %13 to double<br>
+ %14 = load float* @y, align 4<br>
+ %conv8 = fpext float %14 to double<br>
+ %15 = load float* @ly, align 4<br>
+ %conv9 = fpext float %15 to double<br>
+ %16 = load float* @x, align 4<br>
+ %17 = load float* @lx, align 4<br>
+ %cmp10 = fcmp oeq float %16, %17<br>
+ br i1 %cmp10, label %land.rhs, label %land.end<br>
+<br>
+land.rhs: ; preds =
%entry<br>
+ %18 = load float* @y, align 4<br>
+ %19 = load float* @ly, align 4<br>
+ %cmp12 = fcmp oeq float %18, %19<br>
+ br label %land.end<br>
+<br>
+land.end: ; preds =
%land.rhs, %entry<br>
+ %20 = phi i1 [ false, %entry ], [ %cmp12, %land.rhs ]<br>
+ %land.ext = zext i1 %20 to i32<br>
+ %call14 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([16 x i8]* @.str1, i32 0, i32 0), double %conv6,
double %conv7, double %conv8, double %conv9, i32 %land.ext)<br>
+ call void @clear()<br>
+ store float 0x3FFE666660000000, float* @lx, align 4<br>
+ store double 0x4007E613249FF279, double* @lyd, align 8<br>
+ %21 = load float* @lx, align 4<br>
+ %22 = load double* @lyd, align 8<br>
+ call void @v_sf_df(float %21, double %22)<br>
+ %23 = load float* @x, align 4<br>
+ %conv15 = fpext float %23 to double<br>
+ %24 = load float* @lx, align 4<br>
+ %conv16 = fpext float %24 to double<br>
+ %25 = load double* @yd, align 8<br>
+ %26 = load double* @lyd, align 8<br>
+ %27 = load float* @x, align 4<br>
+ %28 = load float* @lx, align 4<br>
+ %cmp17 = fcmp oeq float %27, %28<br>
+ %conv18 = zext i1 %cmp17 to i32<br>
+ %29 = load double* @yd, align 8<br>
+ %30 = load double* @lyd, align 8<br>
+ %cmp19 = fcmp oeq double %29, %30<br>
+ %conv20 = zext i1 %cmp19 to i32<br>
+ %and = and i32 %conv18, %conv20<br>
+ %call21 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([16 x i8]* @.str1, i32 0, i32 0), double %conv15,
double %conv16, double %25, double %26, i32 %and)<br>
+ call void @clear()<br>
+ store double 0x4194E54F94000000, double* @lxd, align 8<br>
+ store float 7.600000e+01, float* @ly, align 4<br>
+ %31 = load double* @lxd, align 8<br>
+ %32 = load float* @ly, align 4<br>
+ call void @v_df_sf(double %31, float %32)<br>
+ %33 = load double* @xd, align 8<br>
+ %34 = load double* @lxd, align 8<br>
+ %35 = load float* @y, align 4<br>
+ %conv22 = fpext float %35 to double<br>
+ %36 = load float* @ly, align 4<br>
+ %conv23 = fpext float %36 to double<br>
+ %37 = load double* @xd, align 8<br>
+ %38 = load double* @lxd, align 8<br>
+ %cmp24 = fcmp oeq double %37, %38<br>
+ %conv25 = zext i1 %cmp24 to i32<br>
+ %39 = load float* @y, align 4<br>
+ %40 = load float* @ly, align 4<br>
+ %cmp26 = fcmp oeq float %39, %40<br>
+ %conv27 = zext i1 %cmp26 to i32<br>
+ %and28 = and i32 %conv25, %conv27<br>
+ %call29 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([16 x i8]* @.str1, i32 0, i32 0), double %33,
double %34, double %conv22, double %conv23, i32 %and28)<br>
+ call void @clear()<br>
+ store double 7.365198e+07, double* @lxd, align 8<br>
+ store double 0x416536CD80000000, double* @lyd, align 8<br>
+ %41 = load double* @lxd, align 8<br>
+ %42 = load double* @lyd, align 8<br>
+ call void @v_df_df(double %41, double %42)<br>
+ %43 = load double* @xd, align 8<br>
+ %44 = load double* @lxd, align 8<br>
+ %45 = load double* @yd, align 8<br>
+ %46 = load double* @lyd, align 8<br>
+ %47 = load double* @xd, align 8<br>
+ %48 = load double* @lxd, align 8<br>
+ %cmp30 = fcmp oeq double %47, %48<br>
+ %conv31 = zext i1 %cmp30 to i32<br>
+ %49 = load double* @yd, align 8<br>
+ %50 = load double* @lyd, align 8<br>
+ %cmp32 = fcmp oeq double %49, %50<br>
+ %conv33 = zext i1 %cmp32 to i32<br>
+ %and34 = and i32 %conv31, %conv33<br>
+ %call35 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([16 x i8]* @.str1, i32 0, i32 0), double %43,
double %44, double %45, double %46, i32 %and34)<br>
+ call void @clear()<br>
+ store float 0x4016666660000000, float* @ret_sf, align 4<br>
+ %call36 = call float @sf_v()<br>
+ store float %call36, float* @lret_sf, align 4<br>
+ %51 = load float* @ret_sf, align 4<br>
+ %conv37 = fpext float %51 to double<br>
+ %52 = load float* @lret_sf, align 4<br>
+ %conv38 = fpext float %52 to double<br>
+ %53 = load float* @ret_sf, align 4<br>
+ %54 = load float* @lret_sf, align 4<br>
+ %cmp39 = fcmp oeq float %53, %54<br>
+ %conv40 = zext i1 %cmp39 to i32<br>
+ %call41 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([10 x i8]* @.str, i32 0, i32 0), double %conv37,
double %conv38, i32 %conv40)<br>
+ call void @clear()<br>
+ store float 4.587300e+06, float* @ret_sf, align 4<br>
+ store float 3.420000e+02, float* @lx, align 4<br>
+ %55 = load float* @lx, align 4<br>
+ %call42 = call float @sf_sf(float %55)<br>
+ store float %call42, float* @lret_sf, align 4<br>
+ %56 = load float* @ret_sf, align 4<br>
+ %conv43 = fpext float %56 to double<br>
+ %57 = load float* @lret_sf, align 4<br>
+ %conv44 = fpext float %57 to double<br>
+ %58 = load float* @x, align 4<br>
+ %conv45 = fpext float %58 to double<br>
+ %59 = load float* @lx, align 4<br>
+ %conv46 = fpext float %59 to double<br>
+ %60 = load float* @ret_sf, align 4<br>
+ %61 = load float* @lret_sf, align 4<br>
+ %cmp47 = fcmp oeq float %60, %61<br>
+ %conv48 = zext i1 %cmp47 to i32<br>
+ %62 = load float* @x, align 4<br>
+ %63 = load float* @lx, align 4<br>
+ %cmp49 = fcmp oeq float %62, %63<br>
+ %conv50 = zext i1 %cmp49 to i32<br>
+ %and51 = and i32 %conv48, %conv50<br>
+ %call52 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([16 x i8]* @.str1, i32 0, i32 0), double %conv43,
double %conv44, double %conv45, double %conv46, i32 %and51)<br>
+ call void @clear()<br>
+ store float 4.445910e+06, float* @ret_sf, align 4<br>
+ store double 0x419A7DB294000000, double* @lxd, align 8<br>
+ %64 = load double* @lxd, align 8<br>
+ %call53 = call float @sf_df(double %64)<br>
+ store float %call53, float* @lret_sf, align 4<br>
+ %65 = load float* @ret_sf, align 4<br>
+ %conv54 = fpext float %65 to double<br>
+ %66 = load float* @lret_sf, align 4<br>
+ %conv55 = fpext float %66 to double<br>
+ %67 = load double* @xd, align 8<br>
+ %68 = load double* @lxd, align 8<br>
+ %69 = load float* @ret_sf, align 4<br>
+ %70 = load float* @lret_sf, align 4<br>
+ %cmp56 = fcmp oeq float %69, %70<br>
+ %conv57 = zext i1 %cmp56 to i32<br>
+ %71 = load double* @xd, align 8<br>
+ %72 = load double* @lxd, align 8<br>
+ %cmp58 = fcmp oeq double %71, %72<br>
+ %conv59 = zext i1 %cmp58 to i32<br>
+ %and60 = and i32 %conv57, %conv59<br>
+ %call61 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([16 x i8]* @.str1, i32 0, i32 0), double %conv54,
double %conv55, double %67, double %68, i32 %and60)<br>
+ call void @clear()<br>
+ store float 0x3FFF4BC6A0000000, float* @ret_sf, align 4<br>
+ store float 4.445500e+03, float* @lx, align 4<br>
+ store float 0x4068ACCCC0000000, float* @ly, align 4<br>
+ %73 = load float* @lx, align 4<br>
+ %74 = load float* @ly, align 4<br>
+ %call62 = call float @sf_sf_sf(float %73, float %74)<br>
+ store float %call62, float* @lret_sf, align 4<br>
+ %75 = load float* @ret_sf, align 4<br>
+ %conv63 = fpext float %75 to double<br>
+ %76 = load float* @lret_sf, align 4<br>
+ %conv64 = fpext float %76 to double<br>
+ %77 = load float* @x, align 4<br>
+ %conv65 = fpext float %77 to double<br>
+ %78 = load float* @lx, align 4<br>
+ %conv66 = fpext float %78 to double<br>
+ %79 = load float* @y, align 4<br>
+ %conv67 = fpext float %79 to double<br>
+ %80 = load float* @ly, align 4<br>
+ %conv68 = fpext float %80 to double<br>
+ %81 = load float* @ret_sf, align 4<br>
+ %82 = load float* @lret_sf, align 4<br>
+ %cmp69 = fcmp oeq float %81, %82<br>
+ br i1 %cmp69, label %land.lhs.true, label %land.end76<br>
+<br>
+land.lhs.true: ; preds =
%land.end<br>
+ %83 = load float* @x, align 4<br>
+ %84 = load float* @lx, align 4<br>
+ %cmp71 = fcmp oeq float %83, %84<br>
+ br i1 %cmp71, label %land.rhs73, label %land.end76<br>
+<br>
+land.rhs73: ; preds =
%land.lhs.true<br>
+ %85 = load float* @y, align 4<br>
+ %86 = load float* @ly, align 4<br>
+ %cmp74 = fcmp oeq float %85, %86<br>
+ br label %land.end76<br>
+<br>
+land.end76: ; preds =
%land.rhs73, %land.lhs.true, %land.end<br>
+ %87 = phi i1 [ false, %land.lhs.true ], [ false,
%land.end ], [ %cmp74, %land.rhs73 ]<br>
+ %land.ext77 = zext i1 %87 to i32<br>
+ %call78 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([22 x i8]* @.str2, i32 0, i32 0), double %conv63,
double %conv64, double %conv65, double %conv66, double
%conv67, double %conv68, i32 %land.ext77)<br>
+ call void @clear()<br>
+ store float 9.991300e+04, float* @ret_sf, align 4<br>
+ store float 1.114500e+04, float* @lx, align 4<br>
+ store double 9.994445e+07, double* @lyd, align 8<br>
+ %88 = load float* @lx, align 4<br>
+ %89 = load double* @lyd, align 8<br>
+ %call79 = call float @sf_sf_df(float %88, double %89)<br>
+ store float %call79, float* @lret_sf, align 4<br>
+ %90 = load float* @ret_sf, align 4<br>
+ %conv80 = fpext float %90 to double<br>
+ %91 = load float* @lret_sf, align 4<br>
+ %conv81 = fpext float %91 to double<br>
+ %92 = load float* @x, align 4<br>
+ %conv82 = fpext float %92 to double<br>
+ %93 = load float* @lx, align 4<br>
+ %conv83 = fpext float %93 to double<br>
+ %94 = load double* @yd, align 8<br>
+ %95 = load double* @lyd, align 8<br>
+ %96 = load float* @ret_sf, align 4<br>
+ %97 = load float* @lret_sf, align 4<br>
+ %cmp84 = fcmp oeq float %96, %97<br>
+ br i1 %cmp84, label %land.lhs.true86, label %land.end92<br>
+<br>
+land.lhs.true86: ; preds =
%land.end76<br>
+ %98 = load float* @x, align 4<br>
+ %99 = load float* @lx, align 4<br>
+ %cmp87 = fcmp oeq float %98, %99<br>
+ br i1 %cmp87, label %land.rhs89, label %land.end92<br>
+<br>
+land.rhs89: ; preds =
%land.lhs.true86<br>
+ %100 = load double* @yd, align 8<br>
+ %101 = load double* @lyd, align 8<br>
+ %cmp90 = fcmp oeq double %100, %101<br>
+ br label %land.end92<br>
+<br>
+land.end92: ; preds =
%land.rhs89, %land.lhs.true86, %land.end76<br>
+ %102 = phi i1 [ false, %land.lhs.true86 ], [ false,
%land.end76 ], [ %cmp90, %land.rhs89 ]<br>
+ %land.ext93 = zext i1 %102 to i32<br>
+ %call94 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([22 x i8]* @.str2, i32 0, i32 0), double %conv80,
double %conv81, double %conv82, double %conv83, double %94,
double %95, i32 %land.ext93)<br>
+ call void @clear()<br>
+ store float 0x417CCC7A00000000, float* @ret_sf, align 4<br>
+ store double 0x4172034530000000, double* @lxd, align 8<br>
+ store float 4.456200e+04, float* @ly, align 4<br>
+ %103 = load double* @lxd, align 8<br>
+ %104 = load float* @ly, align 4<br>
+ %call95 = call float @sf_df_sf(double %103, float %104)<br>
+ store float %call95, float* @lret_sf, align 4<br>
+ %105 = load float* @ret_sf, align 4<br>
+ %conv96 = fpext float %105 to double<br>
+ %106 = load float* @lret_sf, align 4<br>
+ %conv97 = fpext float %106 to double<br>
+ %107 = load double* @xd, align 8<br>
+ %108 = load double* @lxd, align 8<br>
+ %109 = load float* @y, align 4<br>
+ %conv98 = fpext float %109 to double<br>
+ %110 = load float* @ly, align 4<br>
+ %conv99 = fpext float %110 to double<br>
+ %111 = load float* @ret_sf, align 4<br>
+ %112 = load float* @lret_sf, align 4<br>
+ %cmp100 = fcmp oeq float %111, %112<br>
+ br i1 %cmp100, label %land.lhs.true102, label
%land.end108<br>
+<br>
+land.lhs.true102: ; preds =
%land.end92<br>
+ %113 = load double* @xd, align 8<br>
+ %114 = load double* @lxd, align 8<br>
+ %cmp103 = fcmp oeq double %113, %114<br>
+ br i1 %cmp103, label %land.rhs105, label %land.end108<br>
+<br>
+land.rhs105: ; preds =
%land.lhs.true102<br>
+ %115 = load float* @y, align 4<br>
+ %116 = load float* @ly, align 4<br>
+ %cmp106 = fcmp oeq float %115, %116<br>
+ br label %land.end108<br>
+<br>
+land.end108: ; preds =
%land.rhs105, %land.lhs.true102, %land.end92<br>
+ %117 = phi i1 [ false, %land.lhs.true102 ], [ false,
%land.end92 ], [ %cmp106, %land.rhs105 ]<br>
+ %land.ext109 = zext i1 %117 to i32<br>
+ %call110 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([22 x i8]* @.str2, i32 0, i32 0), double %conv96,
double %conv97, double %107, double %108, double %conv98,
double %conv99, i32 %land.ext109)<br>
+ call void @clear()<br>
+ store float 3.987721e+06, float* @ret_sf, align 4<br>
+ store double 0x3FF1F49F6DDDC2D8, double* @lxd, align 8<br>
+ store double 0x409129F306A2B170, double* @lyd, align 8<br>
+ %118 = load double* @lxd, align 8<br>
+ %119 = load double* @lyd, align 8<br>
+ %call111 = call float @sf_df_df(double %118, double %119)<br>
+ store float %call111, float* @lret_sf, align 4<br>
+ %120 = load float* @ret_sf, align 4<br>
+ %conv112 = fpext float %120 to double<br>
+ %121 = load float* @lret_sf, align 4<br>
+ %conv113 = fpext float %121 to double<br>
+ %122 = load double* @xd, align 8<br>
+ %123 = load double* @lxd, align 8<br>
+ %124 = load double* @yd, align 8<br>
+ %125 = load double* @lyd, align 8<br>
+ %126 = load float* @ret_sf, align 4<br>
+ %127 = load float* @lret_sf, align 4<br>
+ %cmp114 = fcmp oeq float %126, %127<br>
+ br i1 %cmp114, label %land.lhs.true116, label
%land.end122<br>
+<br>
+land.lhs.true116: ; preds =
%land.end108<br>
+ %128 = load double* @xd, align 8<br>
+ %129 = load double* @lxd, align 8<br>
+ %cmp117 = fcmp oeq double %128, %129<br>
+ br i1 %cmp117, label %land.rhs119, label %land.end122<br>
+<br>
+land.rhs119: ; preds =
%land.lhs.true116<br>
+ %130 = load double* @yd, align 8<br>
+ %131 = load double* @lyd, align 8<br>
+ %cmp120 = fcmp oeq double %130, %131<br>
+ br label %land.end122<br>
+<br>
+land.end122: ; preds =
%land.rhs119, %land.lhs.true116, %land.end108<br>
+ %132 = phi i1 [ false, %land.lhs.true116 ], [ false,
%land.end108 ], [ %cmp120, %land.rhs119 ]<br>
+ %land.ext123 = zext i1 %132 to i32<br>
+ %call124 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([22 x i8]* @.str2, i32 0, i32 0), double %conv112,
double %conv113, double %122, double %123, double %124,
double %125, i32 %land.ext123)<br>
+ call void @clear()<br>
+ store double 1.561234e+01, double* @ret_df, align 8<br>
+ %call125 = call double @df_v()<br>
+ store double %call125, double* @lret_df, align 8<br>
+ %133 = load double* @ret_df, align 8<br>
+ %134 = load double* @lret_df, align 8<br>
+ %135 = load double* @ret_df, align 8<br>
+ %136 = load double* @lret_df, align 8<br>
+ %cmp126 = fcmp oeq double %135, %136<br>
+ %conv127 = zext i1 %cmp126 to i32<br>
+ %call128 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([10 x i8]* @.str, i32 0, i32 0), double %133,
double %134, i32 %conv127)<br>
+ call void @clear()<br>
+ store double 1.345873e+01, double* @ret_df, align 8<br>
+ store float 3.434520e+05, float* @lx, align 4<br>
+ %137 = load float* @lx, align 4<br>
+ %call129 = call double @df_sf(float %137)<br>
+ store double %call129, double* @lret_df, align 8<br>
+ %138 = load double* @ret_df, align 8<br>
+ %139 = load double* @lret_df, align 8<br>
+ %140 = load float* @x, align 4<br>
+ %conv130 = fpext float %140 to double<br>
+ %141 = load float* @lx, align 4<br>
+ %conv131 = fpext float %141 to double<br>
+ %142 = load double* @ret_df, align 8<br>
+ %143 = load double* @lret_df, align 8<br>
+ %cmp132 = fcmp oeq double %142, %143<br>
+ %conv133 = zext i1 %cmp132 to i32<br>
+ %144 = load float* @x, align 4<br>
+ %145 = load float* @lx, align 4<br>
+ %cmp134 = fcmp oeq float %144, %145<br>
+ %conv135 = zext i1 %cmp134 to i32<br>
+ %and136 = and i32 %conv133, %conv135<br>
+ %call137 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([16 x i8]* @.str1, i32 0, i32 0), double %138,
double %139, double %conv130, double %conv131, i32 %and136)<br>
+ call void @clear()<br>
+ store double 0x4084F3AB7AA25D8D, double* @ret_df, align 8<br>
+ store double 0x4114F671D2F1A9FC, double* @lxd, align 8<br>
+ %146 = load double* @lxd, align 8<br>
+ %call138 = call double @df_df(double %146)<br>
+ store double %call138, double* @lret_df, align 8<br>
+ %147 = load double* @ret_df, align 8<br>
+ %148 = load double* @lret_df, align 8<br>
+ %149 = load double* @xd, align 8<br>
+ %150 = load double* @lxd, align 8<br>
+ %151 = load double* @ret_df, align 8<br>
+ %152 = load double* @lret_df, align 8<br>
+ %cmp139 = fcmp oeq double %151, %152<br>
+ %conv140 = zext i1 %cmp139 to i32<br>
+ %153 = load double* @xd, align 8<br>
+ %154 = load double* @lxd, align 8<br>
+ %cmp141 = fcmp oeq double %153, %154<br>
+ %conv142 = zext i1 %cmp141 to i32<br>
+ %and143 = and i32 %conv140, %conv142<br>
+ %call144 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([16 x i8]* @.str1, i32 0, i32 0), double %147,
double %148, double %149, double %150, i32 %and143)<br>
+ call void @clear()<br>
+ store double 6.781956e+03, double* @ret_df, align 8<br>
+ store float 4.445500e+03, float* @lx, align 4<br>
+ store float 0x4068ACCCC0000000, float* @ly, align 4<br>
+ %155 = load float* @lx, align 4<br>
+ %156 = load float* @ly, align 4<br>
+ %call145 = call double @df_sf_sf(float %155, float %156)<br>
+ store double %call145, double* @lret_df, align 8<br>
+ %157 = load double* @ret_df, align 8<br>
+ %158 = load double* @lret_df, align 8<br>
+ %159 = load float* @x, align 4<br>
+ %conv146 = fpext float %159 to double<br>
+ %160 = load float* @lx, align 4<br>
+ %conv147 = fpext float %160 to double<br>
+ %161 = load float* @y, align 4<br>
+ %conv148 = fpext float %161 to double<br>
+ %162 = load float* @ly, align 4<br>
+ %conv149 = fpext float %162 to double<br>
+ %163 = load double* @ret_df, align 8<br>
+ %164 = load double* @lret_df, align 8<br>
+ %cmp150 = fcmp oeq double %163, %164<br>
+ br i1 %cmp150, label %land.lhs.true152, label
%land.end158<br>
+<br>
+land.lhs.true152: ; preds =
%land.end122<br>
+ %165 = load float* @x, align 4<br>
+ %166 = load float* @lx, align 4<br>
+ %cmp153 = fcmp oeq float %165, %166<br>
+ br i1 %cmp153, label %land.rhs155, label %land.end158<br>
+<br>
+land.rhs155: ; preds =
%land.lhs.true152<br>
+ %167 = load float* @y, align 4<br>
+ %168 = load float* @ly, align 4<br>
+ %cmp156 = fcmp oeq float %167, %168<br>
+ br label %land.end158<br>
+<br>
+land.end158: ; preds =
%land.rhs155, %land.lhs.true152, %land.end122<br>
+ %169 = phi i1 [ false, %land.lhs.true152 ], [ false,
%land.end122 ], [ %cmp156, %land.rhs155 ]<br>
+ %land.ext159 = zext i1 %169 to i32<br>
+ %call160 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([22 x i8]* @.str2, i32 0, i32 0), double %157,
double %158, double %conv146, double %conv147, double
%conv148, double %conv149, i32 %land.ext159)<br>
+ call void @clear()<br>
+ store double 1.889130e+05, double* @ret_df, align 8<br>
+ store float 9.111450e+05, float* @lx, align 4<br>
+ store double 0x4185320A58000000, double* @lyd, align 8<br>
+ %170 = load float* @lx, align 4<br>
+ %171 = load double* @lyd, align 8<br>
+ %call161 = call double @df_sf_df(float %170, double %171)<br>
+ store double %call161, double* @lret_df, align 8<br>
+ %172 = load double* @ret_df, align 8<br>
+ %173 = load double* @lret_df, align 8<br>
+ %174 = load float* @x, align 4<br>
+ %conv162 = fpext float %174 to double<br>
+ %175 = load float* @lx, align 4<br>
+ %conv163 = fpext float %175 to double<br>
+ %176 = load double* @yd, align 8<br>
+ %177 = load double* @lyd, align 8<br>
+ %178 = load double* @ret_df, align 8<br>
+ %179 = load double* @lret_df, align 8<br>
+ %cmp164 = fcmp oeq double %178, %179<br>
+ br i1 %cmp164, label %land.lhs.true166, label
%land.end172<br>
+<br>
+land.lhs.true166: ; preds =
%land.end158<br>
+ %180 = load float* @x, align 4<br>
+ %181 = load float* @lx, align 4<br>
+ %cmp167 = fcmp oeq float %180, %181<br>
+ br i1 %cmp167, label %land.rhs169, label %land.end172<br>
+<br>
+land.rhs169: ; preds =
%land.lhs.true166<br>
+ %182 = load double* @yd, align 8<br>
+ %183 = load double* @lyd, align 8<br>
+ %cmp170 = fcmp oeq double %182, %183<br>
+ br label %land.end172<br>
+<br>
+land.end172: ; preds =
%land.rhs169, %land.lhs.true166, %land.end158<br>
+ %184 = phi i1 [ false, %land.lhs.true166 ], [ false,
%land.end158 ], [ %cmp170, %land.rhs169 ]<br>
+ %land.ext173 = zext i1 %184 to i32<br>
+ %call174 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([22 x i8]* @.str2, i32 0, i32 0), double %172,
double %173, double %conv162, double %conv163, double %176,
double %177, i32 %land.ext173)<br>
+ call void @clear()<br>
+ store double 0x418B2DB900000000, double* @ret_df, align 8<br>
+ store double 0x41B1EF2ED3000000, double* @lxd, align 8<br>
+ store float 1.244562e+06, float* @ly, align 4<br>
+ %185 = load double* @lxd, align 8<br>
+ %186 = load float* @ly, align 4<br>
+ %call175 = call double @df_df_sf(double %185, float %186)<br>
+ store double %call175, double* @lret_df, align 8<br>
+ %187 = load double* @ret_df, align 8<br>
+ %188 = load double* @lret_df, align 8<br>
+ %189 = load double* @xd, align 8<br>
+ %190 = load double* @lxd, align 8<br>
+ %191 = load float* @y, align 4<br>
+ %conv176 = fpext float %191 to double<br>
+ %192 = load float* @ly, align 4<br>
+ %conv177 = fpext float %192 to double<br>
+ %193 = load double* @ret_df, align 8<br>
+ %194 = load double* @lret_df, align 8<br>
+ %cmp178 = fcmp oeq double %193, %194<br>
+ br i1 %cmp178, label %land.lhs.true180, label
%land.end186<br>
+<br>
+land.lhs.true180: ; preds =
%land.end172<br>
+ %195 = load double* @xd, align 8<br>
+ %196 = load double* @lxd, align 8<br>
+ %cmp181 = fcmp oeq double %195, %196<br>
+ br i1 %cmp181, label %land.rhs183, label %land.end186<br>
+<br>
+land.rhs183: ; preds =
%land.lhs.true180<br>
+ %197 = load float* @y, align 4<br>
+ %198 = load float* @ly, align 4<br>
+ %cmp184 = fcmp oeq float %197, %198<br>
+ br label %land.end186<br>
+<br>
+land.end186: ; preds =
%land.rhs183, %land.lhs.true180, %land.end172<br>
+ %199 = phi i1 [ false, %land.lhs.true180 ], [ false,
%land.end172 ], [ %cmp184, %land.rhs183 ]<br>
+ %land.ext187 = zext i1 %199 to i32<br>
+ %call188 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([22 x i8]* @.str2, i32 0, i32 0), double %187,
double %188, double %189, double %190, double %conv176,
double %conv177, i32 %land.ext187)<br>
+ call void @clear()<br>
+ store double 3.987721e+06, double* @ret_df, align 8<br>
+ store double 5.223560e+00, double* @lxd, align 8<br>
+ store double 0x40B7D37CC1A8AC5C, double* @lyd, align 8<br>
+ %200 = load double* @lxd, align 8<br>
+ %201 = load double* @lyd, align 8<br>
+ %call189 = call double @df_df_df(double %200, double
%201)<br>
+ store double %call189, double* @lret_df, align 8<br>
+ %202 = load double* @ret_df, align 8<br>
+ %203 = load double* @lret_df, align 8<br>
+ %204 = load double* @xd, align 8<br>
+ %205 = load double* @lxd, align 8<br>
+ %206 = load double* @yd, align 8<br>
+ %207 = load double* @lyd, align 8<br>
+ %208 = load double* @ret_df, align 8<br>
+ %209 = load double* @lret_df, align 8<br>
+ %cmp190 = fcmp oeq double %208, %209<br>
+ br i1 %cmp190, label %land.lhs.true192, label
%land.end198<br>
+<br>
+land.lhs.true192: ; preds =
%land.end186<br>
+ %210 = load double* @xd, align 8<br>
+ %211 = load double* @lxd, align 8<br>
+ %cmp193 = fcmp oeq double %210, %211<br>
+ br i1 %cmp193, label %land.rhs195, label %land.end198<br>
+<br>
+land.rhs195: ; preds =
%land.lhs.true192<br>
+ %212 = load double* @yd, align 8<br>
+ %213 = load double* @lyd, align 8<br>
+ %cmp196 = fcmp oeq double %212, %213<br>
+ br label %land.end198<br>
+<br>
+land.end198: ; preds =
%land.rhs195, %land.lhs.true192, %land.end186<br>
+ %214 = phi i1 [ false, %land.lhs.true192 ], [ false,
%land.end186 ], [ %cmp196, %land.rhs195 ]<br>
+ %land.ext199 = zext i1 %214 to i32<br>
+ %call200 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([22 x i8]* @.str2, i32 0, i32 0), double %202,
double %203, double %204, double %205, double %206, double
%207, i32 %land.ext199)<br>
+ call void @clear()<br>
+ store float 4.500000e+00, float* getelementptr inbounds
({ float, float }* @ret_sc, i32 0, i32 0)<br>
+ store float 7.000000e+00, float* getelementptr inbounds
({ float, float }* @ret_sc, i32 0, i32 1)<br>
+ %call201 = call { float, float } @sc_v()<br>
+ %215 = extractvalue { float, float } %call201, 0<br>
+ %216 = extractvalue { float, float } %call201, 1<br>
+ store float %215, float* getelementptr inbounds ({ float,
float }* @lret_sc, i32 0, i32 0)<br>
+ store float %216, float* getelementptr inbounds ({ float,
float }* @lret_sc, i32 0, i32 1)<br>
+ %ret_sc.real = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 0)<br>
+ %ret_sc.imag = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 1)<br>
+ %conv202 = fpext float %ret_sc.real to double<br>
+ %conv203 = fpext float %ret_sc.imag to double<br>
+ %ret_sc.real204 = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 0)<br>
+ %ret_sc.imag205 = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 1)<br>
+ %conv206 = fpext float %ret_sc.real204 to double<br>
+ %conv207 = fpext float %ret_sc.imag205 to double<br>
+ %lret_sc.real = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 0)<br>
+ %lret_sc.imag = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 1)<br>
+ %conv208 = fpext float %lret_sc.real to double<br>
+ %conv209 = fpext float %lret_sc.imag to double<br>
+ %lret_sc.real210 = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 0)<br>
+ %lret_sc.imag211 = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 1)<br>
+ %conv212 = fpext float %lret_sc.real210 to double<br>
+ %conv213 = fpext float %lret_sc.imag211 to double<br>
+ %ret_sc.real214 = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 0)<br>
+ %ret_sc.imag215 = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 1)<br>
+ %lret_sc.real216 = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 0)<br>
+ %lret_sc.imag217 = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 1)<br>
+ %cmp.r = fcmp oeq float %ret_sc.real214, %lret_sc.real216<br>
+ %cmp.i = fcmp oeq float %ret_sc.imag215, %lret_sc.imag217<br>
+ %and.ri = and i1 %cmp.r, %cmp.i<br>
+ %conv218 = zext i1 %and.ri to i32<br>
+ %call219 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([18 x i8]* @.str3, i32 0, i32 0), double %conv202,
double %conv207, double %conv208, double %conv213, i32
%conv218)<br>
+ call void @clear()<br>
+ store float 0x3FF7A99300000000, float* @lx, align 4<br>
+ store float 4.500000e+00, float* getelementptr inbounds
({ float, float }* @ret_sc, i32 0, i32 0)<br>
+ store float 7.000000e+00, float* getelementptr inbounds
({ float, float }* @ret_sc, i32 0, i32 1)<br>
+ %217 = load float* @lx, align 4<br>
+ %call220 = call { float, float } @sc_sf(float %217)<br>
+ %218 = extractvalue { float, float } %call220, 0<br>
+ %219 = extractvalue { float, float } %call220, 1<br>
+ store float %218, float* getelementptr inbounds ({ float,
float }* @lret_sc, i32 0, i32 0)<br>
+ store float %219, float* getelementptr inbounds ({ float,
float }* @lret_sc, i32 0, i32 1)<br>
+ %ret_sc.real221 = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 0)<br>
+ %ret_sc.imag222 = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 1)<br>
+ %conv223 = fpext float %ret_sc.real221 to double<br>
+ %conv224 = fpext float %ret_sc.imag222 to double<br>
+ %ret_sc.real225 = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 0)<br>
+ %ret_sc.imag226 = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 1)<br>
+ %conv227 = fpext float %ret_sc.real225 to double<br>
+ %conv228 = fpext float %ret_sc.imag226 to double<br>
+ %lret_sc.real229 = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 0)<br>
+ %lret_sc.imag230 = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 1)<br>
+ %conv231 = fpext float %lret_sc.real229 to double<br>
+ %conv232 = fpext float %lret_sc.imag230 to double<br>
+ %lret_sc.real233 = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 0)<br>
+ %lret_sc.imag234 = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 1)<br>
+ %conv235 = fpext float %lret_sc.real233 to double<br>
+ %conv236 = fpext float %lret_sc.imag234 to double<br>
+ %220 = load float* @x, align 4<br>
+ %conv237 = fpext float %220 to double<br>
+ %221 = load float* @lx, align 4<br>
+ %conv238 = fpext float %221 to double<br>
+ %ret_sc.real239 = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 0)<br>
+ %ret_sc.imag240 = load float* getelementptr inbounds ({
float, float }* @ret_sc, i32 0, i32 1)<br>
+ %lret_sc.real241 = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 0)<br>
+ %lret_sc.imag242 = load float* getelementptr inbounds ({
float, float }* @lret_sc, i32 0, i32 1)<br>
+ %cmp.r243 = fcmp oeq float %ret_sc.real239,
%lret_sc.real241<br>
+ %cmp.i244 = fcmp oeq float %ret_sc.imag240,
%lret_sc.imag242<br>
+ %and.ri245 = and i1 %cmp.r243, %cmp.i244<br>
+ br i1 %and.ri245, label %land.rhs247, label %land.end250<br>
+<br>
+land.rhs247: ; preds =
%land.end198<br>
+ %222 = load float* @x, align 4<br>
+ %223 = load float* @lx, align 4<br>
+ %cmp248 = fcmp oeq float %222, %223<br>
+ br label %land.end250<br>
+<br>
+land.end250: ; preds =
%land.rhs247, %land.end198<br>
+ %224 = phi i1 [ false, %land.end198 ], [ %cmp248,
%land.rhs247 ]<br>
+ %land.ext251 = zext i1 %224 to i32<br>
+ %call252 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([24 x i8]* @.str4, i32 0, i32 0), double %conv223,
double %conv228, double %conv231, double %conv236, double
%conv237, double %conv238, i32 %land.ext251)<br>
+ call void @clear()<br>
+ store double 1.234500e+03, double* getelementptr inbounds
({ double, double }* @ret_dc, i32 0, i32 0)<br>
+ store double 7.677000e+03, double* getelementptr inbounds
({ double, double }* @ret_dc, i32 0, i32 1)<br>
+ %call253 = call { double, double } @dc_v()<br>
+ %225 = extractvalue { double, double } %call253, 0<br>
+ %226 = extractvalue { double, double } %call253, 1<br>
+ store double %225, double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 0)<br>
+ store double %226, double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 1)<br>
+ %ret_dc.real = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 0)<br>
+ %ret_dc.imag = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 1)<br>
+ %ret_dc.real254 = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 0)<br>
+ %ret_dc.imag255 = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 1)<br>
+ %lret_dc.real = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 0)<br>
+ %lret_dc.imag = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 1)<br>
+ %lret_dc.real256 = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 0)<br>
+ %lret_dc.imag257 = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 1)<br>
+ %ret_dc.real258 = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 0)<br>
+ %ret_dc.imag259 = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 1)<br>
+ %lret_dc.real260 = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 0)<br>
+ %lret_dc.imag261 = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 1)<br>
+ %cmp.r262 = fcmp oeq double %ret_dc.real258,
%lret_dc.real260<br>
+ %cmp.i263 = fcmp oeq double %ret_dc.imag259,
%lret_dc.imag261<br>
+ %and.ri264 = and i1 %cmp.r262, %cmp.i263<br>
+ %conv265 = zext i1 %and.ri264 to i32<br>
+ %call266 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([18 x i8]* @.str3, i32 0, i32 0), double
%ret_dc.real, double %ret_dc.imag255, double %lret_dc.real,
double %lret_dc.imag257, i32 %conv265)<br>
+ call void @clear()<br>
+ store double 0x40AAF6F532617C1C, double* @lxd, align 8<br>
+ store double 4.444500e+03, double* getelementptr inbounds
({ double, double }* @ret_dc, i32 0, i32 0)<br>
+ store double 7.888000e+03, double* getelementptr inbounds
({ double, double }* @ret_dc, i32 0, i32 1)<br>
+ %227 = load float* @lx, align 4<br>
+ %call267 = call { double, double } @dc_sf(float %227)<br>
+ %228 = extractvalue { double, double } %call267, 0<br>
+ %229 = extractvalue { double, double } %call267, 1<br>
+ store double %228, double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 0)<br>
+ store double %229, double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 1)<br>
+ %ret_dc.real268 = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 0)<br>
+ %ret_dc.imag269 = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 1)<br>
+ %ret_dc.real270 = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 0)<br>
+ %ret_dc.imag271 = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 1)<br>
+ %lret_dc.real272 = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 0)<br>
+ %lret_dc.imag273 = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 1)<br>
+ %lret_dc.real274 = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 0)<br>
+ %lret_dc.imag275 = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 1)<br>
+ %230 = load float* @x, align 4<br>
+ %conv276 = fpext float %230 to double<br>
+ %231 = load float* @lx, align 4<br>
+ %conv277 = fpext float %231 to double<br>
+ %ret_dc.real278 = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 0)<br>
+ %ret_dc.imag279 = load double* getelementptr inbounds ({
double, double }* @ret_dc, i32 0, i32 1)<br>
+ %lret_dc.real280 = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 0)<br>
+ %lret_dc.imag281 = load double* getelementptr inbounds ({
double, double }* @lret_dc, i32 0, i32 1)<br>
+ %cmp.r282 = fcmp oeq double %ret_dc.real278,
%lret_dc.real280<br>
+ %cmp.i283 = fcmp oeq double %ret_dc.imag279,
%lret_dc.imag281<br>
+ %and.ri284 = and i1 %cmp.r282, %cmp.i283<br>
+ br i1 %and.ri284, label %land.rhs286, label %land.end289<br>
+<br>
+land.rhs286: ; preds =
%land.end250<br>
+ %232 = load float* @x, align 4<br>
+ %233 = load float* @lx, align 4<br>
+ %cmp287 = fcmp oeq float %232, %233<br>
+ br label %land.end289<br>
+<br>
+land.end289: ; preds =
%land.rhs286, %land.end250<br>
+ %234 = phi i1 [ false, %land.end250 ], [ %cmp287,
%land.rhs286 ]<br>
+ %land.ext290 = zext i1 %234 to i32<br>
+ %call291 = call i32 (i8*, ...)* @printf(i8* getelementptr
inbounds ([24 x i8]* @.str4, i32 0, i32 0), double
%ret_dc.real268, double %ret_dc.imag271, double
%lret_dc.real272, double %lret_dc.imag275, double %conv276,
double %conv277, i32 %land.ext290)<br>
+ %235 = load i32* %retval<br>
+ ret i32 %235<br>
+}<br>
+<br>
+declare void @v_sf(float) #1<br>
+; stel: .section .mips16.call.fp.v_sf,"ax",@progbits<br>
+; stel: .ent __call_stub_v_sf<br>
+; stel: mtc1 $4,$f12<br>
+; stel: lui $25,%hi(v_sf)<br>
+; stel: addiu $25,$25,%lo(v_sf)<br>
+; stel: jr $25<br>
+; stel: .end __call_stub_v_sf<br>
+<br>
+declare i32 @printf(i8*, ...) #1<br>
+<br>
+declare void @v_df(double) #1<br>
+; stel: .section .mips16.call.fp.v_df,"ax",@progbits<br>
+; stel: .ent __call_stub_v_df<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f13<br>
+; stel: lui $25,%hi(v_df)<br>
+; stel: addiu $25,$25,%lo(v_df)<br>
+; stel: jr $25<br>
+; stel: .end __call_stub_v_df<br>
+<br>
+declare void @v_sf_sf(float, float) #1<br>
+; stel: .section
.mips16.call.fp.v_sf_sf,"ax",@progbits<br>
+; stel: .ent __call_stub_v_sf_sf<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f14<br>
+; stel: lui $25,%hi(v_sf_sf)<br>
+; stel: addiu $25,$25,%lo(v_sf_sf)<br>
+; stel: jr $25<br>
+; stel: .end __call_stub_v_sf_sf<br>
+<br>
+declare void @v_sf_df(float, double) #1<br>
+; stel: .section
.mips16.call.fp.v_sf_df,"ax",@progbits<br>
+; stel: .ent __call_stub_v_sf_df<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $6,$f14<br>
+; stel: mtc1 $7,$f15<br>
+; stel: lui $25,%hi(v_sf_df)<br>
+; stel: addiu $25,$25,%lo(v_sf_df)<br>
+; stel: jr $25<br>
+; stel: .end __call_stub_v_sf_df<br>
+<br>
+declare void @v_df_sf(double, float) #1<br>
+; stel: .section
.mips16.call.fp.v_df_sf,"ax",@progbits<br>
+; stel: .ent __call_stub_v_df_sf<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f13<br>
+; stel: mtc1 $6,$f14<br>
+; stel: lui $25,%hi(v_df_sf)<br>
+; stel: addiu $25,$25,%lo(v_df_sf)<br>
+; stel: jr $25<br>
+; stel: .end __call_stub_v_df_sf<br>
+<br>
+declare void @v_df_df(double, double) #1<br>
+; stel: .section
.mips16.call.fp.v_df_df,"ax",@progbits<br>
+; stel: .ent __call_stub_v_df_df<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f13<br>
+; stel: mtc1 $6,$f14<br>
+; stel: mtc1 $7,$f15<br>
+; stel: lui $25,%hi(v_df_df)<br>
+; stel: addiu $25,$25,%lo(v_df_df)<br>
+; stel: jr $25<br>
+; stel: .end __call_stub_v_df_df<br>
+<br>
+declare float @sf_v() #1<br>
+; stel: .section .mips16.call.fp.sf_v,"ax",@progbits<br>
+; stel: .ent __call_stub_sf_v<br>
+; stel: move $18, $31<br>
+; stel: jal sf_v<br>
+; stel: mfc1 $2,$f0<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_sf_v<br>
+<br>
+declare float @sf_sf(float) #1<br>
+; stel: .section .mips16.call.fp.sf_sf,"ax",@progbits<br>
+; stel: .ent __call_stub_sf_sf<br>
+; stel: mtc1 $4,$f12<br>
+; stel: move $18, $31<br>
+; stel: jal sf_sf<br>
+; stel: mfc1 $2,$f0<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_sf_sf<br>
+<br>
+declare float @sf_df(double) #1<br>
+; stel: .section .mips16.call.fp.sf_df,"ax",@progbits<br>
+; stel: .ent __call_stub_sf_df<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f13<br>
+; stel: move $18, $31<br>
+; stel: jal sf_df<br>
+; stel: mfc1 $2,$f0<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_sf_df<br>
+<br>
+declare float @sf_sf_sf(float, float) #1<br>
+; stel: .section
.mips16.call.fp.sf_sf_sf,"ax",@progbits<br>
+; stel: .ent __call_stub_sf_sf_sf<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f14<br>
+; stel: move $18, $31<br>
+; stel: jal sf_sf_sf<br>
+; stel: mfc1 $2,$f0<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_sf_sf_sf<br>
+<br>
+declare float @sf_sf_df(float, double) #1<br>
+; stel: .section
.mips16.call.fp.sf_sf_df,"ax",@progbits<br>
+; stel: .ent __call_stub_sf_sf_df<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $6,$f14<br>
+; stel: mtc1 $7,$f15<br>
+; stel: move $18, $31<br>
+; stel: jal sf_sf_df<br>
+; stel: mfc1 $2,$f0<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_sf_sf_df<br>
+<br>
+declare float @sf_df_sf(double, float) #1<br>
+; stel: .section
.mips16.call.fp.sf_df_sf,"ax",@progbits<br>
+; stel: .ent __call_stub_sf_df_sf<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f13<br>
+; stel: mtc1 $6,$f14<br>
+; stel: move $18, $31<br>
+; stel: jal sf_df_sf<br>
+; stel: mfc1 $2,$f0<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_sf_df_sf<br>
+<br>
+declare float @sf_df_df(double, double) #1<br>
+; stel: .section
.mips16.call.fp.sf_df_df,"ax",@progbits<br>
+; stel: .ent __call_stub_sf_df_df<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f13<br>
+; stel: mtc1 $6,$f14<br>
+; stel: mtc1 $7,$f15<br>
+; stel: move $18, $31<br>
+; stel: jal sf_df_df<br>
+; stel: mfc1 $2,$f0<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_sf_df_df<br>
+<br>
+declare double @df_v() #1<br>
+; stel: .section .mips16.call.fp.df_v,"ax",@progbits<br>
+; stel: .ent __call_stub_df_v<br>
+; stel: move $18, $31<br>
+; stel: jal df_v<br>
+; stel: mfc1 $2,$f0<br>
+; stel: mfc1 $3,$f1<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_df_v<br>
+<br>
+declare double @df_sf(float) #1<br>
+; stel: .section .mips16.call.fp.df_sf,"ax",@progbits<br>
+; stel: .ent __call_stub_df_sf<br>
+; stel: mtc1 $4,$f12<br>
+; stel: move $18, $31<br>
+; stel: jal df_sf<br>
+; stel: mfc1 $2,$f0<br>
+; stel: mfc1 $3,$f1<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_df_sf<br>
+<br>
+declare double @df_df(double) #1<br>
+; stel: .section .mips16.call.fp.df_df,"ax",@progbits<br>
+; stel: .ent __call_stub_df_df<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f13<br>
+; stel: move $18, $31<br>
+; stel: jal df_df<br>
+; stel: mfc1 $2,$f0<br>
+; stel: mfc1 $3,$f1<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_df_df<br>
+<br>
+declare double @df_sf_sf(float, float) #1<br>
+; stel: .section
.mips16.call.fp.df_sf_sf,"ax",@progbits<br>
+; stel: .ent __call_stub_df_sf_sf<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f14<br>
+; stel: move $18, $31<br>
+; stel: jal df_sf_sf<br>
+; stel: mfc1 $2,$f0<br>
+; stel: mfc1 $3,$f1<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_df_sf_sf<br>
+<br>
+declare double @df_sf_df(float, double) #1<br>
+; stel: .section
.mips16.call.fp.df_sf_df,"ax",@progbits<br>
+; stel: .ent __call_stub_df_sf_df<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $6,$f14<br>
+; stel: mtc1 $7,$f15<br>
+; stel: move $18, $31<br>
+; stel: jal df_sf_df<br>
+; stel: mfc1 $2,$f0<br>
+; stel: mfc1 $3,$f1<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_df_sf_df<br>
+<br>
+declare double @df_df_sf(double, float) #1<br>
+; stel: .section
.mips16.call.fp.df_df_sf,"ax",@progbits<br>
+; stel: .ent __call_stub_df_df_sf<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f13<br>
+; stel: mtc1 $6,$f14<br>
+; stel: move $18, $31<br>
+; stel: jal df_df_sf<br>
+; stel: mfc1 $2,$f0<br>
+; stel: mfc1 $3,$f1<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_df_df_sf<br>
+<br>
+declare double @df_df_df(double, double) #1<br>
+; stel: .section
.mips16.call.fp.df_df_df,"ax",@progbits<br>
+; stel: .ent __call_stub_df_df_df<br>
+; stel: mtc1 $4,$f12<br>
+; stel: mtc1 $5,$f13<br>
+; stel: mtc1 $6,$f14<br>
+; stel: mtc1 $7,$f15<br>
+; stel: move $18, $31<br>
+; stel: jal df_df_df<br>
+; stel: mfc1 $2,$f0<br>
+; stel: mfc1 $3,$f1<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_df_df_df<br>
+<br>
+declare { float, float } @sc_v() #1<br>
+; stel: .section .mips16.call.fp.sc_v,"ax",@progbits<br>
+; stel: .ent __call_stub_sc_v<br>
+; stel: move $18, $31<br>
+; stel: jal sc_v<br>
+; stel: mfc1 $2,$f0<br>
+; stel: mfc1 $3,$f2<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_sc_v<br>
+<br>
+declare { float, float } @sc_sf(float) #1<br>
+; stel: .section .mips16.call.fp.sc_sf,"ax",@progbits<br>
+; stel: .ent __call_stub_sc_sf<br>
+; stel: mtc1 $4,$f12<br>
+; stel: move $18, $31<br>
+; stel: jal sc_sf<br>
+; stel: mfc1 $2,$f0<br>
+; stel: mfc1 $3,$f2<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_sc_sf<br>
+<br>
+declare { double, double } @dc_v() #1<br>
+; stel: .section .mips16.call.fp.dc_v,"ax",@progbits<br>
+; stel: .ent __call_stub_dc_v<br>
+; stel: move $18, $31<br>
+; stel: jal dc_v<br>
+; stel: mfc1 $4,$f2<br>
+; stel: mfc1 $5,$f3<br>
+; stel: mfc1 $2,$f0<br>
+; stel: mfc1 $3,$f1<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_dc_v<br>
+<br>
+declare { double, double } @dc_sf(float) #1<br>
+; stel: .section .mips16.call.fp.dc_sf,"ax",@progbits<br>
+; stel: .ent __call_stub_dc_sf<br>
+; stel: mtc1 $4,$f12<br>
+; stel: move $18, $31<br>
+; stel: jal dc_sf<br>
+; stel: mfc1 $4,$f2<br>
+; stel: mfc1 $5,$f3<br>
+; stel: mfc1 $2,$f0<br>
+; stel: mfc1 $3,$f1<br>
+; stel: jr $18<br>
+; stel: .end __call_stub_dc_sf<br>
+<br>
+attributes #0 = { nounwind "less-precise-fpmad"="false"
"no-frame-pointer-elim"="true"
"no-frame-pointer-elim-non-leaf"="true"
"no-infs-fp-math"="false" "no-nans-fp-math"="false"
"unsafe-fp-math"="false" "use-soft-float"="false" }<br>
+attributes #1 = { "less-precise-fpmad"="false"
"no-frame-pointer-elim"="true"
"no-frame-pointer-elim-non-leaf"="true"
"no-infs-fp-math"="false" "no-nans-fp-math"="false"
"unsafe-fp-math"="false" "use-soft-float"="false" }<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a moz-do-not-send="true"
href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a moz-do-not-send="true"
href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits"
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>