In computer numerical control systems, linear segments, which are generated by computer-aided manufacturing software, are the most widely used toolpath format. Since the linear toolpath is discontinuous at the junction of two adjacent segments, the fluctuations on velocity, acceleration and jerk are inevitable. Local corner smoothing is widely used to address this problem. However, most existing methods use symmetrical splines to smooth the corners. When any one of the linear segments at the corner is short, to avoid overlap, the inserted spline will be micro, thereby increasing the curvature extreme of the spline and reducing the feedrate along it. In this article, the corners are smoothed by a 𝐶4 continuous asymmetric Pythagorean-hodograph (PH) spline. The curvature extreme of the proposed spline is investigated first, and 𝐾=2.5 is determined as the threshold to constarin the asymmetry of the spline. Then a two-step strategy is used to generate a blended toolpath composed of asymmetric PH splines and linear segments. In the first step, the PH splines at the corners are generated under the premise that the transition lengths do not exceed half of the length of the linear segments. In the second step, the splines at the corners are re-planned to reduce the curvature extremes, if the transition error does not reach the given threshold and there are extra linear trajectories on both sides of the spline trajectory. Finally, the bilinear interpolation method is applied to determine the critical points of the smoothed toolpath, and a jerk-continuous feedrate scheduling scheme is presented to interpolate the smoothed toolpath. Simulations show that, under the condition of not affecting the machining quality, the proposed method can improve the machining efficiency by 7.84% to 23.98% compared to 𝐺3 and 𝐺4 methods.