[NDS32] Implement more C ISR extension.
[gcc.git] / libgcc / config / nds32 / isr-library / vec_vid16.S
index 20db62501ba5971d8e99dd2badbb8f1803994d30..a762130631ccb18da5310f89a31cf802b79a6ce2 100644 (file)
    <http://www.gnu.org/licenses/>.  */
 
        .section        .nds32_vector.16, "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_16
        .type   _nds32_vector_16, @function
 _nds32_vector_16: