From: Giacomo Travaglini Date: Mon, 9 Dec 2019 16:57:58 +0000 (+0000) Subject: arch-arm: Avoid creating an empty byteEnable vector X-Git-Tag: v19.0.0.0~195 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05e098ff4a026aa84092b6736fe5dbadf47e3f63;p=gem5.git arch-arm: Avoid creating an empty byteEnable vector This behaviour will be forbidden in following patches. Instead, create an all true vector. JIRA: https://gem5.atlassian.net/browse/GEM5-196 Change-Id: I61d2852610281f2d7c7a669dcb4d2728be194f52 Signed-off-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23524 Reviewed-by: Jason Lowe-Power Tested-by: kokoro --- diff --git a/src/arch/arm/isa/insts/sve_mem.isa b/src/arch/arm/isa/insts/sve_mem.isa index dd3d5827c..b36c1b271 100644 --- a/src/arch/arm/isa/insts/sve_mem.isa +++ b/src/arch/arm/isa/insts/sve_mem.isa @@ -774,7 +774,7 @@ let {{ EA = XBase + ((int64_t) imm * %(memacc_size)s)''' % { 'memacc_size': 'eCount / 8' if isPred else 'eCount'} loadRdEnableCode = ''' - auto rdEn = std::vector(); + auto rdEn = std::vector(memAccessSize, true); ''' if isPred: loadMemAccCode = '''