code: def check_int8_applicable(x, y, allow_padding=False):
      simd_avai = target_has_features(["avx512bw", "avx512f"])
      simd_avai |= target_has_features("amx-int8")
      # TODO(vvchernov): may be also target_has_features("avx2") or lower?
      return (
          simd_avai
          and "int8" in x.dtype
          and "int8" in y.dtype
          and (
              allow_padding
              or (y.shape[-2] % 16 == 0 and y.shape[-1] % 4 == 0)
          )
      )
  
file_path: tvm/python/tvm/topi/x86/dense_alter_op.py
imports: import tvm
  from tvm import autotvm, relay, te
  from tvm.target.codegen import target_has_features
  from ..None import nn
  from ..nn import dense_alter_layout
  from ..utils import get_const_tuple
  from .dense import _default_dense_pack_config
label_desc: Use image node_id 1 for calling a global function with example usage: check_int8_applicable(x, y, allow_padding) and returns: unknown