]> git.proxmox.com Git - mirror_qemu.git/blobdiff - scripts/decodetree.py
i386: Make unversioned CPU models be aliases
[mirror_qemu.git] / scripts / decodetree.py
index 81874e22cc7eaec097e56b47a81022ccf0fdc3ed..d7a59d63ac32f8f908f93ebdc43b4e09082ecee9 100755 (executable)
@@ -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)