thread_context.hh (6029:007c36616f47) | thread_context.hh (6314:781969fbeca9) |
---|---|
1/* 2 * Copyright (c) 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; --- 160 unchanged lines hidden (view full) --- 169 } 170 171 // 172 // New accessors for new decoder. 173 // 174 uint64_t readIntReg(int reg_idx) 175 { return actualTC->readIntReg(reg_idx); } 176 | 1/* 2 * Copyright (c) 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; --- 160 unchanged lines hidden (view full) --- 169 } 170 171 // 172 // New accessors for new decoder. 173 // 174 uint64_t readIntReg(int reg_idx) 175 { return actualTC->readIntReg(reg_idx); } 176 |
177 FloatReg readFloatReg(int reg_idx, int width) 178 { return actualTC->readFloatReg(reg_idx, width); } 179 | |
180 FloatReg readFloatReg(int reg_idx) 181 { return actualTC->readFloatReg(reg_idx); } 182 | 177 FloatReg readFloatReg(int reg_idx) 178 { return actualTC->readFloatReg(reg_idx); } 179 |
183 FloatRegBits readFloatRegBits(int reg_idx, int width) 184 { return actualTC->readFloatRegBits(reg_idx, width); } 185 | |
186 FloatRegBits readFloatRegBits(int reg_idx) 187 { return actualTC->readFloatRegBits(reg_idx); } 188 189 void setIntReg(int reg_idx, uint64_t val) 190 { 191 actualTC->setIntReg(reg_idx, val); 192 checkerTC->setIntReg(reg_idx, val); 193 } 194 | 180 FloatRegBits readFloatRegBits(int reg_idx) 181 { return actualTC->readFloatRegBits(reg_idx); } 182 183 void setIntReg(int reg_idx, uint64_t val) 184 { 185 actualTC->setIntReg(reg_idx, val); 186 checkerTC->setIntReg(reg_idx, val); 187 } 188 |
195 void setFloatReg(int reg_idx, FloatReg val, int width) 196 { 197 actualTC->setFloatReg(reg_idx, val, width); 198 checkerTC->setFloatReg(reg_idx, val, width); 199 } 200 | |
201 void setFloatReg(int reg_idx, FloatReg val) 202 { 203 actualTC->setFloatReg(reg_idx, val); 204 checkerTC->setFloatReg(reg_idx, val); 205 } 206 | 189 void setFloatReg(int reg_idx, FloatReg val) 190 { 191 actualTC->setFloatReg(reg_idx, val); 192 checkerTC->setFloatReg(reg_idx, val); 193 } 194 |
207 void setFloatRegBits(int reg_idx, FloatRegBits val, int width) 208 { 209 actualTC->setFloatRegBits(reg_idx, val, width); 210 checkerTC->setFloatRegBits(reg_idx, val, width); 211 } 212 | |
213 void setFloatRegBits(int reg_idx, FloatRegBits val) 214 { 215 actualTC->setFloatRegBits(reg_idx, val); 216 checkerTC->setFloatRegBits(reg_idx, val); 217 } 218 219 uint64_t readPC() { return actualTC->readPC(); } 220 --- 61 unchanged lines hidden --- | 195 void setFloatRegBits(int reg_idx, FloatRegBits val) 196 { 197 actualTC->setFloatRegBits(reg_idx, val); 198 checkerTC->setFloatRegBits(reg_idx, val); 199 } 200 201 uint64_t readPC() { return actualTC->readPC(); } 202 --- 61 unchanged lines hidden --- |