From a93fe3f3cf2b2ad7b0c5b9916bc705a579ca231c Mon Sep 17 00:00:00 2001 From: Javier Setoain Date: Thu, 14 Mar 2019 17:42:44 +0000 Subject: [PATCH] arch-arm: Fix use of bitwise operators on booleans Change-Id: I3762b2921f1d00a9104d8dc11a19dc0a219581e5 Reviewed-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17288 Reviewed-by: Gabe Black Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/arch/arm/isa/insts/sve.isa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/arm/isa/insts/sve.isa b/src/arch/arm/isa/insts/sve.isa index b1b946f63..647ceafe3 100644 --- a/src/arch/arm/isa/insts/sve.isa +++ b/src/arch/arm/isa/insts/sve.isa @@ -3182,9 +3182,9 @@ let {{ sveBinInst('bic', 'BicPred', 'SimdAluOp', unsignedTypes, bicCode, PredType.MERGE, True) # BIC (vectors, unpredicated) - bicCode = 'destElem = srcElem1 & ~srcElem2;' sveBinInst('bic', 'BicUnpred', 'SimdAluOp', unsignedTypes, bicCode) # BIC, BICS (predicates) + bicCode = 'destElem = srcElem1 && !srcElem2;' svePredLogicalInst('bic', 'PredBic', 'SimdPredAluOp', ('uint8_t',), bicCode) svePredLogicalInst('bics', 'PredBics', 'SimdPredAluOp', ('uint8_t',), -- 2.30.2