summaryrefslogtreecommitdiff
path: root/test/torture-s/zero-struct-1.c.s
blob: 9984bbd205784be80dd4350f887e33cb4f1858d4 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
	.text
	.file	"/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/zero-struct-1.c"
	.section	.text.h,"ax",@progbits
	.hidden	h
	.globl	h
	.type	h,@function
h:                                      # @h
	.local  	i32
# BB#0:                                 # %entry
	i32.const	$push0=, 0
	i32.load	$0=, ff($pop0)
	i32.const	$push8=, 0
	i32.const	$push7=, 0
	i32.load	$push1=, f($pop7)
	i32.const	$push2=, 2
	i32.add 	$push3=, $pop1, $pop2
	i32.store	$discard=, f($pop8), $pop3
	i32.const	$push6=, 0
	i32.const	$push5=, 2
	i32.add 	$push4=, $0, $pop5
	i32.store	$discard=, ff($pop6), $pop4
	return
	.endfunc
.Lfunc_end0:
	.size	h, .Lfunc_end0-h

	.section	.text.main,"ax",@progbits
	.hidden	main
	.globl	main
	.type	main,@function
main:                                   # @main
	.result 	i32
	.local  	i32, i32
# BB#0:                                 # %entry
	i32.const	$push1=, 0
	i32.load	$0=, ff($pop1)
	i32.const	$push12=, 0
	i32.const	$push11=, 0
	i32.load	$push2=, f($pop11)
	i32.const	$push3=, 2
	i32.add 	$push4=, $pop2, $pop3
	i32.store	$1=, f($pop12), $pop4
	i32.const	$push10=, 0
	i32.const	$push9=, 2
	i32.add 	$push0=, $0, $pop9
	i32.store	$0=, ff($pop10), $pop0
	block
	block
	i32.const	$push8=, y+2
	i32.ne  	$push5=, $1, $pop8
	br_if   	0, $pop5        # 0: down to label1
# BB#1:                                 # %if.end
	i32.const	$push13=, y+2
	i32.ne  	$push6=, $0, $pop13
	br_if   	1, $pop6        # 1: down to label0
# BB#2:                                 # %if.end3
	i32.const	$push7=, 0
	return  	$pop7
.LBB1_3:                                # %if.then
	end_block                       # label1:
	call    	abort@FUNCTION
	unreachable
.LBB1_4:                                # %if.then2
	end_block                       # label0:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end1:
	.size	main, .Lfunc_end1-main

	.hidden	y                       # @y
	.type	y,@object
	.section	.bss.y,"aw",@nobits
	.globl	y
y:
	.skip	3
	.size	y, 3

	.hidden	f                       # @f
	.type	f,@object
	.section	.data.f,"aw",@progbits
	.globl	f
	.p2align	2
f:
	.int32	y
	.size	f, 4

	.hidden	ff                      # @ff
	.type	ff,@object
	.section	.data.ff,"aw",@progbits
	.globl	ff
	.p2align	2
ff:
	.int32	y
	.size	ff, 4


	.ident	"clang version 3.9.0 "