Mechanisms of ultrahigh-order harmonic generation