def METHOD_NAME(x, y, allow_padding=False):
    mcpu = tvm.target.Target.current().mcpu
    # TODO(vvchernov): may be also target_has_avx2 or lower?
    simd_avai = target_has_avx512(mcpu) or target_has_amx(mcpu)
    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))
    )