simple_thread.hh (7341:95404ec156de) simple_thread.hh (7400:f6c9b27c4dbe)
1/*
2 * Copyright (c) 2001-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

249
250 void clearArchRegs()
251 {
252 microPC = 0;
253 nextMicroPC = 1;
254 PC = nextPC = nextNPC = 0;
255 memset(intRegs, 0, sizeof(intRegs));
256 memset(floatRegs.i, 0, sizeof(floatRegs.i));
1/*
2 * Copyright (c) 2001-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

249
250 void clearArchRegs()
251 {
252 microPC = 0;
253 nextMicroPC = 1;
254 PC = nextPC = nextNPC = 0;
255 memset(intRegs, 0, sizeof(intRegs));
256 memset(floatRegs.i, 0, sizeof(floatRegs.i));
257 isa.clear();
257 }
258
259 //
260 // New accessors for new decoder.
261 //
262 uint64_t readIntReg(int reg_idx)
263 {
264 int flatIndex = isa.flattenIntIndex(reg_idx);

--- 166 unchanged lines hidden ---
258 }
259
260 //
261 // New accessors for new decoder.
262 //
263 uint64_t readIntReg(int reg_idx)
264 {
265 int flatIndex = isa.flattenIntIndex(reg_idx);

--- 166 unchanged lines hidden ---