control.isa (8800:1882c44e510a) control.isa (9554:406fbcf60223)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 MIPS Technologies, Inc.
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are
8// met: redistributions of source code must retain the above copyright

--- 158 unchanged lines hidden (view full) ---

167 {
168 std::stringstream ss;
169 ccprintf(ss, "%-10s r%d, f%d", mnemonic, RT, FS);
170 return ss.str();
171 }
172
173}};
174
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 MIPS Technologies, Inc.
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are
8// met: redistributions of source code must retain the above copyright

--- 158 unchanged lines hidden (view full) ---

167 {
168 std::stringstream ss;
169 ccprintf(ss, "%-10s r%d, f%d", mnemonic, RT, FS);
170 return ss.str();
171 }
172
173}};
174
175output header {{
176 bool isCoprocessorEnabled(%(CPU_exec_context)s *xc, unsigned cop_num);
177
178 bool isMMUTLB(%(CPU_exec_context)s *xc);
179
180}};
181
175output exec {{
176 bool
177 isCoprocessorEnabled(%(CPU_exec_context)s *xc, unsigned cop_num)
178 {
179 if (!FullSystem)
180 return true;
181
182 MiscReg Stat = xc->readMiscReg(MISCREG_STATUS);

--- 65 unchanged lines hidden ---
182output exec {{
183 bool
184 isCoprocessorEnabled(%(CPU_exec_context)s *xc, unsigned cop_num)
185 {
186 if (!FullSystem)
187 return true;
188
189 MiscReg Stat = xc->readMiscReg(MISCREG_STATUS);

--- 65 unchanged lines hidden ---