diff options
Diffstat (limited to 'test/torture-s/divconst-3.c.s')
-rw-r--r-- | test/torture-s/divconst-3.c.s | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/torture-s/divconst-3.c.s b/test/torture-s/divconst-3.c.s new file mode 100644 index 000000000..6bdcb348a --- /dev/null +++ b/test/torture-s/divconst-3.c.s @@ -0,0 +1,28 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/divconst-3.c" + .globl f + .type f,@function +f: # @f + .param i64 + .result i64 +# BB#0: # %entry + i64.const $push0=, 10000000000 + i64.div_s $push1=, $0, $pop0 + return $pop1 +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 |