diff options
author | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-06-28 09:10:25 +0000 |
---|---|---|
committer | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-06-28 09:10:25 +0000 |
commit | 8e56076649ea3bc861ad1f5ddad9fd931293af10 (patch) | |
tree | 3c1a88726835e19814e772b93e1c910c97d8bbee /gas/testsuite/gas | |
parent | fc63f3ec4e4bae44c92ad1477c53453579dbc743 (diff) | |
download | ppe42-binutils-8e56076649ea3bc861ad1f5ddad9fd931293af10.tar.gz ppe42-binutils-8e56076649ea3bc861ad1f5ddad9fd931293af10.zip |
* gas/config/tc-arm.c (parse_neon_alignment): New function.
(parse_address_main): Fix Neon load/store alignment parsing.
* gas/testsuite/gas/arm/neon-ldst-align-bad.l: Update for Neon alignment syntax fix.
* gas/testsuite/gas/arm/neon-ldst-align-bad.s: Likewise.
* gas/testsuite/gas/arm/neon-ldst-es.d: Likewise.
* gas/testsuite/gas/arm/neon-ldst-es.s: Likewise.
* opcodes/arm-disc.c (parse_insn_neon): Fix Neon alignment syntax.
Diffstat (limited to 'gas/testsuite/gas')
-rw-r--r-- | gas/testsuite/gas/arm/neon-ldst-align-bad.l | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/neon-ldst-align-bad.s | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/neon-ldst-es.d | 40 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/neon-ldst-es.s | 26 |
4 files changed, 37 insertions, 37 deletions
diff --git a/gas/testsuite/gas/arm/neon-ldst-align-bad.l b/gas/testsuite/gas/arm/neon-ldst-align-bad.l index 89cafba365..5d32ace80e 100644 --- a/gas/testsuite/gas/arm/neon-ldst-align-bad.l +++ b/gas/testsuite/gas/arm/neon-ldst-align-bad.l @@ -1,3 +1,3 @@ [^:]*: Assembler messages: -[^:]*:1: Error: bad alignment -- `vld1.8 {d0},\[r0,:128\]' -[^:]*:2: Error: bad alignment -- `vld1.8 {q0},\[r0,:256\]' +[^:]*:1: Error: bad alignment -- `vld1.8 {d0},\[r0:128\]' +[^:]*:2: Error: bad alignment -- `vld1.8 {q0},\[r0:256\]' diff --git a/gas/testsuite/gas/arm/neon-ldst-align-bad.s b/gas/testsuite/gas/arm/neon-ldst-align-bad.s index 0efb0a060d..a899f8104e 100644 --- a/gas/testsuite/gas/arm/neon-ldst-align-bad.s +++ b/gas/testsuite/gas/arm/neon-ldst-align-bad.s @@ -1,2 +1,2 @@ -vld1.8 {d0}, [r0, :128] -vld1.8 {q0}, [r0, :256] +vld1.8 {d0}, [r0 :128] +vld1.8 {q0}, [r0 :256] diff --git a/gas/testsuite/gas/arm/neon-ldst-es.d b/gas/testsuite/gas/arm/neon-ldst-es.d index c520ac9311..82bbab3e53 100644 --- a/gas/testsuite/gas/arm/neon-ldst-es.d +++ b/gas/testsuite/gas/arm/neon-ldst-es.d @@ -5,50 +5,50 @@ .*: +file format .*arm.* Disassembly of section \.text: -0[0-9a-f]+ <[^>]+> f406282f vst2\.8 {d2-d3}, \[r6, :128\] +0[0-9a-f]+ <[^>]+> f406282f vst2\.8 {d2-d3}, \[r6 :128\] 0[0-9a-f]+ <[^>]+> f427140d vld3\.8 {d1-d3}, \[r7\]! -0[0-9a-f]+ <[^>]+> f4091553 vst3\.16 {d1,d3,d5}, \[r9, :64\], r3 +0[0-9a-f]+ <[^>]+> f4091553 vst3\.16 {d1,d3,d5}, \[r9 :64\], r3 0[0-9a-f]+ <[^>]+> f42a208f vld4\.32 {d2-d5}, \[sl\] 0[0-9a-f]+ <[^>]+> f40a114f vst4\.16 {d1,d3,d5,d7}, \[sl\] 0[0-9a-f]+ <[^>]+> f4aa1c6f vld1\.16 {d1\[\]-d2\[\]}, \[sl\] -0[0-9a-f]+ <[^>]+> f4aa1c5f vld1\.16 {d1\[\]}, \[sl, :16\] -0[0-9a-f]+ <[^>]+> f4aa1dbf vld2\.32 {d1\[\],d3\[\]}, \[sl, :64\] +0[0-9a-f]+ <[^>]+> f4aa1c5f vld1\.16 {d1\[\]}, \[sl :16\] +0[0-9a-f]+ <[^>]+> f4aa1dbf vld2\.32 {d1\[\],d3\[\]}, \[sl :64\] 0[0-9a-f]+ <[^>]+> f4aa3e0c vld3\.8 {d3\[\]-d5\[\]}, \[sl\], ip 0[0-9a-f]+ <[^>]+> f4a9af6d vld4\.16 {d10\[\],d12\[\],d14\[\],d16\[\]}, \[r9\]! -0[0-9a-f]+ <[^>]+> f4a9af5f vld4\.16 {d10\[\]-d13\[\]}, \[r9, :64\] -0[0-9a-f]+ <[^>]+> f4a9af9f vld4\.32 {d10\[\]-d13\[\]}, \[r9, :64\] -0[0-9a-f]+ <[^>]+> f4a9afdf vld4\.32 {d10\[\]-d13\[\]}, \[r9, :128\] +0[0-9a-f]+ <[^>]+> f4a9af5f vld4\.16 {d10\[\]-d13\[\]}, \[r9 :64\] +0[0-9a-f]+ <[^>]+> f4a9af9f vld4\.32 {d10\[\]-d13\[\]}, \[r9 :64\] +0[0-9a-f]+ <[^>]+> f4a9afdf vld4\.32 {d10\[\]-d13\[\]}, \[r9 :128\] 0[0-9a-f]+ <[^>]+> f4a530ed vld1\.8 {d3\[7\]}, \[r5\]! -0[0-9a-f]+ <[^>]+> f48554df vst1\.16 {d5\[3\]}, \[r5, :16\] -0[0-9a-f]+ <[^>]+> f4a535dd vld2\.16 {d3\[3\],d4\[3\]}, \[r5, :32\]! +0[0-9a-f]+ <[^>]+> f48554df vst1\.16 {d5\[3\]}, \[r5 :16\] +0[0-9a-f]+ <[^>]+> f4a535dd vld2\.16 {d3\[3\],d4\[3\]}, \[r5 :32\]! 0[0-9a-f]+ <[^>]+> f4858a83 vst3\.32 {d8\[1\],d9\[1\],d10\[1\]}, \[r5\], r3 0[0-9a-f]+ <[^>]+> f4a7804f vld1\.8 {d8\[2\]}, \[r7\] 0[0-9a-f]+ <[^>]+> f4a7848f vld1\.16 {d8\[2\]}, \[r7\] -0[0-9a-f]+ <[^>]+> f4a7849f vld1\.16 {d8\[2\]}, \[r7, :16\] +0[0-9a-f]+ <[^>]+> f4a7849f vld1\.16 {d8\[2\]}, \[r7 :16\] 0[0-9a-f]+ <[^>]+> f4a7888f vld1\.32 {d8\[1\]}, \[r7\] -0[0-9a-f]+ <[^>]+> f4a788bf vld1\.32 {d8\[1\]}, \[r7, :32\] +0[0-9a-f]+ <[^>]+> f4a788bf vld1\.32 {d8\[1\]}, \[r7 :32\] 0[0-9a-f]+ <[^>]+> f4a7812f vld2\.8 {d8\[1\],d9\[1\]}, \[r7\] -0[0-9a-f]+ <[^>]+> f4a7813f vld2\.8 {d8\[1\],d9\[1\]}, \[r7, :16\] +0[0-9a-f]+ <[^>]+> f4a7813f vld2\.8 {d8\[1\],d9\[1\]}, \[r7 :16\] 0[0-9a-f]+ <[^>]+> f4a7854f vld2\.16 {d8\[1\],d9\[1\]}, \[r7\] -0[0-9a-f]+ <[^>]+> f4a7855f vld2\.16 {d8\[1\],d9\[1\]}, \[r7, :32\] +0[0-9a-f]+ <[^>]+> f4a7855f vld2\.16 {d8\[1\],d9\[1\]}, \[r7 :32\] 0[0-9a-f]+ <[^>]+> f4a7856f vld2\.16 {d8\[1\],d10\[1\]}, \[r7\] -0[0-9a-f]+ <[^>]+> f4a7857f vld2\.16 {d8\[1\],d10\[1\]}, \[r7, :32\] +0[0-9a-f]+ <[^>]+> f4a7857f vld2\.16 {d8\[1\],d10\[1\]}, \[r7 :32\] 0[0-9a-f]+ <[^>]+> f4a7898f vld2\.32 {d8\[1\],d9\[1\]}, \[r7\] -0[0-9a-f]+ <[^>]+> f4a7899f vld2\.32 {d8\[1\],d9\[1\]}, \[r7, :64\] +0[0-9a-f]+ <[^>]+> f4a7899f vld2\.32 {d8\[1\],d9\[1\]}, \[r7 :64\] 0[0-9a-f]+ <[^>]+> f4a789cf vld2\.32 {d8\[1\],d10\[1\]}, \[r7\] -0[0-9a-f]+ <[^>]+> f4a789df vld2\.32 {d8\[1\],d10\[1\]}, \[r7, :64\] +0[0-9a-f]+ <[^>]+> f4a789df vld2\.32 {d8\[1\],d10\[1\]}, \[r7 :64\] 0[0-9a-f]+ <[^>]+> f4a7822f vld3\.8 {d8\[1\],d9\[1\],d10\[1\]}, \[r7\] 0[0-9a-f]+ <[^>]+> f4a7864f vld3\.16 {d8\[1\],d9\[1\],d10\[1\]}, \[r7\] 0[0-9a-f]+ <[^>]+> f4a7866f vld3\.16 {d8\[1\],d10\[1\],d12\[1\]}, \[r7\] 0[0-9a-f]+ <[^>]+> f4a78a8f vld3\.32 {d8\[1\],d9\[1\],d10\[1\]}, \[r7\] 0[0-9a-f]+ <[^>]+> f4a78acf vld3\.32 {d8\[1\],d10\[1\],d12\[1\]}, \[r7\] 0[0-9a-f]+ <[^>]+> f4a7834f vld4\.8 {d8\[2\],d9\[2\],d10\[2\],d11\[2\]}, \[r7\] -0[0-9a-f]+ <[^>]+> f4a7835f vld4\.8 {d8\[2\],d9\[2\],d10\[2\],d11\[2\]}, \[r7, :32\] +0[0-9a-f]+ <[^>]+> f4a7835f vld4\.8 {d8\[2\],d9\[2\],d10\[2\],d11\[2\]}, \[r7 :32\] 0[0-9a-f]+ <[^>]+> f4a7876f vld4\.16 {d8\[1\],d10\[1\],d12\[1\],d14\[1\]}, \[r7\] -0[0-9a-f]+ <[^>]+> f4a7875f vld4\.16 {d8\[1\],d9\[1\],d10\[1\],d11\[1\]}, \[r7, :64\] +0[0-9a-f]+ <[^>]+> f4a7875f vld4\.16 {d8\[1\],d9\[1\],d10\[1\],d11\[1\]}, \[r7 :64\] 0[0-9a-f]+ <[^>]+> f4a78bcf vld4\.32 {d8\[1\],d10\[1\],d12\[1\],d14\[1\]}, \[r7\] -0[0-9a-f]+ <[^>]+> f4a78bdf vld4\.32 {d8\[1\],d10\[1\],d12\[1\],d14\[1\]}, \[r7, :64\] -0[0-9a-f]+ <[^>]+> f4a78bef vld4\.32 {d8\[1\],d10\[1\],d12\[1\],d14\[1\]}, \[r7, :128\] +0[0-9a-f]+ <[^>]+> f4a78bdf vld4\.32 {d8\[1\],d10\[1\],d12\[1\],d14\[1\]}, \[r7 :64\] +0[0-9a-f]+ <[^>]+> f4a78bef vld4\.32 {d8\[1\],d10\[1\],d12\[1\],d14\[1\]}, \[r7 :128\] 0[0-9a-f]+ <[^>]+> f3b43805 vtbl\.8 d3, {d4}, d5 0[0-9a-f]+ <[^>]+> f3b23b05 vtbl\.8 d3, {d2-d5}, d5 0[0-9a-f]+ <[^>]+> f3be3985 vtbl\.8 d3, {d30-d31}, d5 diff --git a/gas/testsuite/gas/arm/neon-ldst-es.s b/gas/testsuite/gas/arm/neon-ldst-es.s index 5a29a43793..c97794c34c 100644 --- a/gas/testsuite/gas/arm/neon-ldst-es.s +++ b/gas/testsuite/gas/arm/neon-ldst-es.s @@ -6,12 +6,12 @@ vst2.8 {d2,d3},[r6,:128] vld3.8 {d1,d2,d3},[r7]! - vst3.16 {d1,d3,d5},[r9,:64],r3 + vst3.16 {d1,d3,d5},[r9:64],r3 vld4.32 {d2,d3,d4,d5},[r10] vst4.16 {d1,d3,d5,d7},[r10] vld1.16 {d1[],d2[]},[r10] vld1.16 {d1[]},[r10,:16] - vld2.32 {d1[],d3[]},[r10,:64] + vld2.32 {d1[],d3[]},[r10:64] vld3.s8 {d3[],d4[],d5[]},[r10],r12 vld4.16 {d10[],d12[],d14[],d16[]},[r9]! vld4.16 {d10[],d11[],d12[],d13[]},[r9,:64] @@ -24,31 +24,31 @@ vld1.8 {d8[2]},[r7] vld1.16 {d8[2]},[r7] - vld1.16 {d8[2]},[r7,:16] + vld1.16 {d8[2]},[r7:16] vld1.32 {d8[1]},[r7] - vld1.32 {d8[1]},[r7,:32] + vld1.32 {d8[1]},[r7:32] vld2.8 {d8[1],d9[1]},[r7] - vld2.8 {d8[1],d9[1]},[r7,:16] + vld2.8 {d8[1],d9[1]},[r7:16] vld2.16 {d8[1],d9[1]},[r7] - vld2.16 {d8[1],d9[1]},[r7,:32] + vld2.16 {d8[1],d9[1]},[r7:32] vld2.16 {d8[1],d10[1]},[r7] - vld2.16 {d8[1],d10[1]},[r7,:32] + vld2.16 {d8[1],d10[1]},[r7:32] vld2.32 {d8[1],d9[1]},[r7] - vld2.32 {d8[1],d9[1]},[r7,:64] + vld2.32 {d8[1],d9[1]},[r7:64] vld2.32 {d8[1],d10[1]},[r7] - vld2.32 {d8[1],d10[1]},[r7,:64] + vld2.32 {d8[1],d10[1]},[r7:64] vld3.8 {d8[1],d9[1],d10[1]},[r7] vld3.16 {d8[1],d9[1],d10[1]},[r7] vld3.16 {d8[1],d10[1],d12[1]},[r7] vld3.32 {d8[1],d9[1],d10[1]},[r7] vld3.32 {d8[1],d10[1],d12[1]},[r7] vld4.8 {d8[2],d9[2],d10[2],d11[2]},[r7] - vld4.8 {d8[2],d9[2],d10[2],d11[2]},[r7,:32] + vld4.8 {d8[2],d9[2],d10[2],d11[2]},[r7:32] vld4.16 {d8[1],d10[1],d12[1],d14[1]},[r7] - vld4.16 {d8[1],d9[1],d10[1],d11[1]},[r7,:64] + vld4.16 {d8[1],d9[1],d10[1],d11[1]},[r7:64] vld4.32 {d8[1],d10[1],d12[1],d14[1]},[r7] - vld4.32 {d8[1],d10[1],d12[1],d14[1]},[r7,:64] - vld4.32 {d8[1],d10[1],d12[1],d14[1]},[r7,:128] + vld4.32 {d8[1],d10[1],d12[1],d14[1]},[r7:64] + vld4.32 {d8[1],d10[1],d12[1],d14[1]},[r7:128] vtbl.8 d3,{d4},d5 vtbl.8 d3,{q1-q2},d5 |