summaryrefslogtreecommitdiff
path: root/test/torture-s/packed-2.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/packed-2.c.s')
-rw-r--r--test/torture-s/packed-2.c.s29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/torture-s/packed-2.c.s b/test/torture-s/packed-2.c.s
new file mode 100644
index 000000000..07de6f449
--- /dev/null
+++ b/test/torture-s/packed-2.c.s
@@ -0,0 +1,29 @@
+ .text
+ .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/packed-2.c"
+ .globl main
+ .type main,@function
+main: # @main
+ .result i32
+ .local i32
+# BB#0: # %entry
+ i32.const $push1=, t+2
+ i32.const $push0=, 2
+ i32.add $push2=, $pop1, $pop0
+ i32.const $push3=, 0
+ i32.store16 $0=, 0($pop2), $pop3
+ i32.store16 $push4=, t+2($0), $0
+ return $pop4
+func_end0:
+ .size main, func_end0-main
+
+ .type t,@object # @t
+ .bss
+ .globl t
+ .align 1
+t:
+ .zero 6
+ .size t, 6
+
+
+ .ident "clang version 3.8.0 "
+ .section ".note.GNU-stack","",@progbits