We apply the generalized sphere-packing bound to two classes of subblock-constrained codes.À la Fazeli et al. (2015), we made use of automorphism to significantly reduce the number of variables in the associated linear programming problem. In particular, we study binary constant subblock-composition codes (CSCCs), characterized by the property that the number of ones in each subblock is constant, and binary subblock energy-constrained codes (SECCs), characterized by the property that the number of ones in each subblock exceeds a certain threshold. For CSCCs, we show that the optimization problem is equivalent to finding the minimum of N variables, where N is independent of the number of subblocks. We then provide closed-form solutions for the generalized spherepacking bounds for single-and double-error correcting CSCCs. For SECCs, we provide closed-form solutions for the generalized sphere-packing bounds for single errors in certain special cases. We also obtain improved bounds on the optimal asymptotic rate for CSCCs and SECCs, and provide numerical examples to highlight the improvement.Example 4 (Example 3 continued). Consider m = 4, L = 3, w = 2 and t = 1. Then consider the pair Y * , X * , where Y * = (0, 1/12, 1/4, 1/4, 0, 0, 0, 0, 0), and X * = (1, 0, 0, 18, 45/2).