simple_thread.hh (11886:43b882cada33) | simple_thread.hh (12106:7784fac1b159) |
---|---|
1/* 2 * Copyright (c) 2011-2012 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 387 unchanged lines hidden (view full) --- 396 } 397 398 void 399 setMiscReg(int misc_reg, const MiscReg &val, ThreadID tid = 0) 400 { 401 return isa->setMiscReg(misc_reg, val, tc); 402 } 403 | 1/* 2 * Copyright (c) 2011-2012 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 387 unchanged lines hidden (view full) --- 396 } 397 398 void 399 setMiscReg(int misc_reg, const MiscReg &val, ThreadID tid = 0) 400 { 401 return isa->setMiscReg(misc_reg, val, tc); 402 } 403 |
404 int 405 flattenIntIndex(int reg) | 404 RegId 405 flattenRegId(const RegId& regId) const |
406 { | 406 { |
407 return isa->flattenIntIndex(reg); | 407 return isa->flattenRegId(regId); |
408 } 409 | 408 } 409 |
410 int 411 flattenFloatIndex(int reg) 412 { 413 return isa->flattenFloatIndex(reg); 414 } 415 416 int 417 flattenCCIndex(int reg) 418 { 419 return isa->flattenCCIndex(reg); 420 } 421 422 int 423 flattenMiscIndex(int reg) 424 { 425 return isa->flattenMiscIndex(reg); 426 } 427 | |
428 unsigned readStCondFailures() { return storeCondFailures; } 429 430 void setStCondFailures(unsigned sc_failures) 431 { storeCondFailures = sc_failures; } 432 433 void syscall(int64_t callnum, Fault *fault) 434 { 435 process->syscall(callnum, tc, fault); --- 27 unchanged lines hidden --- | 410 unsigned readStCondFailures() { return storeCondFailures; } 411 412 void setStCondFailures(unsigned sc_failures) 413 { storeCondFailures = sc_failures; } 414 415 void syscall(int64_t callnum, Fault *fault) 416 { 417 process->syscall(callnum, tc, fault); --- 27 unchanged lines hidden --- |