aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/arm/arch4t.s14
2 files changed, 18 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index e121ed4..5e0f39b 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-15 Nick Clifton <nickc@cygnus.com>
+
+ * gas/arm/arch4t.s: Add tests of new fields to msr instruction.
+
2000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
* gas/mips/mips.exp: Include *-*-linux* in svr4pic.
diff --git a/gas/testsuite/gas/arm/arch4t.s b/gas/testsuite/gas/arm/arch4t.s
index 8d28f7f..417b3c6 100644
--- a/gas/testsuite/gas/arm/arch4t.s
+++ b/gas/testsuite/gas/arm/arch4t.s
@@ -18,4 +18,18 @@ foo:
strh r2, bar
strneh r3, [r3]
+
+ msr CPSR_f, #2
+ msr CPSR_c, r3
+ msr CPSR_x, r4
+ msr CPSR_s, r5
+ msr CPSR_f, r6
+ msr CPSR_all, r7
+
+ msr SPSR_f, #4
+ msr SPSR_c, r8
+ msr SPSR_x, r9
+ msr SPSR_s, r10
+ msr SPSR_f, r11
+ msr SPSR_all, r12
bar: