gas/ * config/tc-mips.c (mips_fix_pmc_rm7000): Declare. (options): Add OPTION_FIX_PMC_RM7000 and OPTION_NO_FIX_PMC_RM7000. (md_longopts): Add mfix-pmc-rm7000 and mno-fix-pmc-rm7000. (INSN_DMULT): Define. (INSN_DMULTU): Define. (insns_between): Detect PMC RM7000 errata. (md_parse_option): Supprt OPTION_FIX_PMC_RM7000 and OPTION_NO_FIX_PMC_RM7000. * doc/as.texinfo: Document new options. * doc/c-mips.texi: Likewise. gas/testsuite/ * gas/mips/fix-pmc-rm7000-1.d: New. * gas/mips/fix-pmc-rm7000-1.s: New. * gas/mips/fix-pmc-rm7000-2.d: New. * gas/mips/fix-pmc-rm7000-2.s: New. * gas/mips/micromips@fix-pmc-rm7000-1.d: New. * gas/mips/micromips@fix-pmc-rm7000-2.d: New. * gas/mips/mips.exp: Run new tests.
23 lines
469 B
Makefile
23 lines
469 B
Makefile
#as: -mfix-rm7000 -mgp64 -mabi=64
|
|
#objdump: -dz --prefix-addresses
|
|
#name: MIPS RM7000 workarounds test 1
|
|
#source: fix-rm7000-1.s
|
|
|
|
.*file format.*
|
|
|
|
Disassembly.*
|
|
|
|
0+0000 <[^>]*> move v0,a0
|
|
0+0004 <[^>]*> dmult a2,v1
|
|
0+0008 <[^>]*> nop
|
|
0+000c <[^>]*> nop
|
|
0+0010 <[^>]*> nop
|
|
0+0014 <[^>]*> ld a3,0\(s8\)
|
|
0+0018 <[^>]*> ld a0,0\(s8\)
|
|
0+001c <[^>]*> move a0,a3
|
|
0+0020 <[^>]*> dmult v0,a3
|
|
0+0024 <[^>]*> nop
|
|
0+0028 <[^>]*> nop
|
|
0+002c <[^>]*> nop
|
|
0+0030 <[^>]*> ld a0,0\(s8\)
|