parameters: (self, bits, value, lane)
return_statement: return '%s[%d]' % (registers[register], lane)
docstring: Get the proper n-bit lane from the given register.
docstring_summary: Get the proper n-bit lane from the given register.
docstring_tokens: Get the proper n - bit lane from the given register .
function: def Lane(self, bits, value, lane):
      """Get the proper n-bit lane from the given register."""
      registers = []
      if value[0] == 'q':
        registers.append(_Low(value))
        registers.append(_High(value))
      else:
        registers.append(value)
  
      elems_per_register = 64 / bits
      register = lane / elems_per_register
      lane %= elems_per_register
  
      return '%s[%d]' % (registers[register], lane)
function_tokens: def Lane ( self , bits , value , lane ) : registers = [ ] if value [ 0 ] == 'q' : registers . append ( _Low ( value ) ) registers . append ( _High ( value ) ) else : registers . append ( value ) elems_per_register = 64 / bits register = lane / elems_per_register lane %= elems_per_register return '%s[%d]' % ( registers [ register ] , lane )