summaryrefslogtreecommitdiff
path: root/arch/mips/isa
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-04-27 16:44:12 -0400
committerKorey Sewell <ksewell@umich.edu>2006-04-27 16:44:12 -0400
commit316f1f323913482e02f992f9b38a873bbf8588e6 (patch)
tree50d84a5174b8a1c383d25aa4954d89a45b2d207c /arch/mips/isa
parent07d4ad4dbed164818bf7e643c362475084a33d15 (diff)
downloadgem5-316f1f323913482e02f992f9b38a873bbf8588e6.tar.xz
change readPC() + 4 to readNextPC() and the same for NNPC ...
arch/mips/isa/decoder.isa: remove useless cout statements arch/mips/isa_traits.hh: space --HG-- extra : convert_revision : 8b8cf5df6fc3eb92598360343eb887c35cda202d
Diffstat (limited to 'arch/mips/isa')
-rw-r--r--arch/mips/isa/decoder.isa22
1 files changed, 12 insertions, 10 deletions
diff --git a/arch/mips/isa/decoder.isa b/arch/mips/isa/decoder.isa
index d44782a41..4b6e475a8 100644
--- a/arch/mips/isa/decoder.isa
+++ b/arch/mips/isa/decoder.isa
@@ -407,7 +407,6 @@ decode OPCODE_HI default Unknown::unknown() {
format System {
0x2: cfc1({{
- std::cout << "FP Control Reg " << FS << "accessed." << std::endl;
uint32_t fcsr_reg = xc->readMiscReg(FCSR);
switch (FS)
@@ -434,8 +433,6 @@ decode OPCODE_HI default Unknown::unknown() {
}});
0x6: ctc1({{
- std::cout << "FP Control Reg " << FS << "accessed." << std::endl;
-
uint32_t fcsr_reg = xc->readMiscReg(FCSR);
uint32_t temp;
switch (FS)
@@ -553,22 +550,27 @@ decode OPCODE_HI default Unknown::unknown() {
format FloatOp {
0x1: cvt_d_s({{
- int rnd_mode = xc->readMiscReg(FCSR);
- Fd = convert_and_round(Fs.sf,rnd_mode,FP_DOUBLE,FP_SINGLE);
+ //int rnd_mode = xc->readMiscReg(FCSR);
+ Fd = convert_and_round(,DOUBLE_TO_SINGLE);
}});
- 0x4: cvt_w_s({{ int rnd_mode = xc->readMiscReg(FCSR);
- Fd = convert_and_round(Fs.sf,rnd_mode,FP_WORD,FP_SINGLE);
+ 0x4: cvt_w_s({{
+ //int rnd_mode = xc->readMiscReg(FCSR);
+ Fd = convert_and_round(Fs.sf,rnd_mode,FP_WORD,FP_SINGLE);
}});
}
//only legal for 64 bit
format Float64Op {
- 0x5: cvt_l_s({{ int rnd_mode = xc->readMiscReg(FCSR);
- Fd = convert_and_round(Fs.sf,rnd_mode,FP_LONG,FP_SINGLE);
+ 0x5: cvt_l_s({{
+ //int rnd_mode = xc->readMiscReg(FCSR);
+ Fd = convert_and_round(Fs.sf,rnd_mode,FP_LONG,FP_SINGLE);
}});
- 0x6: cvt_ps_s({{ /*Fd.df = Fs.df<31:0> | Ft.df<31:0>;*/ }});
+ 0x6: cvt_ps_s({{
+ //int rnd_mode = xc->readMiscReg(FCSR);
+ /*Fd.df = Fs.df<31:0> | Ft.df<31:0>;*/
+ }});
}
}
}