projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a46e100
)
Reorganize the floating point register file a little.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 5 Mar 2007 17:57:26 +0000
(17:57 +0000)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 5 Mar 2007 17:57:26 +0000
(17:57 +0000)
--HG--
extra : convert_revision :
643c147b77e931d49ac559681d4bbda737f6e1c7
src/arch/x86/floatregfile.hh
patch
|
blob
|
history
diff --git
a/src/arch/x86/floatregfile.hh
b/src/arch/x86/floatregfile.hh
index 67ce7c18eac1614707ae7e1242aead7e48fc6843..18371280dc93b81f1cf6d485799b54e873a4be93 100644
(file)
--- a/
src/arch/x86/floatregfile.hh
+++ b/
src/arch/x86/floatregfile.hh
@@
-105,8
+105,17
@@
namespace X86ISA
class FloatRegFile
{
+ public:
+ static const int SingleWidth = 32;
+ static const int DoubleWidth = 64;
+ static const int QuadWidth = 128;
+
protected:
- double regs[NumFloatRegs];
+ union
+ {
+ uint64_t q[NumFloatRegs];
+ double d[NumFloatRegs];
+ };
public:
void clear();