diff options
Diffstat (limited to 'test/torture-s/930603-3.c.s')
-rw-r--r-- | test/torture-s/930603-3.c.s | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/test/torture-s/930603-3.c.s b/test/torture-s/930603-3.c.s new file mode 100644 index 000000000..5138bb012 --- /dev/null +++ b/test/torture-s/930603-3.c.s @@ -0,0 +1,49 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/930603-3.c" + .globl f + .type f,@function +f: # @f + .param i32, i32 + .result i32 +# BB#0: # %entry + block BB0_5 + block BB0_4 + i32.const $push0=, 107 + i32.eq $push1=, $1, $pop0 + br_if $pop1, BB0_4 +# BB#1: # %entry + block BB0_3 + i32.const $push2=, 100 + i32.ne $push3=, $1, $pop2 + br_if $pop3, BB0_3 +# BB#2: # %sw.bb + i32.load8_u $push6=, 0($0) + i32.const $push7=, 1 + i32.shr_u $1=, $pop6, $pop7 + br BB0_5 +BB0_3: # %sw.default + call abort + unreachable +BB0_4: # %sw.bb3 + i32.load8_u $push4=, 3($0) + i32.const $push5=, 4 + i32.shr_u $1=, $pop4, $pop5 +BB0_5: # %sw.epilog + return $1 +func_end0: + .size f, func_end0-f + + .globl main + .type main,@function +main: # @main + .result i32 +# BB#0: # %if.end + i32.const $push0=, 0 + call exit, $pop0 + unreachable +func_end1: + .size main, func_end1-main + + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |