Revisión | 5b18defe77ad748e35a37a9fcbfdeeafbfd4d687 (tree) |
---|---|
Tiempo | 2018-12-23 23:32:33 |
Autor | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
add v3 instruction test case
@@ -0,0 +1,20 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: fd 77 80 0a ftod r0, dr0 | |
10 | + 4: fd 77 8f 0a ftod r15, dr0 | |
11 | + 8: fd 77 80 fa ftod r0, dr15 | |
12 | + c: fd 77 8f fa ftod r15, dr15 | |
13 | + 10: fd 77 80 09 itod r0, dr0 | |
14 | + 14: fd 77 8f 09 itod r15, dr0 | |
15 | + 18: fd 77 80 f9 itod r0, dr15 | |
16 | + 1c: fd 77 8f f9 itod r15, dr15 | |
17 | + 20: fd 77 80 0d utod r0, dr0 | |
18 | + 24: fd 77 8f 0d utod r15, dr0 | |
19 | + 28: fd 77 80 fd utod r0, dr15 | |
20 | + 2c: fd 77 8f fd utod r15, dr15 |
@@ -0,0 +1,3 @@ | ||
1 | + ftod {reg}, {dreg} | |
2 | + itod {reg}, {dreg} | |
3 | + utod {reg}, {dreg} |
@@ -0,0 +1,72 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: fc 5e 00 00 04 bfmov #0, #0, #1, r0, r0 | |
10 | + 5: fc 5e 0f 00 04 bfmov #0, #0, #1, r0, r15 | |
11 | + a: fc 5e f0 00 04 bfmov #0, #0, #1, r15, r0 | |
12 | + f: fc 5e ff 00 04 bfmov #0, #0, #1, r15, r15 | |
13 | + 14: fc 5e 00 00 3c bfmov #0, #0, #15, r0, r0 | |
14 | + 19: fc 5e 0f 00 3c bfmov #0, #0, #15, r0, r15 | |
15 | + 1e: fc 5e f0 00 3c bfmov #0, #0, #15, r15, r0 | |
16 | + 23: fc 5e ff 00 3c bfmov #0, #0, #15, r15, r15 | |
17 | + 28: fc 5e 00 ef 41 bfmov #0, #15, #1, r0, r0 | |
18 | + 2d: fc 5e 0f ef 41 bfmov #0, #15, #1, r0, r15 | |
19 | + 32: fc 5e f0 ef 41 bfmov #0, #15, #1, r15, r0 | |
20 | + 37: fc 5e ff ef 41 bfmov #0, #15, #1, r15, r15 | |
21 | + 3c: fc 5e 00 ef 79 bfmov #0, #15, #15, r0, r0 | |
22 | + 41: fc 5e 0f ef 79 bfmov #0, #15, #15, r0, r15 | |
23 | + 46: fc 5e f0 ef 79 bfmov #0, #15, #15, r15, r0 | |
24 | + 4b: fc 5e ff ef 79 bfmov #0, #15, #15, r15, r15 | |
25 | + 50: fc 5e 00 11 04 bfmov #15, #0, #1, r0, r0 | |
26 | + 55: fc 5e 0f 11 04 bfmov #15, #0, #1, r0, r15 | |
27 | + 5a: fc 5e f0 11 04 bfmov #15, #0, #1, r15, r0 | |
28 | + 5f: fc 5e ff 11 04 bfmov #15, #0, #1, r15, r15 | |
29 | + 64: fc 5e 00 11 3c bfmov #15, #0, #15, r0, r0 | |
30 | + 69: fc 5e 0f 11 3c bfmov #15, #0, #15, r0, r15 | |
31 | + 6e: fc 5e f0 11 3c bfmov #15, #0, #15, r15, r0 | |
32 | + 73: fc 5e ff 11 3c bfmov #15, #0, #15, r15, r15 | |
33 | + 78: fc 5e 00 e0 41 bfmov #15, #15, #1, r0, r0 | |
34 | + 7d: fc 5e 0f e0 41 bfmov #15, #15, #1, r0, r15 | |
35 | + 82: fc 5e f0 e0 41 bfmov #15, #15, #1, r15, r0 | |
36 | + 87: fc 5e ff e0 41 bfmov #15, #15, #1, r15, r15 | |
37 | + 8c: fc 5e 00 e0 79 bfmov #15, #15, #15, r0, r0 | |
38 | + 91: fc 5e 0f e0 79 bfmov #15, #15, #15, r0, r15 | |
39 | + 96: fc 5e f0 e0 79 bfmov #15, #15, #15, r15, r0 | |
40 | + 9b: fc 5e ff e0 79 bfmov #15, #15, #15, r15, r15 | |
41 | + a0: fc 5a 00 00 04 bfmovz #0, #0, #1, r0, r0 | |
42 | + a5: fc 5a 0f 00 04 bfmovz #0, #0, #1, r0, r15 | |
43 | + aa: fc 5a f0 00 04 bfmovz #0, #0, #1, r15, r0 | |
44 | + af: fc 5a ff 00 04 bfmovz #0, #0, #1, r15, r15 | |
45 | + b4: fc 5a 00 00 3c bfmovz #0, #0, #15, r0, r0 | |
46 | + b9: fc 5a 0f 00 3c bfmovz #0, #0, #15, r0, r15 | |
47 | + be: fc 5a f0 00 3c bfmovz #0, #0, #15, r15, r0 | |
48 | + c3: fc 5a ff 00 3c bfmovz #0, #0, #15, r15, r15 | |
49 | + c8: fc 5a 00 ef 41 bfmovz #0, #15, #1, r0, r0 | |
50 | + cd: fc 5a 0f ef 41 bfmovz #0, #15, #1, r0, r15 | |
51 | + d2: fc 5a f0 ef 41 bfmovz #0, #15, #1, r15, r0 | |
52 | + d7: fc 5a ff ef 41 bfmovz #0, #15, #1, r15, r15 | |
53 | + dc: fc 5a 00 ef 79 bfmovz #0, #15, #15, r0, r0 | |
54 | + e1: fc 5a 0f ef 79 bfmovz #0, #15, #15, r0, r15 | |
55 | + e6: fc 5a f0 ef 79 bfmovz #0, #15, #15, r15, r0 | |
56 | + eb: fc 5a ff ef 79 bfmovz #0, #15, #15, r15, r15 | |
57 | + f0: fc 5a 00 11 04 bfmovz #15, #0, #1, r0, r0 | |
58 | + f5: fc 5a 0f 11 04 bfmovz #15, #0, #1, r0, r15 | |
59 | + fa: fc 5a f0 11 04 bfmovz #15, #0, #1, r15, r0 | |
60 | + ff: fc 5a ff 11 04 bfmovz #15, #0, #1, r15, r15 | |
61 | + 104: fc 5a 00 11 3c bfmovz #15, #0, #15, r0, r0 | |
62 | + 109: fc 5a 0f 11 3c bfmovz #15, #0, #15, r0, r15 | |
63 | + 10e: fc 5a f0 11 3c bfmovz #15, #0, #15, r15, r0 | |
64 | + 113: fc 5a ff 11 3c bfmovz #15, #0, #15, r15, r15 | |
65 | + 118: fc 5a 00 e0 41 bfmovz #15, #15, #1, r0, r0 | |
66 | + 11d: fc 5a 0f e0 41 bfmovz #15, #15, #1, r0, r15 | |
67 | + 122: fc 5a f0 e0 41 bfmovz #15, #15, #1, r15, r0 | |
68 | + 127: fc 5a ff e0 41 bfmovz #15, #15, #1, r15, r15 | |
69 | + 12c: fc 5a 00 e0 79 bfmovz #15, #15, #15, r0, r0 | |
70 | + 131: fc 5a 0f e0 79 bfmovz #15, #15, #15, r0, r15 | |
71 | + 136: fc 5a f0 e0 79 bfmovz #15, #15, #15, r15, r0 | |
72 | + 13b: fc 5a ff e0 79 bfmovz #15, #15, #15, r15, r15 |
@@ -0,0 +1,2 @@ | ||
1 | + bfmov #{0;15}, #{0;15}, #{1;15}, {reg}, {reg} | |
2 | + bfmovz #{0;15}, #{0;15}, #{1;15}, {reg}, {reg} | |
\ No newline at end of file |
@@ -0,0 +1,13 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 76 90 0c 01 dabs dr0, dr0 | |
10 | + 4: 76 90 0c f1 dabs dr0, dr15 | |
11 | + 8: 76 90 fc 01 dabs dr15, dr0 | |
12 | + c: 76 90 fc f1 dabs dr15, dr15 | |
13 | + |
@@ -0,0 +1,2 @@ | ||
1 | + dabs {dreg}, {dreg} | |
2 | + | |
\ No newline at end of file |
@@ -0,0 +1,17 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 76 90 00 00 dadd dr0, dr0, dr0 | |
10 | + 4: 76 90 00 f0 dadd dr0, dr0, dr15 | |
11 | + 8: 76 90 f0 00 dadd dr0, dr15, dr0 | |
12 | + c: 76 90 f0 f0 dadd dr0, dr15, dr15 | |
13 | + 10: 76 90 00 0f dadd dr15, dr0, dr0 | |
14 | + 14: 76 90 00 ff dadd dr15, dr0, dr15 | |
15 | + 18: 76 90 f0 0f dadd dr15, dr15, dr0 | |
16 | + 1c: 76 90 f0 ff dadd dr15, dr15, dr15 | |
17 | + |
@@ -0,0 +1,3 @@ | ||
1 | + dadd {dreg}, {dreg}, {dreg} | |
2 | + | |
3 | + | |
\ No newline at end of file |
@@ -0,0 +1,24 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 76 90 08 10 dcmpun dr0, dr0 | |
10 | + 4: 76 90 f8 10 dcmpun dr0, dr15 | |
11 | + 8: 76 90 08 1f dcmpun dr15, dr0 | |
12 | + c: 76 90 f8 1f dcmpun dr15, dr15 | |
13 | + 10: 76 90 08 20 dcmpeq dr0, dr0 | |
14 | + 14: 76 90 f8 20 dcmpeq dr0, dr15 | |
15 | + 18: 76 90 08 2f dcmpeq dr15, dr0 | |
16 | + 1c: 76 90 f8 2f dcmpeq dr15, dr15 | |
17 | + 20: 76 90 08 40 dcmplt dr0, dr0 | |
18 | + 24: 76 90 f8 40 dcmplt dr0, dr15 | |
19 | + 28: 76 90 08 4f dcmplt dr15, dr0 | |
20 | + 2c: 76 90 f8 4f dcmplt dr15, dr15 | |
21 | + 30: 76 90 08 60 dcmple dr0, dr0 | |
22 | + 34: 76 90 f8 60 dcmple dr0, dr15 | |
23 | + 38: 76 90 08 6f dcmple dr15, dr0 | |
24 | + 3c: 76 90 f8 6f dcmple dr15, dr15 |
@@ -0,0 +1,5 @@ | ||
1 | + dcmpun {dreg}, {dreg} | |
2 | + dcmpeq {dreg}, {dreg} | |
3 | + dcmplt {dreg}, {dreg} | |
4 | + dcmple {dreg}, {dreg} | |
5 | + | |
\ No newline at end of file |
@@ -0,0 +1,16 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 76 90 05 00 ddiv dr0, dr0, dr0 | |
10 | + 4: 76 90 05 f0 ddiv dr0, dr0, dr15 | |
11 | + 8: 76 90 f5 00 ddiv dr0, dr15, dr0 | |
12 | + c: 76 90 f5 f0 ddiv dr0, dr15, dr15 | |
13 | + 10: 76 90 05 0f ddiv dr15, dr0, dr0 | |
14 | + 14: 76 90 05 ff ddiv dr15, dr0, dr15 | |
15 | + 18: 76 90 f5 0f ddiv dr15, dr15, dr0 | |
16 | + 1c: 76 90 f5 ff ddiv dr15, dr15, dr15 |
@@ -0,0 +1,3 @@ | ||
1 | + ddiv {dreg}, {dreg}, {dreg} | |
2 | + | |
3 | + | |
\ No newline at end of file |
@@ -0,0 +1,76 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: fd 77 80 03 dmov\.d r0, drh0 | |
10 | + 4: fd 77 80 f3 dmov\.d r0, drh15 | |
11 | + 8: fd 77 8f 03 dmov\.d r15, drh0 | |
12 | + c: fd 77 8f f3 dmov\.d r15, drh15 | |
13 | + 10: fd 77 80 02 dmov\.l r0, drh0 | |
14 | + 14: fd 77 80 f2 dmov\.l r0, drh15 | |
15 | + 18: fd 77 8f 02 dmov\.l r15, drh0 | |
16 | + 1c: fd 77 8f f2 dmov\.l r15, drh15 | |
17 | + 20: fd 77 80 00 dmov\.l r0, drl0 | |
18 | + 24: fd 77 80 f0 dmov\.l r0, drl15 | |
19 | + 28: fd 77 8f 00 dmov\.l r15, drl0 | |
20 | + 2c: fd 77 8f f0 dmov\.l r15, drl15 | |
21 | + 30: fd 75 80 02 dmov\.l drh0, r0 | |
22 | + 34: fd 75 8f 02 dmov\.l drh0, r15 | |
23 | + 38: fd 75 80 f2 dmov\.l drh15, r0 | |
24 | + 3c: fd 75 8f f2 dmov\.l drh15, r15 | |
25 | + 40: fd 75 80 00 dmov\.l drl0, r0 | |
26 | + 44: fd 75 8f 00 dmov\.l drl0, r15 | |
27 | + 48: fd 75 80 f0 dmov\.l drl15, r0 | |
28 | + 4c: fd 75 8f f0 dmov\.l drl15, r15 | |
29 | + 50: 76 90 0c 00 dmov\.d dr0, dr0 | |
30 | + 54: 76 90 0c f0 dmov\.d dr0, dr15 | |
31 | + 58: 76 90 fc 00 dmov\.d dr15, dr0 | |
32 | + 5c: 76 90 fc f0 dmov\.d dr15, dr15 | |
33 | + 60: fc 78 08 00 dmov\.d dr0, \[r0\] | |
34 | + 64: fc 78 f8 00 dmov\.d dr0, \[r15\] | |
35 | + 68: fc 78 08 f0 dmov\.d dr15, \[r0\] | |
36 | + 6c: fc 78 f8 f0 dmov\.d dr15, \[r15\] | |
37 | + 70: fc 78 08 00 dmov\.d dr0, \[r0\] | |
38 | + 74: fc 78 f8 00 dmov\.d dr0, \[r15\] | |
39 | + 78: fc 7a 08 ff 01 00 dmov\.d dr0, 4088\[r0\] | |
40 | + 7e: fc 7a f8 ff 01 00 dmov\.d dr0, 4088\[r15\] | |
41 | + 84: fc 7a 08 fc ff 00 dmov\.d dr0, 524256\[r0\] | |
42 | + 8a: fc 7a f8 fc ff 00 dmov\.d dr0, 524256\[r15\] | |
43 | + 90: fc 78 08 f0 dmov\.d dr15, \[r0\] | |
44 | + 94: fc 78 f8 f0 dmov\.d dr15, \[r15\] | |
45 | + 98: fc 7a 08 ff 01 f0 dmov\.d dr15, 4088\[r0\] | |
46 | + 9e: fc 7a f8 ff 01 f0 dmov\.d dr15, 4088\[r15\] | |
47 | + a4: fc 7a 08 fc ff f0 dmov\.d dr15, 524256\[r0\] | |
48 | + aa: fc 7a f8 fc ff f0 dmov\.d dr15, 524256\[r15\] | |
49 | + b0: fc c8 08 00 dmov\.d \[r0\], dr0 | |
50 | + b4: fc c8 08 f0 dmov\.d \[r0\], dr15 | |
51 | + b8: fc c8 f8 00 dmov\.d \[r15\], dr0 | |
52 | + bc: fc c8 f8 f0 dmov\.d \[r15\], dr15 | |
53 | + c0: fc c8 08 00 dmov\.d \[r0\], dr0 | |
54 | + c4: fc c8 08 f0 dmov\.d \[r0\], dr15 | |
55 | + c8: fc c8 f8 00 dmov\.d \[r15\], dr0 | |
56 | + cc: fc c8 f8 f0 dmov\.d \[r15\], dr15 | |
57 | + d0: fc ca 08 ff 01 00 dmov\.d 4088\[r0\], dr0 | |
58 | + d6: fc ca 08 ff 01 f0 dmov\.d 4088\[r0\], dr15 | |
59 | + dc: fc ca f8 ff 01 00 dmov\.d 4088\[r15\], dr0 | |
60 | + e2: fc ca f8 ff 01 f0 dmov\.d 4088\[r15\], dr15 | |
61 | + e8: fc ca 08 fc ff 00 dmov\.d 524256\[r0\], dr0 | |
62 | + ee: fc ca 08 fc ff f0 dmov\.d 524256\[r0\], dr15 | |
63 | + f4: fc ca f8 fc ff 00 dmov\.d 524256\[r15\], dr0 | |
64 | + fa: fc ca f8 fc ff f0 dmov\.d 524256\[r15\], dr15 | |
65 | + 100: f9 03 03 00 00 00 80 dmov\.d #0x80000000, drh0 | |
66 | + 107: f9 03 f3 00 00 00 80 dmov\.d #0x80000000, drh15 | |
67 | + 10e: f9 03 03 ff ff ff ff dmov\.d #-1, drh0 | |
68 | + 115: f9 03 f3 ff ff ff ff dmov\.d #-1, drh15 | |
69 | + 11c: f9 03 02 00 00 00 80 dmov\.l #0x80000000, drh0 | |
70 | + 123: f9 03 f2 00 00 00 80 dmov\.l #0x80000000, drh15 | |
71 | + 12a: f9 03 02 ff ff ff ff dmov\.l #-1, drh0 | |
72 | + 131: f9 03 f2 ff ff ff ff dmov\.l #-1, drh15 | |
73 | + 138: f9 03 00 00 00 00 80 dmov\.l #0x80000000, drl0 | |
74 | + 13f: f9 03 f0 00 00 00 80 dmov\.l #0x80000000, drl15 | |
75 | + 146: f9 03 00 ff ff ff ff dmov\.l #-1, drl0 | |
76 | + 14d: f9 03 f0 ff ff ff ff dmov\.l #-1, drl15 |
@@ -0,0 +1,15 @@ | ||
1 | + dmov.d {reg}, {dregh} | |
2 | + dmov.l {reg}, {dregh} | |
3 | + dmov.l {reg}, {dregl} | |
4 | + dmov.l {dregh}, {reg} | |
5 | + dmov.l {dregl}, {reg} | |
6 | + dmov.d {dreg}, {dreg} | |
7 | + dmov.d {dreg}, [{reg}] | |
8 | + dmov.d {dreg}, {dspD}[{reg}] | |
9 | + dmov.d [{reg}], {dreg} | |
10 | + dmov.d {dspD}[{reg}], {dreg} | |
11 | + dmov.d #{imm32}, {dregh} | |
12 | + dmov.l #{imm32}, {dregh} | |
13 | + dmov.l #{imm32}, {dregl} | |
14 | + | |
15 | + | |
\ No newline at end of file |
@@ -0,0 +1,16 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 76 90 02 00 dmul dr0, dr0, dr0 | |
10 | + 4: 76 90 02 f0 dmul dr0, dr0, dr15 | |
11 | + 8: 76 90 f2 00 dmul dr0, dr15, dr0 | |
12 | + c: 76 90 f2 f0 dmul dr0, dr15, dr15 | |
13 | + 10: 76 90 02 0f dmul dr15, dr0, dr0 | |
14 | + 14: 76 90 02 ff dmul dr15, dr0, dr15 | |
15 | + 18: 76 90 f2 0f dmul dr15, dr15, dr0 | |
16 | + 1c: 76 90 f2 ff dmul dr15, dr15, dr15 |
@@ -0,0 +1,3 @@ | ||
1 | + dmul {dreg}, {dreg}, {dreg} | |
2 | + | |
3 | + | |
\ No newline at end of file |
@@ -0,0 +1,12 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 76 90 0c 02 dneg dr0, dr0 | |
10 | + 4: 76 90 0c f2 dneg dr0, dr15 | |
11 | + 8: 76 90 fc 02 dneg dr15, dr0 | |
12 | + c: 76 90 fc f2 dneg dr15, dr15 |
@@ -0,0 +1 @@ | ||
1 | + dneg {dreg},{dreg} |
@@ -0,0 +1,16 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 75 b8 17 dpopm.d dr1-dr8 | |
10 | + 3: 75 b8 1d dpopm.d dr1-dr14 | |
11 | + 6: 75 b8 71 dpopm.d dr7-dr8 | |
12 | + 9: 75 b8 77 dpopm.d dr7-dr14 | |
13 | + c: 75 a8 03 dpopm.l dpsw-depc | |
14 | + f: 75 a8 02 dpopm.l dpsw-decnt | |
15 | + 12: 75 a8 12 dpopm.l dcmr-depc | |
16 | + 15: 75 a8 11 dpopm.l dcmr-decnt |
@@ -0,0 +1,2 @@ | ||
1 | + dpopm.d {dregPlo}-{dregPhi} | |
2 | + dpopm.l {dpsw;dcmr}-{depc;dcent} |
@@ -0,0 +1,16 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 75 b0 17 dpushm.d dr1-dr8 | |
10 | + 3: 75 b0 1d dpushm.d dr1-dr14 | |
11 | + 6: 75 b0 71 dpushm.d dr7-dr8 | |
12 | + 9: 75 b0 77 dpushm.d dr7-dr14 | |
13 | + c: 75 a0 03 dpushm.l dpsw-depc | |
14 | + f: 75 a0 02 dpushm.l dpsw-decnt | |
15 | + 12: 75 a0 12 dpushm.l dcmr-depc | |
16 | + 15: 75 a0 11 dpushm.l dcmr-decnt |
@@ -0,0 +1,2 @@ | ||
1 | + dpushm.d {dregPlo}-{dregPhi} | |
2 | + dpushm.l {dpsw;dcmr}-{depc;dcent} |
@@ -0,0 +1,12 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 76 90 0d 0d dround dr0, dr0 | |
10 | + 4: 76 90 0d fd dround dr0, dr15 | |
11 | + 8: 76 90 fd 0d dround dr15, dr0 | |
12 | + c: 76 90 fd fd dround dr15, dr15 |
@@ -0,0 +1 @@ | ||
1 | + dround {dreg}, {dreg} |
@@ -0,0 +1,12 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 76 90 0d 00 dsqrt dr0, dr0 | |
10 | + 4: 76 90 0d f0 dsqrt dr0, dr15 | |
11 | + 8: 76 90 fd 00 dsqrt dr15, dr0 | |
12 | + c: 76 90 fd f0 dsqrt dr15, dr15 |
@@ -0,0 +1 @@ | ||
1 | + dsqrt {dreg}, {dreg} |
@@ -0,0 +1,16 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 76 90 01 00 dsub dr0, dr0, dr0 | |
10 | + 4: 76 90 01 f0 dsub dr0, dr0, dr15 | |
11 | + 8: 76 90 f1 00 dsub dr0, dr15, dr0 | |
12 | + c: 76 90 f1 f0 dsub dr0, dr15, dr15 | |
13 | + 10: 76 90 01 0f dsub dr15, dr0, dr0 | |
14 | + 14: 76 90 01 ff dsub dr15, dr0, dr15 | |
15 | + 18: 76 90 f1 0f dsub dr15, dr15, dr0 | |
16 | + 1c: 76 90 f1 ff dsub dr15, dr15, dr15 |
@@ -0,0 +1,3 @@ | ||
1 | + dsub {dreg}, {dreg}, {dreg} | |
2 | + | |
3 | + | |
\ No newline at end of file |
@@ -0,0 +1,20 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 76 90 0d 0c dtof dr0, dr0 | |
10 | + 4: 76 90 0d fc dtof dr0, dr15 | |
11 | + 8: 76 90 fd 0c dtof dr15, dr0 | |
12 | + c: 76 90 fd fc dtof dr15, dr15 | |
13 | + 10: 76 90 0d 08 dtoi dr0, dr0 | |
14 | + 14: 76 90 0d f8 dtoi dr0, dr15 | |
15 | + 18: 76 90 fd 08 dtoi dr15, dr0 | |
16 | + 1c: 76 90 fd f8 dtoi dr15, dr15 | |
17 | + 20: 76 90 0d 09 dtou dr0, dr0 | |
18 | + 24: 76 90 0d f9 dtou dr0, dr15 | |
19 | + 28: 76 90 fd 09 dtou dr15, dr0 | |
20 | + 2c: 76 90 fd f9 dtou dr15, dr15 |
@@ -0,0 +1,3 @@ | ||
1 | + dtof {dreg}, {dreg} | |
2 | + dtoi {dreg}, {dreg} | |
3 | + dtou {dreg}, {dreg} |
@@ -6,6 +6,12 @@ macro regPlo {r1;r7} | ||
6 | 6 | macro regPhi {r8;r14} |
7 | 7 | macro creg {psw;fpsw;usp;isp;intb;bpsw;bpc;fintv;extb} |
8 | 8 | macro pswf {U;I;O;S;Z;C} |
9 | +macro dreg {dr0;dr15} | |
10 | +macro dregh {drh0;drh15} | |
11 | +macro dregl {drl0;drl15} | |
12 | +macro dcreg {dpsw;dcmr;dcent;depc} | |
13 | +macro dregPlo {dr1;dr7} | |
14 | +macro dregPhi {dr8;dr14} | |
9 | 15 | |
10 | 16 | macro simm8 {-128;127} |
11 | 17 | macro simm16 {-32768;32768} |
@@ -30,9 +36,11 @@ macro dsp8 252 | ||
30 | 36 | macro dsp16 65532 |
31 | 37 | macro dsp8L 1020 |
32 | 38 | macro dsp16L 262140 |
33 | - | |
39 | +macro dsp8D 4088 | |
40 | +macro dsp16D 524256 | |
34 | 41 | macro dsp {;{dsp8};{dsp16}} |
35 | 42 | macro dspL {;{dsp8L};{dsp16L}} |
43 | +macro dspD {;{dsp8D};{dsp16D}} | |
36 | 44 | |
37 | 45 | macro memex {.ub;.b;.uw;.w;.l} |
38 | 46 | macro memx {dsp}[{reg}]{memex} |
@@ -0,0 +1,16 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: fd 75 80 04 mvfdc dpsw, r0 | |
10 | + 4: fd 75 8f 04 mvfdc dpsw, r15 | |
11 | + 8: fd 75 80 14 mvfdc dcmr, r0 | |
12 | + c: fd 75 8f 14 mvfdc dcmr, r15 | |
13 | + 10: fd 75 80 24 mvfdc decnt, r0 | |
14 | + 14: fd 75 8f 24 mvfdc decnt, r15 | |
15 | + 18: fd 75 80 34 mvfdc depc, r0 | |
16 | + 1c: fd 75 8f 34 mvfdc depc, r15 |
@@ -0,0 +1 @@ | ||
1 | + mvfdc {dcreg}, {reg} | |
\ No newline at end of file |
@@ -0,0 +1,9 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: 75 90 1b mvfdr |
@@ -0,0 +1 @@ | ||
1 | + mvfdr |
@@ -0,0 +1,17 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: fd 77 80 04 mvtdc r0, dpsw | |
10 | + 4: fd 77 81 04 mvtdc r0, dcmr | |
11 | + 8: fd 77 82 04 mvtdc r0, decnt | |
12 | + c: fd 77 83 04 mvtdc r0, depc | |
13 | + 10: fd 77 80 f4 mvtdc r15, dpsw | |
14 | + 14: fd 77 81 f4 mvtdc r15, dcmr | |
15 | + 18: fd 77 82 f4 mvtdc r15, decnt | |
16 | + 1c: fd 77 83 f4 mvtdc r15, depc | |
17 | + |
@@ -0,0 +1,2 @@ | ||
1 | + mvtdc {reg}, {dcreg} | |
2 | + | |
\ No newline at end of file |
@@ -0,0 +1,12 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: fd 76 d0 00 rstr r0 | |
10 | + 4: fd 76 df 00 rstr r15 | |
11 | + 8: fd 76 f0 00 rstr #0 | |
12 | + c: fd 76 f0 ff rstr #255 |
@@ -0,0 +1,3 @@ | ||
1 | + rstr {reg} | |
2 | + rstr #{uimm8} | |
3 | + | |
\ No newline at end of file |
@@ -22,14 +22,14 @@ if { ! [istarget rx-*-*] } { | ||
22 | 22 | } |
23 | 23 | |
24 | 24 | global ASFLAGS |
25 | -set ASFLAGS "--mcpu=rxv2" | |
25 | +set ASFLAGS "--mcpu=rxv3-dfpu" | |
26 | 26 | |
27 | 27 | foreach test [lsort [glob $srcdir/$subdir/*.sm]] { |
28 | 28 | regexp ".*/(.*)\.sm" $test rxjunk rxbase |
29 | 29 | exec "$srcdir/$subdir/explode" "-I" "$srcdir/$subdir" "$test" "$srcdir/$subdir/$rxbase.s" |
30 | 30 | run_dump_test "$rxbase" |
31 | 31 | # Commment out the next line if you want to retain the generated assembler source files. |
32 | - remote_file host delete "$srcdir/$subdir/$rxbase.s" | |
32 | +# remote_file host delete "$srcdir/$subdir/$rxbase.s" | |
33 | 33 | } |
34 | 34 | |
35 | 35 | run_dump_test "rx-asm-good" |
@@ -0,0 +1,12 @@ | ||
1 | +#objdump: -dr | |
2 | + | |
3 | +.*: file format .* | |
4 | + | |
5 | + | |
6 | +Disassembly of section .*: | |
7 | + | |
8 | +00000000 <.*>: | |
9 | + 0: fd 76 c0 00 save r0 | |
10 | + 4: fd 76 cf 00 save r15 | |
11 | + 8: fd 76 e0 00 save #0 | |
12 | + c: fd 76 e0 ff save #255 |
@@ -0,0 +1,2 @@ | ||
1 | + save {reg} | |
2 | + save #{uimm8} |
@@ -86,3 +86,11 @@ Disassembly of section \.text: | ||
86 | 86 | 174: 06 62 0d ff fe 7f xor 65532\[r15\]\.w, r15 |
87 | 87 | 17a: 06 a2 0d f0 ff 3f xor 65532\[r15\]\.l, r0 |
88 | 88 | 180: 06 a2 0d ff ff 3f xor 65532\[r15\]\.l, r15 |
89 | + 186: ff 60 00 xor r0, r0, r0 | |
90 | + 189: ff 6f 00 xor r0, r0, r15 | |
91 | + 18c: ff 60 0f xor r0, r15, r0 | |
92 | + 18f: ff 6f 0f xor r0, r15, r15 | |
93 | + 192: ff 60 f0 xor r15, r0, r0 | |
94 | + 195: ff 6f f0 xor r15, r0, r15 | |
95 | + 198: ff 60 ff xor r15, r15, r0 | |
96 | + 19b: ff 6f ff xor r15, r15, r15 |
@@ -2,3 +2,5 @@ | ||
2 | 2 | |
3 | 3 | xor {reg},{reg} |
4 | 4 | xor {memx},{reg} |
5 | + | |
6 | + xor {reg},{reg},{reg} |