summaryrefslogtreecommitdiff
path: root/test/torture-s/multdi-1.c.s
blob: e87a86ec0152c8ca96ac0fbbd4789e5f09aded7d (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
	.text
	.file	"/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/multdi-1.c"
	.section	.text.mpy,"ax",@progbits
	.hidden	mpy
	.globl	mpy
	.type	mpy,@function
mpy:                                    # @mpy
	.param  	i32, i32
	.result 	i64
# BB#0:                                 # %entry
	i64.extend_s/i32	$push1=, $1
	i64.extend_s/i32	$push0=, $0
	i64.mul 	$push2=, $pop1, $pop0
	return  	$pop2
	.endfunc
.Lfunc_end0:
	.size	mpy, .Lfunc_end0-mpy

	.section	.text.main,"ax",@progbits
	.hidden	main
	.globl	main
	.type	main,@function
main:                                   # @main
	.result 	i32
# BB#0:                                 # %if.end
	i32.const	$push1=, 0
	i64.const	$push0=, -1
	i64.store	$drop=, mpy_res($pop1), $pop0
	i32.const	$push2=, 0
	return  	$pop2
	.endfunc
.Lfunc_end1:
	.size	main, .Lfunc_end1-main

	.hidden	mpy_res                 # @mpy_res
	.type	mpy_res,@object
	.section	.bss.mpy_res,"aw",@nobits
	.globl	mpy_res
	.p2align	3
mpy_res:
	.int64	0                       # 0x0
	.size	mpy_res, 8


	.ident	"clang version 3.9.0 "