mt.hh (6383:31c067ae3331) mt.hh (6424:58e3056d918e)
1/*
2 * Copyright (c) 2007 MIPS Technologies, Inc.
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;

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

113 int num_threads = mvpConf.ptc + 1;
114
115 int success = 0;
116 for (ThreadID tid = 0; tid < num_threads && success == 0; tid++) {
117 TCBindReg tidTCBind =
118 tc->readRegOtherThread(MISCREG_TC_BIND + Ctrl_Base_DepTag, tid);
119 TCBindReg tcBind = tc->readMiscRegNoEffect(MISCREG_TC_BIND);
120
1/*
2 * Copyright (c) 2007 MIPS Technologies, Inc.
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;

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

113 int num_threads = mvpConf.ptc + 1;
114
115 int success = 0;
116 for (ThreadID tid = 0; tid < num_threads && success == 0; tid++) {
117 TCBindReg tidTCBind =
118 tc->readRegOtherThread(MISCREG_TC_BIND + Ctrl_Base_DepTag, tid);
119 TCBindReg tcBind = tc->readMiscRegNoEffect(MISCREG_TC_BIND);
120
121 if (tidTCBind.curVPE = tcBind.curVPE) {
121 if (tidTCBind.curVPE == tcBind.curVPE) {
122
123 TCStatusReg tidTCStatus =
124 tc->readRegOtherThread(MISCREG_TC_STATUS +
125 Ctrl_Base_DepTag,tid);
126
127 TCHaltReg tidTCHalt =
128 tc->readRegOtherThread(MISCREG_TC_HALT + Ctrl_Base_DepTag,tid);
129

--- 149 unchanged lines hidden ---
122
123 TCStatusReg tidTCStatus =
124 tc->readRegOtherThread(MISCREG_TC_STATUS +
125 Ctrl_Base_DepTag,tid);
126
127 TCHaltReg tidTCHalt =
128 tc->readRegOtherThread(MISCREG_TC_HALT + Ctrl_Base_DepTag,tid);
129

--- 149 unchanged lines hidden ---