def METHOD_NAME(name):
  match = re.fullmatch(r"xnn_(f16|f16_f32acc|f32)_r(minmax|max|min|sum)_ukernel__(.+)_u(\d+)(_acc\d+)?", name)
  if match is None:
    raise ValueError("Unexpected microkernel name: " + name)
  op_type = {
    "minmax": "MinMax",
    "max": "Max",
    "min": "Min",
    "sum": "Sum",
  }[match.group(2)]
  batch_tile = int(match.group(4))
  arch, isa, assembly = xnncommon.parse_target_name(target_name=match.group(3))
  return op_type, batch_tile, arch, isa