The meiotic divisions undergone by the primary and secondary spermatocytes to produce haploid spermatids.