Commit | Line | Data |
---|---|---|
c4ec94c9 DE |
1 | #objdump: -dr |
2 | #name: mul64 | |
3 | ||
4 | # Test the mul64/mulu64 insn. | |
5 | ||
6 | .*: +file format elf32-.*arc | |
7 | ||
8 | Disassembly of section .text: | |
9 | 00000000 a7e08400 mul64 r1,r2 | |
10 | 00000004 afe18800 mulu64 r3,r4 | |
11 | 00000008 a7e0fe00 mul64 r1,0 | |
12 | 0000000c a7ff8400 mul64 0,r2 | |
d874fb48 DE |
13 | 00000010 a7e0ffff mul64 r1,-1 |
14 | 00000014 a7ff85ff mul64 -1,r2 | |
c4ec94c9 DE |
15 | 00000018 a7e0feff mul64 r1,255 |
16 | 0000001c a7ff84ff mul64 255,r2 | |
d874fb48 DE |
17 | 00000020 a7e0ff00 mul64 r1,-256 |
18 | 00000024 a7ff8500 mul64 -256,r2 | |
c4ec94c9 DE |
19 | 00000028 afe0fc00 mulu64 r1,256 |
20 | 00000030 afff0400 mulu64 511,r2 | |
21 | 00000038 a7e0fc00 mul64 r1,256 | |
22 | 00000040 a7ff0400 mul64 -257,r2 | |
23 | 00000048 afe1fc00 mulu64 r3,512 | |
d874fb48 | 24 | 00000050 afe27fff mulu64 r4,-1 |
c4ec94c9 DE |
25 | 00000054 a7ff0a00 mul64 1111638594,r5 |
26 | 0000005c a7ff7c00 mul64 305419896,305419896 | |
27 | 00000064 a7e07c00 mul64 r0,0 | |
28 | RELOC: 00000068 R_ARC_32 foo | |
29 | 0000006c aff07c00 mulu64 r32,0 | |
30 | RELOC: 00000070 R_ARC_32 foo | |
31 | 00000074 a7e00200 mul64 r0,r1 | |
32 | 00000078 a7e30e01 mul64.eq r6,r7 | |
33 | 0000007c afe61a02 mulu64.ne r12,r13 | |
34 | 00000080 a7e00300 mul64.f r0,r1 | |
35 | 00000084 a7e17a01 mul64.f r2,1 | |
36 | 00000088 a7fe8601 mul64.f 1,r3 | |
37 | 0000008c a7fe8800 mul64.f 0,r4 | |
38 | 00000090 afe2fd00 mulu64.f r5,512 | |
39 | 00000098 afe37d00 mulu64.f r6,512 | |
40 | 000000a0 afe39100 mulu64.f r7,r8 | |
41 | 000000a4 afe00301 mulu64.eq.f r0,r1 | |
42 | 000000a8 afe17d02 mulu64.ne.f r2,0 | |
43 | 000000b0 afff070b mulu64.lt.f 0,r3 | |
44 | 000000b8 afe27d09 mulu64.gt.f r4,512 | |
45 | 000000c0 afff0b0c mulu64.le.f 512,r5 | |
46 | 000000c8 afff7d0a mulu64.ge.f 512,512 |