• Home
  • Raw
  • Download

Lines Matching +full:attrib +full:-

62     if cond.attrib.get('alias', False) and not aliased:
65 if 'left' in cond.attrib:
66 return [cond.tag, cond.attrib['left'], cond.attrib['right']]
71 return [int(obj.attrib['mask'], 0), int(obj.attrib['exact'], 0)]
77 loc = [int(deriv.attrib['start']), int(deriv.attrib['size'])]
92 if mod.attrib.get('pseudo', False) and not include_pseudo:
95 name = mod.attrib['name']
96 start = mod.attrib.get('start', None)
97 size = int(mod.attrib['size'])
105 if 'opt' in mod.attrib:
106 opts = ['none', mod.attrib['opt']]
109 default = mod.attrib.get('default', 'none' if 'none' in opts else None)
159 'staging': ins.attrib.get('staging', '').split('=')[0],
160 'staging_count': ins.attrib.get('staging', '=0').split('=')[1],
161 'dests': int(ins.attrib.get('dests', '1')),
162 'variable_dests': ins.attrib.get('variable_dests', False),
163 'variable_srcs': ins.attrib.get('variable_srcs', False),
164 'unused': ins.attrib.get('unused', False),
165 'pseudo': ins.attrib.get('pseudo', False),
166 'message': ins.attrib.get('message', 'none'),
167 'last': ins.attrib.get('last', False),
168 'table': ins.attrib.get('table', False),
171 if 'exact' in ins.attrib:
177 if src.attrib.get('pseudo', False) and not include_pseudo:
180 mask = int(src.attrib['mask'], 0) if ('mask' in src.attrib) else 0xFF
181 if src.attrib.get('start') is not None:
182 common['srcs'].append([int(src.attrib['start'], 0), mask])
185 if src.attrib.get('absneg', False):
191 if imm.attrib.get('pseudo', False) and not include_pseudo:
194 start = int(imm.attrib['start']) if 'start' in imm.attrib else None
195 common['immediates'].append([imm.attrib['name'], start, int(imm.attrib['size'])])
199 if imm.attrib.get('pseudo', False) and not include_pseudo:
202 base_name = imm.attrib['name']
203 name = imm.attrib.get('ir_name', base_name)
207 start = int(imm.attrib['start']) if 'start' in imm.attrib else None
208 common['immediates'].append([name, start, int(imm.attrib['size'])])
213 if sr.attrib.get('read', False):
215 if sr.attrib.get('write', False):
223 size = sr.attrib.get('count', 'sr_count')
229 if m.attrib.get('int_only', False):
231 elif m.attrib.get('eqne_only', False):
234 name = m.attrib.get('name', '')
250 mp[m.attrib['from']] = m.attrib['to']
252 rewrites[rw.attrib['name']] = mp
283 base_name = ins.attrib['name']
284 if group.attrib['unit'] == 'fma':
296 if gr.attrib.get('unused', False) and not include_unused:
298 if gr.attrib.get('pseudo', False) and not include_pseudo:
326 # Expand out an opcode name to something C-escaped
362 # Converstions to integers default to rounding-to-zero
365 # 8-bit int to float is exact
427 # modifier name -> (list of option strings)
434 name_ = name[0:-1] if name[-1] in "0123" else name
465 if opcode[-3:] == '128':
467 if opcode[-2:] == '48':
469 elif opcode[-1] == '8':
473 return int(opcode[-2:])