* gas/bfin/shift2.s: Add new tests.

* gas/bfin/shift.d: Match changed disassembler behaviour.
	* gas/bfin/parallel2.d: Likewise.
	* gas/bfin/shift2.d: Likewise; also match new tests.
This commit is contained in:
Bernd Schmidt 2006-03-16 19:09:25 +00:00
parent c16d2bf065
commit 2db51539bb
5 changed files with 128 additions and 60 deletions

View File

@ -1,3 +1,10 @@
2006-03-16 Bernd Schmidt <bernd.schmidt@analog.com>
* gas/bfin/shift2.s: Add new tests.
* gas/bfin/shift.d: Match changed disassembler behaviour.
* gas/bfin/parallel2.d: Likewise.
* gas/bfin/shift2.d: Likewise; also match new tests.
2006-03-16 Paul Brook <paul@codesourcery.com>
* gas/arm/svc.d: New test.

View File

@ -191,3 +191,32 @@ Disassembly of section .text:
25c: 02 c6 11 c8 R4= ROT R1 BY R2.L;
260: 03 c6 18 80 A0= ROT A0 BY R3.L;
264: 03 c6 38 90 A1= ROT A1 BY R7.L;
268: 80 c6 01 80 R0.L = R1.L << 0x0;
26c: 80 c6 09 80 R0.L = R1.L << 0x1;
270: 80 c6 11 80 R0.L = R1.L << 0x2;
274: 80 c6 21 80 R0.L = R1.L << 0x4;
278: 80 c6 01 80 R0.L = R1.L << 0x0;
27c: 80 c6 f9 81 R0.L = R1.L >> 0x1;
280: 80 c6 f1 81 R0.L = R1.L >> 0x2;
284: 80 c6 e1 81 R0.L = R1.L >> 0x4;
288: 80 c6 f9 01 R0.L = R1.L >>> 0x1;
28c: 80 c6 f1 01 R0.L = R1.L >>> 0x2;
290: 80 c6 e1 01 R0.L = R1.L >>> 0x4;
294: 80 c6 01 90 R0.L = R1.H << 0x0;
298: 80 c6 09 90 R0.L = R1.H << 0x1;
29c: 80 c6 11 90 R0.L = R1.H << 0x2;
2a0: 80 c6 21 90 R0.L = R1.H << 0x4;
2a4: 80 c6 01 90 R0.L = R1.H << 0x0;
2a8: 80 c6 f9 91 R0.L = R1.H >> 0x1;
2ac: 80 c6 f1 91 R0.L = R1.H >> 0x2;
2b0: 80 c6 e1 91 R0.L = R1.H >> 0x4;
2b4: 80 c6 f9 11 R0.L = R1.H >>> 0x1;
2b8: 80 c6 f1 11 R0.L = R1.H >>> 0x2;
2bc: 80 c6 e1 11 R0.L = R1.H >>> 0x4;
2c0: 80 c6 01 50 R0.L = R1.H << 0x0 \(S\);
2c4: 80 c6 09 50 R0.L = R1.H << 0x1 \(S\);
2c8: 80 c6 11 50 R0.L = R1.H << 0x2 \(S\);
2cc: 80 c6 21 50 R0.L = R1.H << 0x4 \(S\);
2d0: 80 c6 f9 51 R0.L = R1.H >>> 0x1 \(S\);
2d4: 80 c6 f1 51 R0.L = R1.H >>> 0x2 \(S\);
2d8: 80 c6 e1 51 R0.L = R1.H >>> 0x4 \(S\);

View File

@ -256,3 +256,35 @@ r4 = rot r1 by r2.l ;
a0 = rot a0 by r3.l ;
a1 = rot a1 by r7.l ;
r0.l = r1.l << 0;
r0.l = r1.l << 1;
r0.l = r1.l << 2;
r0.l = r1.l << 4;
r0.l = r1.l >> 0;
r0.l = r1.l >> 1;
r0.l = r1.l >> 2;
r0.l = r1.l >> 4;
r0.l = r1.l >>> 1;
r0.l = r1.l >>> 2;
r0.l = r1.l >>> 4;
r0.l = r1.h << 0;
r0.l = r1.h << 1;
r0.l = r1.h << 2;
r0.l = r1.h << 4;
r0.l = r1.h >> 0;
r0.l = r1.h >> 1;
r0.l = r1.h >> 2;
r0.l = r1.h >> 4;
r0.l = r1.h >>> 1;
r0.l = r1.h >>> 2;
r0.l = r1.h >>> 4;
r0.l = r1.h << 0 (S);
r0.l = r1.h << 1 (S);
r0.l = r1.h << 2 (S);
r0.l = r1.h << 4 (S);
r0.l = r1.h >>> 1 (S);
r0.l = r1.h >>> 2 (S);
r0.l = r1.h >>> 4 (S);