Lines Matching full:format
92 # 'Instruction' instances are created for every format of every isa.yaml
109 fmt = format.pretty
147 # Format instance for raw-data format name
148 def format method in Instruction
149 Panda.format_hash[dig(:format)]
158 ops_encoding = format.encoding
285 # Methods over format names
287 class Format class
304 raise "Incorrect format name #{name}" if bits % 8 != 0
488 # e.g. 'Panda::groups[0].instruction[0].format'
521 # Hash from format names to Format instances
524 fmt_name = instruction.format
525 fmts << [fmt_name, Format.new(fmt_name)]
550 # Array of all Format instances
594 # create separate instance for every instruction format and inherit group properties
598 if data_insn[:opcode_idx] && (data_insn[:opcode_idx].size != data_insn[:format].size)
599 raise 'format and opcode_idx arrays should have equal size'
602 data_insn[:format].each_with_index do |f, idx|
604 insn[:format] = f