[NDS32] Implement more C ISR extension.
[gcc.git] / libgcc / config / nds32 / isr-library / vec_vid12.S
index a595811194633c94f839cd4d9d3aaa8dc5b48f81..6fd050afd401e1ed7948d5e52fc5b121efb2239a 100644 (file)
    <http://www.gnu.org/licenses/>.  */
 
        .section        .nds32_vector.12, "ax"
+#if __NDS32_ISR_VECTOR_SIZE_4__
+       /* The vector size is default 4-byte for v3 architecture.  */
+       .vec_size       4
+       .align  2
+#else
+       /* The vector size is default 16-byte for other architectures.  */
        .vec_size       16
        .align  4
+#endif
        .weak   _nds32_vector_12
        .type   _nds32_vector_12, @function
 _nds32_vector_12: