Generator/GEMM : Register optimization in the template