diff options
author | Richard Earnshaw <richard.earnshaw@arm.com> | 2013-02-11 10:15:52 +0000 |
---|---|---|
committer | Richard Earnshaw <richard.earnshaw@arm.com> | 2013-02-11 10:15:52 +0000 |
commit | 6fe6ded97b0524a0ebae0d3a1773403cb79e3540 (patch) | |
tree | c4bfaead11b9934684e6d99892936b438b01d490 /gas/testsuite/gas | |
parent | 9f7c3e5e99a620b68f6b2d0f3b17329e40b8d781 (diff) | |
download | ppe42-binutils-6fe6ded97b0524a0ebae0d3a1773403cb79e3540.tar.gz ppe42-binutils-6fe6ded97b0524a0ebae0d3a1773403cb79e3540.zip |
2013-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* arm-dis.c: Update strht pattern.
* gas/arm/archv6t2.s: Add strht and ldrht tests.
* gas/arm/archv6t2.d: Add disassembly patterns for the above.
Diffstat (limited to 'gas/testsuite/gas')
-rw-r--r-- | gas/testsuite/gas/arm/archv6t2.d | 12 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/archv6t2.s | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arm/archv6t2.d b/gas/testsuite/gas/arm/archv6t2.d index 2c8d5b64ab..eb76a321a8 100644 --- a/gas/testsuite/gas/arm/archv6t2.d +++ b/gas/testsuite/gas/arm/archv6t2.d @@ -49,3 +49,15 @@ Disassembly of section .text: 0+a4 <[^>]+> e03090b9 ldrht r9, \[r0\], -r9 0+a8 <[^>]+> e0f099b9 ldrht r9, \[r0\], #153.* 0+ac <[^>]+> e07099b9 ldrht r9, \[r0\], #-153.* +0+b0 <[^>]+> 10b090b9 ldrhtne r9, \[r0\], r9 +0+b4 <[^>]+> 103090b9 ldrhtne r9, \[r0\], -r9 +0+b8 <[^>]+> 10f099b9 ldrhtne r9, \[r0\], #153 ; 0x99 +0+bc <[^>]+> 107099b9 ldrhtne r9, \[r0\], #-153 ; 0xffffff67 +0+c0 <[^>]+> e02100b2 strht r0, \[r1\], -r2 +0+c4 <[^>]+> 102100b2 strhtne r0, \[r1\], -r2 +0+c8 <[^>]+> e0a100b2 strht r0, \[r1\], r2 +0+cc <[^>]+> 10a100b2 strhtne r0, \[r1\], r2 +0+d0 <[^>]+> e0e100b2 strht r0, \[r1\], #2 +0+d4 <[^>]+> e06100b2 strht r0, \[r1\], #-2 +0+d8 <[^>]+> 10e100b2 strhtne r0, \[r1\], #2 +0+dc <[^>]+> 106100b2 strhtne r0, \[r1\], #-2 diff --git a/gas/testsuite/gas/arm/archv6t2.s b/gas/testsuite/gas/arm/archv6t2.s index 292f11cf5d..81ff5012f5 100644 --- a/gas/testsuite/gas/arm/archv6t2.s +++ b/gas/testsuite/gas/arm/archv6t2.s @@ -53,3 +53,15 @@ x: ldrht r9, [r0], -r9 ldrht r9, [r0], #0x99 ldrht r9, [r0], #-0x99 + ldrneht r9, [r0], r9 + ldrneht r9, [r0], -r9 + ldrneht r9, [r0], #0x99 + ldrneht r9, [r0], #-0x99 + strht r0, [r1], -r2 + strneht r0, [r1], -r2 + strht r0, [r1], r2 + strneht r0, [r1], r2 + strht r0, [r1], #2 + strht r0, [r1], #-2 + strneht r0, [r1], #2 + strneht r0, [r1], #-2 |