Lines Matching full:prefix
117 def prefix method in Instruction
118 name = dig(:prefix)
144 if prefix
145 dig(:opcode_idx) << 8 | prefix.opcode_idx
288 dig(:prefix) == 'throw' && !properties.include?('conditional_throw')
295 class Prefix < SimpleDelegator class
436 # * prefix handlers that re-dispatch to prefixed instruction based on second byte of opcode_idx
440 handlers = Panda.instructions.reject(&:prefix) +
445 …Panda.instructions.select(&:prefix).stable_sort_by { |i| Panda.prefixes_hash[i.prefix.name].opcode…
451 …(Panda.instructions.reject(&:prefix).map(&:opcode_idx).max + 1)..(Panda.prefixes.map(&:opcode_idx)…
459 # Maximum value for secondary dispatch index for given prefix name
460 def secondary_opcode_bound(prefix) argument
461 prefix_data[prefix.name][:number_of_insns] - 1
464 # Offset in dispatch table for handlers of instructions for given prefix name
465 def secondary_opcode_offset(prefix) argument
466 256 + prefix_data[prefix.name][:delta]
474 …prefix_instructions_num = Panda.instructions.select { |i| i.prefix && (i.prefix.name == p.name) }.…
491 @table[prefix(item)] << item.opcode_idx
497 opcodes = @table[prefix(item)]
507 def prefix(item) method in OpcodeAssigner
508 item.prefix.nil? ? 'non_prefixed' : item.prefix
664 res << Prefix.new(p)