From 05e098ff4a026aa84092b6736fe5dbadf47e3f63 Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Mon, 9 Dec 2019 16:57:58 +0000 Subject: [PATCH] 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 --- src/arch/arm/isa/insts/sve_mem.isa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ''' -- 2.30.2