diff options
author | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-11-20 11:22:40 +0000 |
---|---|---|
committer | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-11-20 11:22:53 +0000 |
commit | 87b8eed7fb7040a67d3f7317258795bdd258612b (patch) | |
tree | 26d62912fe7d61300515415fd72d2d360fd314dd /gas/testsuite | |
parent | 9a73e520da7dbde07184113bc07f144fd1e47294 (diff) | |
download | gdb-87b8eed7fb7040a67d3f7317258795bdd258612b.zip gdb-87b8eed7fb7040a67d3f7317258795bdd258612b.tar.gz gdb-87b8eed7fb7040a67d3f7317258795bdd258612b.tar.bz2 |
gas/testsuite/
* gas/aarch64/msr.s: Add tests.
* gas/aarch64/msr.d: Update.
include/opcode
* aarch64.h (aarch64_pstatefields): Change element type to
aarch64_sys_reg.
opcodes/
* aarch64-opc.c (aarch64_pstatefields): Update.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/msr.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/msr.s | 5 |
3 files changed, 11 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 4d8e7de..be53157 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-11-20 Yufeng Zhang <yufeng.zhang@arm.com> + + * gas/aarch64/msr.s: Add tests. + * gas/aarch64/msr.d: Update. + 2013-11-19 Catherine Moore <clm@codesourcery.com> * gas/mips/fix-pmc-rm7000-1.d: New. diff --git a/gas/testsuite/gas/aarch64/msr.d b/gas/testsuite/gas/aarch64/msr.d index c6c3220..750cae1 100644 --- a/gas/testsuite/gas/aarch64/msr.d +++ b/gas/testsuite/gas/aarch64/msr.d @@ -13,3 +13,5 @@ Disassembly of section \.text: 14: d5034fff msr daifclr, #0xf 18: d51b4220 msr daif, x0 1c: d53b4220 mrs x0, daif + 20: d50040bf msr spsel, #0x0 + 24: d50041bf msr spsel, #0x1 diff --git a/gas/testsuite/gas/aarch64/msr.s b/gas/testsuite/gas/aarch64/msr.s index 9f67d98..01018c2 100644 --- a/gas/testsuite/gas/aarch64/msr.s +++ b/gas/testsuite/gas/aarch64/msr.s @@ -1,5 +1,5 @@ /* - Copyright 2011, 2012 Free Software Foundation, Inc. + Copyright 2011-2013 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GAS. @@ -31,3 +31,6 @@ func: msr daif, x0 mrs x0, daif + + msr spsel, #0 + msr spsel, #1 |