blob: 120891cc5f9e7c8572567df6db6737f439eab94f [file] [edit]
.text
.file "complex-2.c"
.section .text.f,"ax",@progbits
.hidden f # -- Begin function f
.globl f
.type f,@function
f: # @f
.param i32, i32, i32
# BB#0: # %entry
f64.load $push1=, 0($2)
f64.load $push0=, 0($1)
f64.add $push2=, $pop1, $pop0
f64.store 0($0), $pop2
f64.load $push4=, 8($2)
f64.load $push3=, 8($1)
f64.add $push5=, $pop4, $pop3
f64.store 8($0), $pop5
# fallthrough-return
.endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
# -- End function
.section .text.main,"ax",@progbits
.hidden main # -- Begin function main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
block
i32.const $push6=, 0
f64.load $push1=, ag($pop6)
f64.const $push5=, 0x1p0
f64.ne $push2=, $pop1, $pop5
br_if 0, $pop2 # 0: down to label0
# BB#1: # %entry
i32.const $push8=, 0
f64.load $push0=, ag+8($pop8)
f64.const $push7=, 0x1p0
f64.ne $push3=, $pop0, $pop7
br_if 0, $pop3 # 0: down to label0
# BB#2: # %if.end25
i32.const $push4=, 0
call exit@FUNCTION, $pop4
unreachable
.LBB1_3: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
# -- End function
.hidden ag # @ag
.type ag,@object
.section .data.ag,"aw",@progbits
.globl ag
.p2align 3
ag:
.int64 4607182418800017408 # double 1
.int64 4607182418800017408 # double 1
.size ag, 16
.hidden bg # @bg
.type bg,@object
.section .data.bg,"aw",@progbits
.globl bg
.p2align 3
bg:
.int64 -4611686018427387904 # double -2
.int64 4611686018427387904 # double 2
.size bg, 16
.ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
.functype abort, void
.functype exit, void, i32