summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/trunc.d
blob: 0087c02f13edee3b5611a15ddfa65065c0a77608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#objdump: -dr --prefix-addresses -mmips:3000
#name: MIPS trunc
#as: -mips1 -mtune=r3000

# Test the trunc macros.

.*: +file format .*mips.*

Disassembly of section .text:
0+0000 <[^>]*> cfc1	a0,ra
0+0004 <[^>]*> cfc1	a0,ra
0+0008 <[^>]*> nop
0+000c <[^>]*> ori	at,a0,0x3
0+0010 <[^>]*> xori	at,at,0x2
0+0014 <[^>]*> ctc1	at,ra
0+0018 <[^>]*> nop
0+001c <[^>]*> cvt.w.d	\$f4,\$f6
0+0020 <[^>]*> ctc1	a0,ra
0+0024 <[^>]*> nop
0+0028 <[^>]*> cfc1	a0,ra
0+002c <[^>]*> cfc1	a0,ra
0+0030 <[^>]*> nop
0+0034 <[^>]*> ori	at,a0,0x3
0+0038 <[^>]*> xori	at,at,0x2
0+003c <[^>]*> ctc1	at,ra
0+0040 <[^>]*> nop
0+0044 <[^>]*> cvt.w.s	\$f4,\$f6
0+0048 <[^>]*> ctc1	a0,ra
0+004c <[^>]*> nop