summaryrefslogtreecommitdiff
path: root/test/torture-s/pr61375.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr61375.c.s')
-rw-r--r--test/torture-s/pr61375.c.s46
1 files changed, 46 insertions, 0 deletions
diff --git a/test/torture-s/pr61375.c.s b/test/torture-s/pr61375.c.s
new file mode 100644
index 000000000..5a038793d
--- /dev/null
+++ b/test/torture-s/pr61375.c.s
@@ -0,0 +1,46 @@
+ .text
+ .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr61375.c"
+ .globl uint128_central_bitsi_ior
+ .type uint128_central_bitsi_ior,@function
+uint128_central_bitsi_ior: # @uint128_central_bitsi_ior
+ .param i64, i64, i64
+ .result i64
+# BB#0: # %entry
+ i64.const $push2=, 56
+ i64.shr_u $push3=, $0, $pop2
+ i64.const $push0=, 8
+ i64.shl $push1=, $1, $pop0
+ i64.or $push4=, $pop3, $pop1
+ i64.const $push5=, 65535
+ i64.and $push6=, $pop4, $pop5
+ i64.or $push7=, $pop6, $2
+ return $pop7
+func_end0:
+ .size uint128_central_bitsi_ior, func_end0-uint128_central_bitsi_ior
+
+ .globl main
+ .type main,@function
+main: # @main
+ .param i32
+ .result i32
+# BB#0: # %entry
+ block BB1_2
+ i64.const $push2=, 0
+ i64.const $push1=, 1
+ i64.const $push0=, 2
+ i64.call $push3=, uint128_central_bitsi_ior, $pop2, $pop1, $pop0
+ i64.const $push4=, 258
+ i64.ne $push5=, $pop3, $pop4
+ br_if $pop5, BB1_2
+# BB#1: # %if.end
+ i32.const $push6=, 0
+ return $pop6
+BB1_2: # %if.then
+ call abort
+ unreachable
+func_end1:
+ .size main, func_end1-main
+
+
+ .ident "clang version 3.8.0 "
+ .section ".note.GNU-stack","",@progbits