[NDS32] Implement more C ISR extension.
[gcc.git] / libgcc / config / nds32 / isr-library / vec_vid13.S
index 55863be5e72b80eba689037b80a9457f5cd5bed2..0a45c456b24198f3f88aa24c060c08512f4c0c36 100644 (file)
    <http://www.gnu.org/licenses/>.  */
 
        .section        .nds32_vector.13, "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_13
        .type   _nds32_vector_13, @function
 _nds32_vector_13: