* config/tc-mips.c (load_delay_nop): New function.
authorThiemo Seufer <ths@networkno.de>
Thu, 22 Apr 2004 18:13:56 +0000 (18:13 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 22 Apr 2004 18:13:56 +0000 (18:13 +0000)
commit269137b29af50acd8e84f66fdeef94f3559bf75c
tree817af359b166975392f24c98fc1dbba1ce783cb2
parent24772049ed946f99d2ae9cf157129c63ecadb322
* config/tc-mips.c (load_delay_nop): New function.
(load_address, macro): Use load_delay_nop() to build a nop
which can be omitted with gpr_interlocks.

* gas/mips/lb-xgot-ilocks.d: Remove nops in load delay slot.
* gas/mips/mips-abi32-pic.d: Likewise.
* gas/mips/mips-abi32-pic2.d: Likewise.
* gas/mips/mips-gp32-fp32-pic.d: Likewise.
* gas/mips/mips-gp32-fp64-pic.d: Likewise.
* gas/mips/mips-gp64-fp32-pic.d: Likewise.
* gas/mips/mips-gp64-fp64-pic.d: Likewise.
* gas/mips/relax-swap1-mips2.d: Likewise.
* gas/mips/lb-svr4pic-ilocks.d: New test.
* gas/mips/mips.exp: Run it.
13 files changed:
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/lb-svr4pic-ilocks.d [new file with mode: 0644]
gas/testsuite/gas/mips/lb-xgot-ilocks.d
gas/testsuite/gas/mips/mips-abi32-pic.d
gas/testsuite/gas/mips/mips-abi32-pic2.d
gas/testsuite/gas/mips/mips-gp32-fp32-pic.d
gas/testsuite/gas/mips/mips-gp32-fp64-pic.d
gas/testsuite/gas/mips/mips-gp64-fp32-pic.d
gas/testsuite/gas/mips/mips-gp64-fp64-pic.d
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/relax-swap1-mips2.d