projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed048e
)
gcc: fix an uninitialized variable warning from G++ 4.5
author
Nathan Binkert
<nate@binkert.org>
Wed, 18 May 2011 18:06:23 +0000
(11:06 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Wed, 18 May 2011 18:06:23 +0000
(11:06 -0700)
src/arch/arm/isa/insts/macromem.isa
patch
|
blob
|
history
diff --git
a/src/arch/arm/isa/insts/macromem.isa
b/src/arch/arm/isa/insts/macromem.isa
index d5800576c05d7590bbba82dcf2b991c77e05fa41..d5b44cd0535cfcd92c3c4775fe54f1a69e54a0b0 100644
(file)
--- a/
src/arch/arm/isa/insts/macromem.isa
+++ b/
src/arch/arm/isa/insts/macromem.isa
@@
-541,6
+541,9
@@
let {{
for (unsigned i = 0; i < %(sRegs)d; i++) {
destRegs.elements[i] = sourceRegs[i].elements[lane];
}
+ for (unsigned i = %(sRegs)d; i < %(dRegs)d * perDReg; ++i) {
+ destRegs.elements[i] = 0;
+ }
%(unloadRegs)s
''' % { "sRegs" : sRegs, "dRegs" : dRegs,