1#include "core-isa.h" 2 3.macro vector name 4 5.section .vector.\name 6 j 1f 7.section .vector.\name\().text 81: 9 wsr a2, excsave1 10 movi a2, handler_\name 11 l32i a2, a2, 0 12 beqz a2, 1f 13 jx a2 141: 15 movi a3, 1b 16 movi a2, 1 17 simcall 18 19.align 4 20.global handler_\name 21handler_\name\(): .word 0 22 23.endm 24 25#if XCHAL_HAVE_WINDOWED 26vector window_overflow_4 27vector window_overflow_8 28vector window_overflow_12 29vector window_underflow_4 30vector window_underflow_8 31vector window_underflow_12 32#endif 33 34#if XCHAL_NUM_INTLEVELS + XCHAL_HAVE_NMI >= 2 35vector level2 36#endif 37#if XCHAL_NUM_INTLEVELS + XCHAL_HAVE_NMI >= 3 38vector level3 39#endif 40#if XCHAL_NUM_INTLEVELS + XCHAL_HAVE_NMI >= 4 41vector level4 42#endif 43#if XCHAL_NUM_INTLEVELS + XCHAL_HAVE_NMI >= 5 44vector level5 45#endif 46#if XCHAL_NUM_INTLEVELS + XCHAL_HAVE_NMI >= 6 47vector level6 48#endif 49#if XCHAL_NUM_INTLEVELS + XCHAL_HAVE_NMI >= 7 50vector level7 51#endif 52 53vector kernel 54vector user 55vector double 56