diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-04-12 14:53:20 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-04-12 14:53:20 +0000 |
commit | c0efbca4a368289fc4a8cc9a050668d06c07a46d (patch) | |
tree | d014b3062f6dea1fc52fc7b76b1879e149764600 /sim/mips/mips.igen | |
parent | 8cc32590ddd485f534acad9b6a3b792e0c8280bf (diff) | |
download | fsf-binutils-gdb-c0efbca4a368289fc4a8cc9a050668d06c07a46d.zip fsf-binutils-gdb-c0efbca4a368289fc4a8cc9a050668d06c07a46d.tar.gz fsf-binutils-gdb-c0efbca4a368289fc4a8cc9a050668d06c07a46d.tar.bz2 |
* mips.igen (CFC1, CTC1): Pass the correct register numbers to
PENDING_FILL. Use PENDING_SCHED directly to handle the pending
set of the FCSR.
* sim-main.h (COCIDX): Remove definition; this isn't supported by
PENDING_FILL, and you can get the intended effect gracefully by
calling PENDING_SCHED directly.
Diffstat (limited to 'sim/mips/mips.igen')
-rw-r--r-- | sim/mips/mips.igen | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/mips/mips.igen b/sim/mips/mips.igen index f8263f4..03f783a 100644 --- a/sim/mips/mips.igen +++ b/sim/mips/mips.igen @@ -2839,11 +2839,11 @@ if (X) { if (FS == 0) - PENDING_FILL((FS + FCR0IDX),VL4_8(GPR[RT])); + PENDING_FILL(FCR0IDX,VL4_8(GPR[RT])); else if (FS == 31) - PENDING_FILL((FS + FCR31IDX),VL4_8(GPR[RT])); + PENDING_FILL(FCR31IDX,VL4_8(GPR[RT])); /* else NOP */ - PENDING_FILL(COCIDX,0); /* special case */ + PENDING_SCHED(FCSR, FCR31 & (1<<23), 1, 23); } else { /* control from */ |