diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arm/isa/insts/macromem.isa | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/arm/isa/insts/macromem.isa b/src/arch/arm/isa/insts/macromem.isa index d5800576c..d5b44cd05 100644 --- 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, |