1#objdump: -dr --prefix-addresses --show-raw-insn -M gpr-names=numeric,cp0-names=mips32
2#name: MIPS CP0 register disassembly (mips32)
3#source: cp0-names.s
4
5# Check objdump's handling of -M cp0-names=foo options.
6
7.*: +file format .*mips.*
8
9Disassembly of section .text:
100+0000 <[^>]*> 40800000 	mtc0	\$0,c0_index
110+0004 <[^>]*> 40800800 	mtc0	\$0,c0_random
120+0008 <[^>]*> 40801000 	mtc0	\$0,c0_entrylo0
130+000c <[^>]*> 40801800 	mtc0	\$0,c0_entrylo1
140+0010 <[^>]*> 40802000 	mtc0	\$0,c0_context
150+0014 <[^>]*> 40802800 	mtc0	\$0,c0_pagemask
160+0018 <[^>]*> 40803000 	mtc0	\$0,c0_wired
170+001c <[^>]*> 40803800 	mtc0	\$0,\$7
180+0020 <[^>]*> 40804000 	mtc0	\$0,c0_badvaddr
190+0024 <[^>]*> 40804800 	mtc0	\$0,c0_count
200+0028 <[^>]*> 40805000 	mtc0	\$0,c0_entryhi
210+002c <[^>]*> 40805800 	mtc0	\$0,c0_compare
220+0030 <[^>]*> 40806000 	mtc0	\$0,c0_status
230+0034 <[^>]*> 40806800 	mtc0	\$0,c0_cause
240+0038 <[^>]*> 40807000 	mtc0	\$0,c0_epc
250+003c <[^>]*> 40807800 	mtc0	\$0,c0_prid
260+0040 <[^>]*> 40808000 	mtc0	\$0,c0_config
270+0044 <[^>]*> 40808800 	mtc0	\$0,c0_lladdr
280+0048 <[^>]*> 40809000 	mtc0	\$0,c0_watchlo
290+004c <[^>]*> 40809800 	mtc0	\$0,c0_watchhi
300+0050 <[^>]*> 4080a000 	mtc0	\$0,c0_xcontext
310+0054 <[^>]*> 4080a800 	mtc0	\$0,\$21
320+0058 <[^>]*> 4080b000 	mtc0	\$0,\$22
330+005c <[^>]*> 4080b800 	mtc0	\$0,c0_debug
340+0060 <[^>]*> 4080c000 	mtc0	\$0,c0_depc
350+0064 <[^>]*> 4080c800 	mtc0	\$0,c0_perfcnt
360+0068 <[^>]*> 4080d000 	mtc0	\$0,c0_errctl
370+006c <[^>]*> 4080d800 	mtc0	\$0,c0_cacheerr
380+0070 <[^>]*> 4080e000 	mtc0	\$0,c0_taglo
390+0074 <[^>]*> 4080e800 	mtc0	\$0,c0_taghi
400+0078 <[^>]*> 4080f000 	mtc0	\$0,c0_errorepc
410+007c <[^>]*> 4080f800 	mtc0	\$0,c0_desave
42	\.\.\.
43