diff options
author | Jan Beulich <jbeulich@novell.com> | 2013-04-09 11:07:06 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2013-04-09 11:07:06 +0000 |
commit | 16d02dc907c5717b5f47076bb90ae3795e73b59f (patch) | |
tree | 443ae32105c27fc35da8aa72d1d45b65f46e4316 /gas/testsuite | |
parent | 05ac0ffbb586a4a1f7689a591da10134da78a443 (diff) | |
download | gdb-16d02dc907c5717b5f47076bb90ae3795e73b59f.zip gdb-16d02dc907c5717b5f47076bb90ae3795e73b59f.tar.gz gdb-16d02dc907c5717b5f47076bb90ae3795e73b59f.tar.bz2 |
gas/
2013-04-09 Jan Beulich <jbeulich@suse.com>
* gas/config/tc-arm.c (do_vmrs): Accept all control registers.
Use local variable Rt in more places.
(do_vmsr): Accept all control registers.
gas/testsuite/
2013-04-09 Jan Beulich <jbeulich@suse.com>
* gas/arm/vfp1xD.s: Add VMRS/VMSR tests with FPINST, FPINST2,
and C15.
* gas/arm/vfp1xD.d: Update accordingly.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/vfp1xD.d | 20 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/vfp1xD.s | 8 |
3 files changed, 26 insertions, 8 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 510927f..ba42c25 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2013-04-09 Jan Beulich <jbeulich@suse.com> + * gas/arm/vfp1xD.s: Add VMRS/VMSR tests with FPINST, FPINST2, + and C15. + * gas/arm/vfp1xD.d: Update accordingly. + +2013-04-09 Jan Beulich <jbeulich@suse.com> + * gas/arm/neon-omit.s: Add tests for suffix less VMOV. * gas/arm/neon-omit.d: Update accordingly. diff --git a/gas/testsuite/gas/arm/vfp1xD.d b/gas/testsuite/gas/arm/vfp1xD.d index 62b1957..8eaf9ae 100644 --- a/gas/testsuite/gas/arm/vfp1xD.d +++ b/gas/testsuite/gas/arm/vfp1xD.d @@ -280,10 +280,16 @@ Disassembly of section .text: 0+438 <[^>]*> eee1ea10 vmsr fpscr, lr 0+43c <[^>]*> eee01a10 vmsr fpsid, r1 0+440 <[^>]*> eee82a10 vmsr fpexc, r2 -0+444 <[^>]*> eef03a10 vmrs r3, fpsid -0+448 <[^>]*> eef64a10 vmrs r4, mvfr1 -0+44c <[^>]*> eef75a10 vmrs r5, mvfr0 -0+450 <[^>]*> eef86a10 vmrs r6, fpexc -0+454 <[^>]*> e1a00000 nop ; \(mov r0, r0\) -0+458 <[^>]*> e1a00000 nop ; \(mov r0, r0\) -0+45c <[^>]*> e1a00000 nop ; \(mov r0, r0\) +0+444 <[^>]*> eee93a10 vmsr fpinst, r3 @ Impl def +0+448 <[^>]*> eeea4a10 vmsr fpinst2, r4 @ Impl def +0+44c <[^>]*> eeef5a10 vmsr (c15|<impl def 0xf>), r5 +0+450 <[^>]*> eef03a10 vmrs r3, fpsid +0+454 <[^>]*> eef64a10 vmrs r4, mvfr1 +0+458 <[^>]*> eef75a10 vmrs r5, mvfr0 +0+45c <[^>]*> eef86a10 vmrs r6, fpexc +0+460 <[^>]*> eef97a10 vmrs r7, fpinst @ Impl def +0+464 <[^>]*> eefa8a10 vmrs r8, fpinst2 @ Impl def +0+468 <[^>]*> eeff9a10 vmrs r9, (c15|<impl def 0xf>) +0+46c <[^>]*> e1a00000 nop ; \(mov r0, r0\) +0+470 <[^>]*> e1a00000 nop ; \(mov r0, r0\) +0+474 <[^>]*> e1a00000 nop ; \(mov r0, r0\) diff --git a/gas/testsuite/gas/arm/vfp1xD.s b/gas/testsuite/gas/arm/vfp1xD.s index 0bf58b2..0e603e9 100644 --- a/gas/testsuite/gas/arm/vfp1xD.s +++ b/gas/testsuite/gas/arm/vfp1xD.s @@ -381,13 +381,19 @@ F: vmsr FPSCR, r12 vmsr FPSCR, r14 - @ Priviledged externsions to VMSR/VMRS instructions + @ Priviledged extensions to VMSR/VMRS instructions vmsr FPSID, r1 vmsr FPEXC, r2 + vmsr FPINST, r3 + vmsr FPINST2, r4 + vmsr C15, r5 vmrs r3, FPSID vmrs r4, MVFR1 vmrs r5, MVFR0 vmrs r6, FPEXC + vmrs r7, FPINST + vmrs r8, FPINST2 + vmrs r9, C15 nop nop |