When no special punishment is provided for a felony, it shall, at the discretion of the court, be by one or more of the following modes, to wit: Confinement in the Penitentiary or in a workhouse or penal farm, when such institutions shall exist, for a period of not less than three months nor more than ten years, with such imposition of hard labor and solitary confinement as may be directed.
S.C. Code § 17-25-20