diff options
Diffstat (limited to 'test/torture-s/compndlit-1.c.s')
-rw-r--r-- | test/torture-s/compndlit-1.c.s | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/test/torture-s/compndlit-1.c.s b/test/torture-s/compndlit-1.c.s new file mode 100644 index 000000000..72ce26272 --- /dev/null +++ b/test/torture-s/compndlit-1.c.s @@ -0,0 +1,45 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/compndlit-1.c" + .globl main + .type main,@function +main: # @main + .result i32 + .local i32, i32 +# BB#0: # %entry + i32.const $0=, 0 + block BB0_2 + i32.load $push0=, x($0) + i32.const $push1=, 7 + i32.and $push2=, $pop0, $pop1 + i32.const $push3=, 1 + i32.eq $1=, $pop2, $pop3 + i32.const $push5=, 160 + i32.const $push4=, 320 + i32.select $push6=, $1, $pop5, $pop4 + i32.store $discard=, x($0), $pop6 + i32.const $push7=, 0 + i32.eq $push8=, $1, $pop7 + br_if $pop8, BB0_2 +# BB#1: # %if.end + call exit, $0 + unreachable +BB0_2: # %if.then + call abort + unreachable +func_end0: + .size main, func_end0-main + + .type x,@object # @x + .data + .globl x + .align 2 +x: + .int8 25 # 0x19 + .int8 0 # 0x0 + .int8 0 # 0x0 + .int8 0 # 0x0 + .size x, 4 + + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |