[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH 01/42] decodetree: Fix comparison of Field
From: |
Peter Maydell |
Subject: |
[Qemu-arm] [PATCH 01/42] decodetree: Fix comparison of Field |
Date: |
Thu, 6 Jun 2019 18:45:28 +0100 |
From: Richard Henderson <address@hidden>
Typo comparing the sign of the field, twice, instead of also comparing
the mask of the field (which itself encodes both position and length).
Reported-by: Peter Maydell <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
---
scripts/decodetree.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/decodetree.py b/scripts/decodetree.py
index 81874e22cc7..d7a59d63ac3 100755
--- a/scripts/decodetree.py
+++ b/scripts/decodetree.py
@@ -184,7 +184,7 @@ class Field:
return '{0}(insn, {1}, {2})'.format(extr, self.pos, self.len)
def __eq__(self, other):
- return self.sign == other.sign and self.sign == other.sign
+ return self.sign == other.sign and self.mask == other.mask
def __ne__(self, other):
return not self.__eq__(other)
--
2.20.1
- [Qemu-arm] [PATCH 00/42] target/arm: Convert VFP decoder to decodetree, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 04/42] target/arm: Fix Cortex-R5F MVFR values, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 06/42] target/arm: Convert the VSEL instructions to decodetree, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 10/42] target/arm: Move the VFP trans_* functions to translate-vfp.inc.c, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 01/42] decodetree: Fix comparison of Field,
Peter Maydell <=
- [Qemu-arm] [PATCH 38/42] target/arm: Convert integer-to-float insns to decodetree, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 37/42] target/arm: Convert double-single precision conversion insns to decodetree, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 20/42] target/arm: Convert VFP VNMLS to decodetree, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 40/42] target/arm: Convert VCVT fp/fixed-point conversion insns to decodetree, Peter Maydell, 2019/06/06
- [Qemu-arm] [PATCH 21/42] target/arm: Convert VFP VNMLA to decodetree, Peter Maydell, 2019/06/06