]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/binutils-tumbl.git/blobdiff - gas/testsuite/gas/aarch64/alias.s
include/opcode/
[fpga/lx-cpu1/binutils-tumbl.git] / gas / testsuite / gas / aarch64 / alias.s
index c2b71b90fd01c1c5bf799442e50bf9400968ec74..0db9affbe8f8ab799468826bdfa5a7009873526d 100644 (file)
@@ -2,7 +2,7 @@
    preference.  It is also used to test the -Mno-aliases option in
    the disassemler.
 
-   Copyright 2012 Free Software Foundation, Inc.
+   Copyright 2012, 2013 Free Software Foundation, Inc.
    Contributed by ARM Ltd.
 
    This file is part of GAS.
        adds    xzr, x15, #0xfff
        subs    x15, sp, #0xfff
        cmn     x15, #0xfff
+
+       .macro asimdshll        s
+        \s\()xtl v8.8h, v2.8b
+        \s\()shll v8.8h, v2.8b, #0
+        \s\()xtl2 v8.8h, v2.16b
+        \s\()shll2 v8.8h, v2.16b, #0
+        \s\()xtl v8.4s, v2.4h
+        \s\()shll v8.4s, v2.4h, #0
+        \s\()xtl2 v8.4s, v2.8h
+        \s\()shll2 v8.4s, v2.8h, #0
+        \s\()xtl v8.2d, v2.2s
+        \s\()shll v8.2d, v2.2s, #0
+        \s\()xtl2 v8.2d, v2.4s
+        \s\()shll2 v8.2d, v2.4s, #0
+       .endm
+
+       asimdshll       s
+       asimdshll       u