[NDS32] Implement more C ISR extension.
[gcc.git] / libgcc / config / nds32 / isr-library / vec_vid06.S
index 851836cf9ea53b4f5886710d72343bd6f3c83cfa..e41a60c4db4c4787b205b71a1235ba6eea436f8b 100644 (file)
    <http://www.gnu.org/licenses/>.  */
 
        .section        .nds32_vector.06, "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_06
        .type   _nds32_vector_06, @function
 _nds32_vector_06: