* gas/xstormy16/allinsn.sh: Add sdiv, divlh, and sdivlh.
* gas/xstormy16/allinsn.d: Regenerate. * gas/xstormy16/allinsn.s: Regenerate.
This commit is contained in:
parent
bbce6ab74a
commit
c8014bda54
4 changed files with 176 additions and 137 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2002-11-19 DJ Delorie <dj@redhat.com>
|
||||||
|
|
||||||
|
* gas/xstormy16/allinsn.sh: Add sdiv, divlh, and sdivlh.
|
||||||
|
* gas/xstormy16/allinsn.d: Regenerate.
|
||||||
|
* gas/xstormy16/allinsn.s: Regenerate.
|
||||||
|
|
||||||
2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
|
2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
|
||||||
|
|
||||||
* gas/all/gas.exp: Setup for tic4x testcase
|
* gas/all/gas.exp: Setup for tic4x testcase
|
||||||
|
|
|
@ -1068,158 +1068,167 @@ Disassembly of section \.text:
|
||||||
0000082c <div>:
|
0000082c <div>:
|
||||||
82c: c0 00 div
|
82c: c0 00 div
|
||||||
|
|
||||||
0000082e <nop>:
|
0000082e <sdiv>:
|
||||||
82e: 00 00 nop
|
82e: c8 00 sdiv
|
||||||
830: 03 00 ret
|
|
||||||
|
|
||||||
00000832 <halt>:
|
00000830 <divlh>:
|
||||||
832: 08 00 halt
|
830: e8 00 divlh
|
||||||
|
|
||||||
00000834 <hold>:
|
00000832 <sdivlh>:
|
||||||
834: 0a 00 hold
|
832: e0 00 sdivlh
|
||||||
|
|
||||||
00000836 <holdx>:
|
00000834 <nop>:
|
||||||
836: 0b 00 holdx
|
834: 00 00 nop
|
||||||
|
836: 03 00 ret
|
||||||
|
|
||||||
00000838 <brk>:
|
00000838 <halt>:
|
||||||
838: 05 00 brk
|
838: 08 00 halt
|
||||||
|
|
||||||
0000083a <bccgrgr>:
|
0000083a <hold>:
|
||||||
83a: 00 0d 00 00 bge r0,r0,0x83e
|
83a: 0a 00 hold
|
||||||
83e: ff 0d ff ff bz r15,r15,0x841
|
|
||||||
842: 88 0d 00 88 bpl r8,r8,0x46
|
|
||||||
846: 77 0d ff 77 bls r7,r7,0x1049
|
|
||||||
84a: 11 0d 01 10 bnc r1,r1,0x84f
|
|
||||||
84e: d3 0d 07 37 bc r3,r13,0xf59
|
|
||||||
852: a1 0d 1d 08 bge r1,r10,0x73
|
|
||||||
856: 50 0d 94 fb bz r0,r5,0x3ee
|
|
||||||
|
|
||||||
0000085a <bccgrimm8>:
|
0000083c <holdx>:
|
||||||
85a: 00 20 00 00 bge r0,#0x0,0x85e
|
83c: 0b 00 holdx
|
||||||
85e: ff 2e ff ff bz r7,#0xff,0x861
|
|
||||||
862: 80 28 00 88 bpl r4,#0x80,0x66
|
|
||||||
866: 7f 26 ff 77 bls r3,#0x7f,0x1069
|
|
||||||
86a: 01 22 01 10 bnc r1,#0x1,0x86f
|
|
||||||
86e: 08 26 c1 15 bnc r3,#0x8,0xe33
|
|
||||||
872: cb 2a 53 c6 bnz\.b r5,#0xcb,0xec9
|
|
||||||
876: e1 2e d2 33 bc r7,#0xe1,0xc4c
|
|
||||||
|
|
||||||
0000087a <bccimm16>:
|
0000083e <brk>:
|
||||||
87a: 00 c0 00 00 bge Rx,#0x0,0x87e
|
83e: 05 00 brk
|
||||||
87e: ff cf ff ff bz Rx,#0xffff,0x881
|
|
||||||
882: 80 c8 00 80 bpl Rx,#0x8000,0x806
|
|
||||||
886: 7f c7 ff 7f bls Rx,#0x7fff,0x909
|
|
||||||
88a: 01 c1 01 00 bnc Rx,#0x1,0x88f
|
|
||||||
88e: 04 ce fb 77 bz\.b Rx,#0x77fb,0x896
|
|
||||||
892: f3 c9 3a f3 bnv Rx,#0xf33a,0x889
|
|
||||||
896: 6c c9 32 bc bnv Rx,#0xbc32,0x906
|
|
||||||
|
|
||||||
0000089a <bngrimm4>:
|
00000840 <bccgrgr>:
|
||||||
89a: 00 04 00 00 bn r0,#0x0,0x89e
|
840: 00 0d 00 00 bge r0,r0,0x844
|
||||||
89e: ff 04 ff 0f bn r15,#0xf,0x8a1
|
844: ff 0d ff ff bz r15,r15,0x847
|
||||||
8a2: 88 04 00 08 bn r8,#0x8,0xa6
|
848: 88 0d 00 88 bpl r8,r8,0x4c
|
||||||
8a6: 77 04 ff 07 bn r7,#0x7,0x10a9
|
84c: 77 0d ff 77 bls r7,r7,0x104f
|
||||||
8aa: 11 04 01 00 bn r1,#0x1,0x8af
|
850: 11 0d 01 10 bnc r1,r1,0x855
|
||||||
8ae: 3b 04 49 08 bn r11,#0x3,0xfb
|
854: d3 0d 07 37 bc r3,r13,0xf5f
|
||||||
8b2: 4f 04 4b 0b bn r15,#0x4,0x401
|
858: a1 0d 1d 08 bge r1,r10,0x79
|
||||||
8b6: 8a 04 9b 06 bn r10,#0x8,0xf55
|
85c: 50 0d 94 fb bz r0,r5,0x3f4
|
||||||
|
|
||||||
000008ba <bngrgr>:
|
00000860 <bccgrimm8>:
|
||||||
8ba: 00 06 00 00 bn r0,r0,0x8be
|
860: 00 20 00 00 bge r0,#0x0,0x864
|
||||||
8be: ff 06 ff 0f bn r15,r15,0x8c1
|
864: ff 2e ff ff bz r7,#0xff,0x867
|
||||||
8c2: 88 06 00 08 bn r8,r8,0xc6
|
868: 80 28 00 88 bpl r4,#0x80,0x6c
|
||||||
8c6: 77 06 ff 07 bn r7,r7,0x10c9
|
86c: 7f 26 ff 77 bls r3,#0x7f,0x106f
|
||||||
8ca: 11 06 01 00 bn r1,r1,0x8cf
|
870: 01 22 01 10 bnc r1,#0x1,0x875
|
||||||
8ce: 34 06 9d 04 bn r4,r3,0xd6f
|
874: 08 26 c1 15 bnc r3,#0x8,0xe39
|
||||||
8d2: 25 06 4d 00 bn r5,r2,0x923
|
878: cb 2a 53 c6 bnz\.b r5,#0xcb,0xecf
|
||||||
8d6: 73 06 77 02 bn r3,r7,0xb51
|
87c: e1 2e d2 33 bc r7,#0xe1,0xc52
|
||||||
|
|
||||||
000008da <bnlmemimm>:
|
00000880 <bccimm16>:
|
||||||
8da: 00 7c 00 00 bn 0x0,#0x0,0x8de
|
880: 00 c0 00 00 bge Rx,#0x0,0x884
|
||||||
8de: ff 7c ff 7f bn 0xff,#0x7,0x8e1
|
884: ff cf ff ff bz Rx,#0xffff,0x887
|
||||||
8e2: 80 7c 00 48 bn 0x80,#0x4,0xe6
|
888: 80 c8 00 80 bpl Rx,#0x8000,0x80c
|
||||||
8e6: 7f 7c ff 37 bn 0x7f,#0x3,0x10e9
|
88c: 7f c7 ff 7f bls Rx,#0x7fff,0x90f
|
||||||
8ea: 01 7c 01 10 bn 0x1,#0x1,0x8ef
|
890: 01 c1 01 00 bnc Rx,#0x1,0x895
|
||||||
8ee: 99 7c b1 7c bn 0x99,#0x7,0x5a3
|
894: 04 ce fb 77 bz\.b Rx,#0x77fb,0x89c
|
||||||
8f2: cc 7c a7 08 bn 0xcc,#0x0,0x19d
|
898: f3 c9 3a f3 bnv Rx,#0xf33a,0x88f
|
||||||
8f6: f2 7c 74 75 bn 0xf2,#0x7,0xe6e
|
89c: 6c c9 32 bc bnv Rx,#0xbc32,0x90c
|
||||||
|
|
||||||
000008fa <bnhmemimm>:
|
000008a0 <bngrimm4>:
|
||||||
8fa: 00 7e 00 00 bn 0x7f00,#0x0,0x8fe
|
8a0: 00 04 00 00 bn r0,#0x0,0x8a4
|
||||||
8fe: ff 7e ff 7f bn 0x7fff,#0x7,0x901
|
8a4: ff 04 ff 0f bn r15,#0xf,0x8a7
|
||||||
902: 80 7e 00 48 bn 0x7f80,#0x4,0x106
|
8a8: 88 04 00 08 bn r8,#0x8,0xac
|
||||||
906: 7f 7e ff 37 bn 0x7f7f,#0x3,0x1109
|
8ac: 77 04 ff 07 bn r7,#0x7,0x10af
|
||||||
90a: 01 7e 01 10 bn 0x7f01,#0x1,0x90f
|
8b0: 11 04 01 00 bn r1,#0x1,0x8b5
|
||||||
90e: b9 7e 9a 3d bn 0x7fb9,#0x3,0x6ac
|
8b4: 3b 04 49 08 bn r11,#0x3,0x101
|
||||||
912: 69 7e 64 1d bn 0x7f69,#0x1,0x67a
|
8b8: 4f 04 4b 0b bn r15,#0x4,0x407
|
||||||
916: 4f 7e 20 75 bn 0x7f4f,#0x7,0xe3a
|
8bc: 8a 04 9b 06 bn r10,#0x8,0xf5b
|
||||||
|
|
||||||
0000091a <bpgrimm4>:
|
000008c0 <bngrgr>:
|
||||||
91a: 00 05 00 00 bp r0,#0x0,0x91e
|
8c0: 00 06 00 00 bn r0,r0,0x8c4
|
||||||
91e: ff 05 ff 0f bp r15,#0xf,0x921
|
8c4: ff 06 ff 0f bn r15,r15,0x8c7
|
||||||
922: 88 05 00 08 bp r8,#0x8,0x126
|
8c8: 88 06 00 08 bn r8,r8,0xcc
|
||||||
926: 77 05 ff 07 bp r7,#0x7,0x1129
|
8cc: 77 06 ff 07 bn r7,r7,0x10cf
|
||||||
92a: 11 05 01 00 bp r1,#0x1,0x92f
|
8d0: 11 06 01 00 bn r1,r1,0x8d5
|
||||||
92e: c0 05 33 04 bp r0,#0xc,0xd65
|
8d4: 34 06 9d 04 bn r4,r3,0xd75
|
||||||
932: 51 05 27 02 bp r1,#0x5,0xb5d
|
8d8: 25 06 4d 00 bn r5,r2,0x929
|
||||||
936: 86 05 34 06 bp r6,#0x8,0xf6e
|
8dc: 73 06 77 02 bn r3,r7,0xb57
|
||||||
|
|
||||||
0000093a <bpgrgr>:
|
000008e0 <bnlmemimm>:
|
||||||
93a: 00 07 00 00 bp r0,r0,0x93e
|
8e0: 00 7c 00 00 bn 0x0,#0x0,0x8e4
|
||||||
93e: ff 07 ff 0f bp r15,r15,0x941
|
8e4: ff 7c ff 7f bn 0xff,#0x7,0x8e7
|
||||||
942: 88 07 00 08 bp r8,r8,0x146
|
8e8: 80 7c 00 48 bn 0x80,#0x4,0xec
|
||||||
946: 77 07 ff 07 bp r7,r7,0x1149
|
8ec: 7f 7c ff 37 bn 0x7f,#0x3,0x10ef
|
||||||
94a: 11 07 01 00 bp r1,r1,0x94f
|
8f0: 01 7c 01 10 bn 0x1,#0x1,0x8f5
|
||||||
94e: 94 07 9a 0d bp r4,r9,0x6ec
|
8f4: 99 7c b1 7c bn 0x99,#0x7,0x5a9
|
||||||
952: a9 07 b0 0a bp r9,r10,0x406
|
8f8: cc 7c a7 08 bn 0xcc,#0x0,0x1a3
|
||||||
956: 14 07 97 01 bp r4,r1,0xaf1
|
8fc: f2 7c 74 75 bn 0xf2,#0x7,0xe74
|
||||||
|
|
||||||
0000095a <bplmemimm>:
|
00000900 <bnhmemimm>:
|
||||||
95a: 00 7d 00 00 bp 0x0,#0x0,0x95e
|
900: 00 7e 00 00 bn 0x7f00,#0x0,0x904
|
||||||
95e: ff 7d ff 7f bp 0xff,#0x7,0x961
|
904: ff 7e ff 7f bn 0x7fff,#0x7,0x907
|
||||||
962: 80 7d 00 48 bp 0x80,#0x4,0x166
|
908: 80 7e 00 48 bn 0x7f80,#0x4,0x10c
|
||||||
966: 7f 7d ff 37 bp 0x7f,#0x3,0x1169
|
90c: 7f 7e ff 37 bn 0x7f7f,#0x3,0x110f
|
||||||
96a: 01 7d 01 10 bp 0x1,#0x1,0x96f
|
910: 01 7e 01 10 bn 0x7f01,#0x1,0x915
|
||||||
96e: c1 7d 72 3e bp 0xc1,#0x3,0x7e4
|
914: b9 7e 9a 3d bn 0x7fb9,#0x3,0x6b2
|
||||||
972: fa 7d ef 29 bp 0xfa,#0x2,0x365
|
918: 69 7e 64 1d bn 0x7f69,#0x1,0x680
|
||||||
976: b4 7d 43 62 bp 0xb4,#0x6,0xbbd
|
91c: 4f 7e 20 75 bn 0x7f4f,#0x7,0xe40
|
||||||
|
|
||||||
0000097a <bphmemimm>:
|
00000920 <bpgrimm4>:
|
||||||
97a: 00 7f 00 00 bp 0x7f00,#0x0,0x97e
|
920: 00 05 00 00 bp r0,#0x0,0x924
|
||||||
97e: ff 7f ff 7f bp 0x7fff,#0x7,0x981
|
924: ff 05 ff 0f bp r15,#0xf,0x927
|
||||||
982: 80 7f 00 48 bp 0x7f80,#0x4,0x186
|
928: 88 05 00 08 bp r8,#0x8,0x12c
|
||||||
986: 7f 7f ff 37 bp 0x7f7f,#0x3,0x1189
|
92c: 77 05 ff 07 bp r7,#0x7,0x112f
|
||||||
98a: 01 7f 01 10 bp 0x7f01,#0x1,0x98f
|
930: 11 05 01 00 bp r1,#0x1,0x935
|
||||||
98e: c3 7f 50 1e bp 0x7fc3,#0x1,0x7e2
|
934: c0 05 33 04 bp r0,#0xc,0xd6b
|
||||||
992: 81 7f 1c 5a bp 0x7f81,#0x5,0x3b2
|
938: 51 05 27 02 bp r1,#0x5,0xb63
|
||||||
996: 38 7f bb 36 bp 0x7f38,#0x3,0x1055
|
93c: 86 05 34 06 bp r6,#0x8,0xf74
|
||||||
|
|
||||||
0000099a <bcc>:
|
00000940 <bpgrgr>:
|
||||||
99a: 00 d0 bge 0x99c
|
940: 00 07 00 00 bp r0,r0,0x944
|
||||||
99c: ff df bz 0x99d
|
944: ff 07 ff 0f bp r15,r15,0x947
|
||||||
99e: 80 d8 bpl 0x920
|
948: 88 07 00 08 bp r8,r8,0x14c
|
||||||
9a0: 7f d7 bls 0xa21
|
94c: 77 07 ff 07 bp r7,r7,0x114f
|
||||||
9a2: 01 d1 bnc 0x9a5
|
950: 11 07 01 00 bp r1,r1,0x955
|
||||||
9a4: 30 dc bnz\.b 0x9d6
|
954: 94 07 9a 0d bp r4,r9,0x6f2
|
||||||
9a6: f9 d1 bnc 0x9a1
|
958: a9 07 b0 0a bp r9,r10,0x40c
|
||||||
9a8: 4a dc bnz\.b 0x9f4
|
95c: 14 07 97 01 bp r4,r1,0xaf7
|
||||||
|
|
||||||
000009aa <br>:
|
00000960 <bplmemimm>:
|
||||||
9aa: 00 10 br 0x9ac
|
960: 00 7d 00 00 bp 0x0,#0x0,0x964
|
||||||
9ac: fe 1f br 0x9ac
|
964: ff 7d ff 7f bp 0xff,#0x7,0x967
|
||||||
9ae: 00 18 br 0x1b0
|
968: 80 7d 00 48 bp 0x80,#0x4,0x16c
|
||||||
9b0: fe 17 br 0x11b0
|
96c: 7f 7d ff 37 bp 0x7f,#0x3,0x116f
|
||||||
9b2: 00 10 br 0x9b4
|
970: 01 7d 01 10 bp 0x1,#0x1,0x975
|
||||||
9b4: c0 15 br 0xf76
|
974: c1 7d 72 3e bp 0xc1,#0x3,0x7ea
|
||||||
9b6: 52 16 br 0x100a
|
978: fa 7d ef 29 bp 0xfa,#0x2,0x36b
|
||||||
9b8: d2 13 br 0xd8c
|
97c: b4 7d 43 62 bp 0xb4,#0x6,0xbc3
|
||||||
|
|
||||||
000009ba <callrimm>:
|
00000980 <bphmemimm>:
|
||||||
9ba: 01 10 callr 0x9bc
|
980: 00 7f 00 00 bp 0x7f00,#0x0,0x984
|
||||||
9bc: ff 1f callr 0x9bc
|
984: ff 7f ff 7f bp 0x7fff,#0x7,0x987
|
||||||
9be: 01 18 callr 0x1c0
|
988: 80 7f 00 48 bp 0x7f80,#0x4,0x18c
|
||||||
9c0: ff 17 callr 0x11c0
|
98c: 7f 7f ff 37 bp 0x7f7f,#0x3,0x118f
|
||||||
9c2: 01 10 callr 0x9c4
|
990: 01 7f 01 10 bp 0x7f01,#0x1,0x995
|
||||||
9c4: c1 15 callr 0xf86
|
994: c3 7f 50 1e bp 0x7fc3,#0x1,0x7e8
|
||||||
9c6: 53 16 callr 0x101a
|
998: 81 7f 1c 5a bp 0x7f81,#0x5,0x3b8
|
||||||
9c8: d3 13 callr 0xd9c
|
99c: 38 7f bb 36 bp 0x7f38,#0x3,0x105b
|
||||||
|
|
||||||
|
000009a0 <bcc>:
|
||||||
|
9a0: 00 d0 bge 0x9a2
|
||||||
|
9a2: ff df bz 0x9a3
|
||||||
|
9a4: 80 d8 bpl 0x926
|
||||||
|
9a6: 7f d7 bls 0xa27
|
||||||
|
9a8: 01 d1 bnc 0x9ab
|
||||||
|
9aa: 30 dc bnz\.b 0x9dc
|
||||||
|
9ac: f9 d1 bnc 0x9a7
|
||||||
|
9ae: 4a dc bnz\.b 0x9fa
|
||||||
|
|
||||||
|
000009b0 <br>:
|
||||||
|
9b0: 00 10 br 0x9b2
|
||||||
|
9b2: fe 1f br 0x9b2
|
||||||
|
9b4: 00 18 br 0x1b6
|
||||||
|
9b6: fe 17 br 0x11b6
|
||||||
|
9b8: 00 10 br 0x9ba
|
||||||
|
9ba: c0 15 br 0xf7c
|
||||||
|
9bc: 52 16 br 0x1010
|
||||||
|
9be: d2 13 br 0xd92
|
||||||
|
|
||||||
|
000009c0 <callrimm>:
|
||||||
|
9c0: 01 10 callr 0x9c2
|
||||||
|
9c2: ff 1f callr 0x9c2
|
||||||
|
9c4: 01 18 callr 0x1c6
|
||||||
|
9c6: ff 17 callr 0x11c6
|
||||||
|
9c8: 01 10 callr 0x9ca
|
||||||
|
9ca: c1 15 callr 0xf8c
|
||||||
|
9cc: 53 16 callr 0x1020
|
||||||
|
9ce: d3 13 callr 0xda2
|
||||||
|
|
|
@ -1174,6 +1174,18 @@ mul:
|
||||||
div:
|
div:
|
||||||
div
|
div
|
||||||
.text
|
.text
|
||||||
|
.global sdiv
|
||||||
|
sdiv:
|
||||||
|
sdiv
|
||||||
|
.text
|
||||||
|
.global divlh
|
||||||
|
divlh:
|
||||||
|
divlh
|
||||||
|
.text
|
||||||
|
.global sdivlh
|
||||||
|
sdivlh:
|
||||||
|
sdivlh
|
||||||
|
.text
|
||||||
.global nop
|
.global nop
|
||||||
nop:
|
nop:
|
||||||
nop
|
nop
|
||||||
|
|
|
@ -1213,6 +1213,18 @@ mul:
|
||||||
div:
|
div:
|
||||||
div
|
div
|
||||||
.text
|
.text
|
||||||
|
.global sdiv
|
||||||
|
sdiv:
|
||||||
|
sdiv
|
||||||
|
.text
|
||||||
|
.global divlh
|
||||||
|
divlh:
|
||||||
|
divlh
|
||||||
|
.text
|
||||||
|
.global sdivlh
|
||||||
|
sdivlh:
|
||||||
|
sdivlh
|
||||||
|
.text
|
||||||
.global nop
|
.global nop
|
||||||
nop:
|
nop:
|
||||||
nop
|
nop
|
||||||
|
|
Loading…
Reference in a new issue