projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f04e535
)
Add setData functions for the new Twin??_t types.
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 7 Mar 2007 17:46:06 +0000
(17:46 +0000)
committer
Gabe Black
<gblack@eecs.umich.edu>
Wed, 7 Mar 2007 17:46:06 +0000
(17:46 +0000)
--HG--
extra : convert_revision :
6f4e08e76eb4a95eb08b11632f6e33ba458723b6
src/cpu/exetrace.hh
patch
|
blob
|
history
diff --git
a/src/cpu/exetrace.hh
b/src/cpu/exetrace.hh
index 0f642c08ead96642181bae964a77054343468009..8c0fa22cb401aa825d6697d04c8245064e5d2c5f 100644
(file)
--- a/
src/cpu/exetrace.hh
+++ b/
src/cpu/exetrace.hh
@@
-116,6
+116,8
@@
class InstRecord
void setAddr(Addr a) { addr = a; addr_valid = true; }
+ void setData(Twin64_t d) { data.as_int = d.a; data_status = DataInt64; }
+ void setData(Twin32_t d) { data.as_int = d.a; data_status = DataInt32; }
void setData(uint64_t d) { data.as_int = d; data_status = DataInt64; }
void setData(uint32_t d) { data.as_int = d; data_status = DataInt32; }
void setData(uint16_t d) { data.as_int = d; data_status = DataInt16; }