changeset 1882c44e510a in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=1882c44e510a
description:
MIPS: Fix a compiler warning from the eret instruction.
diffstat:
src/arch/mips/isa/formats/control.isa | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (23 lines):
diff -r dac1e33e07b0 -r 1882c44e510a src/arch/mips/isa/formats/control.isa
--- a/src/arch/mips/isa/formats/control.isa Sat Jan 28 07:24:01 2012 -0800
+++ b/src/arch/mips/isa/formats/control.isa Sat Jan 28 07:24:23 2012 -0800
@@ -88,14 +88,14 @@
if (isCoprocessorEnabled(xc, 0)) {
%(code)s;
+
+ if(fault == NoFault)
+ {
+ %(op_wb)s;
+ }
} else {
fault = new CoprocessorUnusableFault(0);
}
-
- if(fault == NoFault)
- {
- %(op_wb)s;
- }
return fault;
}
}};
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev