* config/tc-mips.c (load_delay_nop): New function.
commitd2ab57d9f54863a70dad3a11bf2992f67346593a
authorThiemo Seufer <ths@networkno.de>
Thu, 22 Apr 2004 18:13:56 +0000 (22 18:13 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 22 Apr 2004 18:13:56 +0000 (22 18:13 +0000)
tree377d74fd0d0b5a879c1fdb3646534c83a664b0c3
parent631035e739f6695f636ab42cf1bac108ec267429
* 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