Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / gas / testsuite / gas / aarch64 / addsub.s
index 6eb23899c0f4ad37dcbba5688e95d6ba45ac2389..5f6c97dd4a4a1d1563b54f99d5a72a8c3776582d 100644 (file)
@@ -1,6 +1,6 @@
 /* addsub.s Test file for AArch64 add-subtract instructions.
 
-   Copyright (C) 2012-2018 Free Software Foundation, Inc.
+   Copyright (C) 2012-2019 Free Software Foundation, Inc.
    Contributed by ARM Ltd.
 
    This file is part of GAS.
@@ -222,3 +222,19 @@ func:
        do_shift        2, \op, W7, W
        do_shift        2, \op, X7, X
        .endr
+
+       /*
+        * Check for correct aliasing
+        */
+
+       .irp op, NEGS
+       do_shift        2, \op, WZR, W
+       do_shift        2, \op, XZR, X
+       .endr
+
+       .irp op, SUBS
+       do_shift        3, \op, W7, W
+       do_shift        3, \op, X7, X
+       do_shift        0, \op, WZR, W
+       do_shift        0, \op, XZR, X
+       .endr
This page took 0.023618 seconds and 4 git commands to generate.