forked from WebAssembly/binaryen
/
20040411-1.c.s
40 lines (37 loc) · 1.12 KB
/
20040411-1.c.s
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
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20040411-1.c"
.section .text.sub1,"ax",@progbits
.hidden sub1
.globl sub1
.type sub1,@function
sub1: # @sub1
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push0=, 2
i32.add $push9=, $0, $pop0
tee_local $push8=, $0=, $pop9
i32.const $push7=, 2
i32.shl $push4=, $pop8, $pop7
i32.const $push2=, 12
i32.mul $push3=, $0, $pop2
i32.const $push6=, 2
i32.eq $push1=, $1, $pop6
i32.select $push5=, $pop4, $pop3, $pop1
# fallthrough-return: $pop5
.endfunc
.Lfunc_end0:
.size sub1, .Lfunc_end0-sub1
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %if.end
i32.const $push0=, 0
# fallthrough-return: $pop0
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"