diff --git a/src/compiler/isaspec/isa.py b/src/compiler/isaspec/isa.py index 3320be76a28..2ef1ec1fa83 100644 --- a/src/compiler/isaspec/isa.py +++ b/src/compiler/isaspec/isa.py @@ -288,8 +288,8 @@ class BitSet(object): if 'max' in gen.attrib: self.gen_max = int(gen.attrib['max']) - if xml.find('meta') is not None: - self.meta = xml.find('meta').attrib + for meta in xml.findall('meta'): + self.meta.update(meta.attrib) # Collect up the match/dontcare/mask bitmasks for # this bitset case: