summaryrefslogtreecommitdiff
path: root/test/torture-s/complex-2.c.s
blob: aff3c509e66816e2b2c7411b9b831d5f65b878b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
	.text
	.file	"/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/complex-2.c"
	.section	.text.f,"ax",@progbits
	.hidden	f
	.globl	f
	.type	f,@function
f:                                      # @f
	.param  	i32, i32, i32
	.local  	f64, f64
# BB#0:                                 # %entry
	f64.load	$3=, 8($2)
	f64.load	$4=, 8($1)
	f64.load	$push0=, 0($2)
	f64.load	$push1=, 0($1)
	f64.add 	$push2=, $pop0, $pop1
	f64.store	$discard=, 0($0), $pop2
	f64.add 	$push3=, $3, $4
	f64.store	$discard=, 8($0), $pop3
	return
	.endfunc
.Lfunc_end0:
	.size	f, .Lfunc_end0-f

	.section	.text.main,"ax",@progbits
	.hidden	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.end26
	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

	.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 3.9.0 "