Lines Matching full:prefix
117 def prefix method in Instruction
118 name = dig(:prefix)
140 if prefix
141 dig(:opcode_idx) << 8 | prefix.opcode_idx
271 class Prefix < SimpleDelegator class
400 # * prefix handlers that re-dispatch to prefixed instruction based on second byte of opcode_idx
404 handlers = Panda.instructions.reject(&:prefix) +
409 …Panda.instructions.select(&:prefix).stable_sort_by { |i| Panda.prefixes_hash[i.prefix.name].opcode…
415 …(Panda.instructions.reject(&:prefix).map(&:opcode_idx).max + 1)..(Panda.prefixes.map(&:opcode_idx)…
423 # Maximum value for secondary dispatch index for given prefix name
424 def secondary_opcode_bound(prefix) argument
425 prefix_data[prefix.name][:number_of_insns] - 1
428 # Offset in dispatch table for handlers of instructions for given prefix name
429 def secondary_opcode_offset(prefix) argument
430 256 + prefix_data[prefix.name][:delta]
438 …prefix_instructions_num = Panda.instructions.select { |i| i.prefix && (i.prefix.name == p.name) }.…
455 @table[prefix(item)] << item.opcode_idx
461 opcodes = @table[prefix(item)]
471 def prefix(item) method in OpcodeAssigner
472 item.prefix.nil? ? 'non_prefixed' : item.prefix
628 res << Prefix.new(p)