repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid14_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.14, "ax" .vec_size 4 .align 2 .weak _nds32_vector_14_4b .type _nds32_vector_14_4b, @function _nds32_vector_14_4b: 1: j 1b .size _nds32_vector_14_4b, .-_nds32_vector_14_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid66.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.66, "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_66 .type _nds32_vector_66, @function _nds32_vector_66: 1: j 1b .size _nds32_vector_66, .-_nds32_vector_66
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid62.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.62, "a" .align 2 .weak _nds32_jmptbl_62 .type _nds32_jmptbl_62, @object _nds32_jmptbl_62: .word 0 .size _nds32_jmptbl_62, .-_nds32_jmptbl_62
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid41.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.41, "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_41 .type _nds32_vector_41, @function _nds32_vector_41: 1: j 1b .size _nds32_vector_41, .-_nds32_vector_41
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid61_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.61, "ax" .vec_size 4 .align 2 .weak _nds32_vector_61_4b .type _nds32_vector_61_4b, @function _nds32_vector_61_4b: 1: j 1b .size _nds32_vector_61_4b, .-_nds32_vector_61_4b
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid58_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.58, "ax" .vec_size 4 .align 2 .weak _nds32_vector_58_4b .type _nds32_vector_58_4b, @function _nds32_vector_58_4b: 1: j 1b .size _nds32_vector_58_4b, .-_nds32_vector_58_4b
4ms/metamodule-plugin-sdk
4,359
plugin-libc/libgcc/config/nds32/isr-library/intr_isr_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ #include "save_mac_regs.inc" #include "save_fpu_regs.inc" #include "save_fpu_regs_00.inc" #include "save_fpu_regs_01.inc" #include "save_fpu_regs_02.inc" #include "save_fpu_regs_03.inc" #include "save_all.inc" #include "save_partial.inc" #include "adj_intr_lvl.inc" #include "restore_mac_regs.inc" #include "restore_fpu_regs_00.inc" #include "restore_fpu_regs_01.inc" #include "restore_fpu_regs_02.inc" #include "restore_fpu_regs_03.inc" #include "restore_fpu_regs.inc" #include "restore_all.inc" #include "restore_partial.inc" .section .nds32_isr, "ax" /* Put it in the section of 1st level handler. */ .align 1 /* First Level Handlers 1. First Level Handlers are invokded in vector section via jump instruction with specific names for different configurations. 2. Naming Format: _nds32_e_SR_NT for exception handlers. _nds32_i_SR_NT for interrupt handlers. 2.1 All upper case letters are replaced with specific lower case letters encodings. 2.2 SR: Saved Registers sa: Save All regs (context) ps: Partial Save (all caller-saved regs) 2.3 NT: Nested Type ns: nested nn: not nested nr: nested ready */ /* This is 4-byte vector size version. The "_4b" postfix was added for 4-byte version symbol. */ #ifdef NDS32_SAVE_ALL_REGS #if defined(NDS32_NESTED) .globl _nds32_i_sa_ns_4b .type _nds32_i_sa_ns_4b, @function _nds32_i_sa_ns_4b: #elif defined(NDS32_NESTED_READY) .globl _nds32_i_sa_nr_4b .type _nds32_i_sa_nr_4b, @function _nds32_i_sa_nr_4b: #else /* Not nested handler. */ .globl _nds32_i_sa_nn_4b .type _nds32_i_sa_nn_4b, @function _nds32_i_sa_nn_4b: #endif /* endif for Nest Type */ #else /* not NDS32_SAVE_ALL_REGS */ #if defined(NDS32_NESTED) .globl _nds32_i_ps_ns_4b .type _nds32_i_ps_ns_4b, @function _nds32_i_ps_ns_4b: #elif defined(NDS32_NESTED_READY) .globl _nds32_i_ps_nr_4b .type _nds32_i_ps_nr_4b, @function _nds32_i_ps_nr_4b: #else /* Not nested handler. */ .globl _nds32_i_ps_nn_4b .type _nds32_i_ps_nn_4b, @function _nds32_i_ps_nn_4b: #endif /* endif for Nest Type */ #endif /* not NDS32_SAVE_ALL_REGS */ /* This is 4-byte vector size version. The vector id was restored into $lp in vector by compiler. */ #ifdef NDS32_SAVE_ALL_REGS SAVE_ALL_4B #else SAVE_PARTIAL_4B #endif /* Prepare to call 2nd level handler. */ la $r2, _nds32_jmptbl_00 lw $r2, [$r2 + $r0 << #2] addi $r0, $r0, #-9 /* Make interrput vector id zero-based. */ ADJ_INTR_LVL /* Adjust INTR level. $r3 is clobbered. */ jral $r2 /* Restore used registers. */ #ifdef NDS32_SAVE_ALL_REGS RESTORE_ALL #else RESTORE_PARTIAL #endif iret #ifdef NDS32_SAVE_ALL_REGS #if defined(NDS32_NESTED) .size _nds32_i_sa_ns_4b, .-_nds32_i_sa_ns_4b #elif defined(NDS32_NESTED_READY) .size _nds32_i_sa_nr_4b, .-_nds32_i_sa_nr_4b #else /* Not nested handler. */ .size _nds32_i_sa_nn_4b, .-_nds32_i_sa_nn_4b #endif /* endif for Nest Type */ #else /* not NDS32_SAVE_ALL_REGS */ #if defined(NDS32_NESTED) .size _nds32_i_ps_ns_4b, .-_nds32_i_ps_ns_4b #elif defined(NDS32_NESTED_READY) .size _nds32_i_ps_nr_4b, .-_nds32_i_ps_nr_4b #else /* Not nested handler. */ .size _nds32_i_ps_nn_4b, .-_nds32_i_ps_nn_4b #endif /* endif for Nest Type */ #endif /* not NDS32_SAVE_ALL_REGS */
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid18.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.18, "a" .align 2 .weak _nds32_jmptbl_18 .type _nds32_jmptbl_18, @object _nds32_jmptbl_18: .word 0 .size _nds32_jmptbl_18, .-_nds32_jmptbl_18
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid13.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.13, "a" .align 2 .weak _nds32_jmptbl_13 .type _nds32_jmptbl_13, @object _nds32_jmptbl_13: .word 0 .size _nds32_jmptbl_13, .-_nds32_jmptbl_13
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid37.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.37, "a" .align 2 .weak _nds32_jmptbl_37 .type _nds32_jmptbl_37, @object _nds32_jmptbl_37: .word 0 .size _nds32_jmptbl_37, .-_nds32_jmptbl_37
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid36.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.36, "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_36 .type _nds32_vector_36, @function _nds32_vector_36: 1: j 1b .size _nds32_vector_36, .-_nds32_vector_36
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid18_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.18, "ax" .vec_size 4 .align 2 .weak _nds32_vector_18_4b .type _nds32_vector_18_4b, @function _nds32_vector_18_4b: 1: j 1b .size _nds32_vector_18_4b, .-_nds32_vector_18_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid67.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.67, "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_67 .type _nds32_vector_67, @function _nds32_vector_67: 1: j 1b .size _nds32_vector_67, .-_nds32_vector_67
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid67.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.67, "a" .align 2 .weak _nds32_jmptbl_67 .type _nds32_jmptbl_67, @object _nds32_jmptbl_67: .word 0 .size _nds32_jmptbl_67, .-_nds32_jmptbl_67
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid17.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.17, "a" .align 2 .weak _nds32_jmptbl_17 .type _nds32_jmptbl_17, @object _nds32_jmptbl_17: .word 0 .size _nds32_jmptbl_17, .-_nds32_jmptbl_17
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid30.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.30, "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_30 .type _nds32_vector_30, @function _nds32_vector_30: 1: j 1b .size _nds32_vector_30, .-_nds32_vector_30
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid60.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.60, "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_60 .type _nds32_vector_60, @function _nds32_vector_60: 1: j 1b .size _nds32_vector_60, .-_nds32_vector_60
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid35_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.35, "ax" .vec_size 4 .align 2 .weak _nds32_vector_35_4b .type _nds32_vector_35_4b, @function _nds32_vector_35_4b: 1: j 1b .size _nds32_vector_35_4b, .-_nds32_vector_35_4b
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid35.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.35, "a" .align 2 .weak _nds32_jmptbl_35 .type _nds32_jmptbl_35, @object _nds32_jmptbl_35: .word 0 .size _nds32_jmptbl_35, .-_nds32_jmptbl_35
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid05.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.05, "a" .align 2 .weak _nds32_jmptbl_05 .type _nds32_jmptbl_05, @object _nds32_jmptbl_05: .word 0 .size _nds32_jmptbl_05, .-_nds32_jmptbl_05
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid54_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.54, "ax" .vec_size 4 .align 2 .weak _nds32_vector_54_4b .type _nds32_vector_54_4b, @function _nds32_vector_54_4b: 1: j 1b .size _nds32_vector_54_4b, .-_nds32_vector_54_4b
4ms/metamodule-plugin-sdk
4,353
plugin-libc/libgcc/config/nds32/isr-library/excp_isr.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ #include "save_usr_regs.inc" #include "save_mac_regs.inc" #include "save_fpu_regs.inc" #include "save_fpu_regs_00.inc" #include "save_fpu_regs_01.inc" #include "save_fpu_regs_02.inc" #include "save_fpu_regs_03.inc" #include "save_all.inc" #include "save_partial.inc" #include "adj_intr_lvl.inc" #include "restore_fpu_regs_00.inc" #include "restore_fpu_regs_01.inc" #include "restore_fpu_regs_02.inc" #include "restore_fpu_regs_03.inc" #include "restore_fpu_regs.inc" #include "restore_mac_regs.inc" #include "restore_usr_regs.inc" #include "restore_all.inc" #include "restore_partial.inc" .section .nds32_isr, "ax" /* Put it in the section of 1st level handler. */ .align 1 /* First Level Handlers 1. First Level Handlers are invokded in vector section via jump instruction with specific names for different configurations. 2. Naming Format: _nds32_e_SR_NT for exception handlers. _nds32_i_SR_NT for interrupt handlers. 2.1 All upper case letters are replaced with specific lower case letters encodings. 2.2 SR -- Saved Registers sa: Save All regs (context) ps: Partial Save (all caller-saved regs) 2.3 NT -- Nested Type ns: nested nn: not nested nr: nested ready */ #ifdef NDS32_SAVE_ALL_REGS #if defined(NDS32_NESTED) .globl _nds32_e_sa_ns .type _nds32_e_sa_ns, @function _nds32_e_sa_ns: #elif defined(NDS32_NESTED_READY) .globl _nds32_e_sa_nr .type _nds32_e_sa_nr, @function _nds32_e_sa_nr: #else /* Not nested handler. */ .globl _nds32_e_sa_nn .type _nds32_e_sa_nn, @function _nds32_e_sa_nn: #endif /* endif for Nest Type */ #else /* not NDS32_SAVE_ALL_REGS */ #if defined(NDS32_NESTED) .globl _nds32_e_ps_ns .type _nds32_e_ps_ns, @function _nds32_e_ps_ns: #elif defined(NDS32_NESTED_READY) .globl _nds32_e_ps_nr .type _nds32_e_ps_nr, @function _nds32_e_ps_nr: #else /* Not nested handler. */ .globl _nds32_e_ps_nn .type _nds32_e_ps_nn, @function _nds32_e_ps_nn: #endif /* endif for Nest Type */ #endif /* not NDS32_SAVE_ALL_REGS */ /* For 4-byte vector size version, the vector id is extracted from $ITYPE and is set into $r0 by library. For 16-byte vector size version, the vector id is set into $r0 in vector section by compiler. */ /* Save used registers. */ #ifdef NDS32_SAVE_ALL_REGS SAVE_ALL #else SAVE_PARTIAL #endif /* Prepare to call 2nd level handler. */ la $r2, _nds32_jmptbl_00 lw $r2, [$r2 + $r0 << #2] ADJ_INTR_LVL /* Adjust INTR level. $r3 is clobbered. */ jral $r2 /* Restore used registers. */ #ifdef NDS32_SAVE_ALL_REGS RESTORE_ALL #else RESTORE_PARTIAL #endif iret #ifdef NDS32_SAVE_ALL_REGS #if defined(NDS32_NESTED) .size _nds32_e_sa_ns, .-_nds32_e_sa_ns #elif defined(NDS32_NESTED_READY) .size _nds32_e_sa_nr, .-_nds32_e_sa_nr #else /* Not nested handler. */ .size _nds32_e_sa_nn, .-_nds32_e_sa_nn #endif /* endif for Nest Type */ #else /* not NDS32_SAVE_ALL_REGS */ #if defined(NDS32_NESTED) .size _nds32_e_ps_ns, .-_nds32_e_ps_ns #elif defined(NDS32_NESTED_READY) .size _nds32_e_ps_nr, .-_nds32_e_ps_nr #else /* Not nested handler. */ .size _nds32_e_ps_nn, .-_nds32_e_ps_nn #endif /* endif for Nest Type */ #endif /* not NDS32_SAVE_ALL_REGS */
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid69_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.69, "ax" .vec_size 4 .align 2 .weak _nds32_vector_69_4b .type _nds32_vector_69_4b, @function _nds32_vector_69_4b: 1: j 1b .size _nds32_vector_69_4b, .-_nds32_vector_69_4b
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid48_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.48, "ax" .vec_size 4 .align 2 .weak _nds32_vector_48_4b .type _nds32_vector_48_4b, @function _nds32_vector_48_4b: 1: j 1b .size _nds32_vector_48_4b, .-_nds32_vector_48_4b
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid04_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.04, "ax" .vec_size 4 .align 2 .weak _nds32_vector_04_4b .type _nds32_vector_04_4b, @function _nds32_vector_04_4b: 1: j 1b .size _nds32_vector_04_4b, .-_nds32_vector_04_4b
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid36.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.36, "a" .align 2 .weak _nds32_jmptbl_36 .type _nds32_jmptbl_36, @object _nds32_jmptbl_36: .word 0 .size _nds32_jmptbl_36, .-_nds32_jmptbl_36
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid47.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.47, "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_47 .type _nds32_vector_47, @function _nds32_vector_47: 1: j 1b .size _nds32_vector_47, .-_nds32_vector_47
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid44.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.44, "a" .align 2 .weak _nds32_jmptbl_44 .type _nds32_jmptbl_44, @object _nds32_jmptbl_44: .word 0 .size _nds32_jmptbl_44, .-_nds32_jmptbl_44
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid30_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.30, "ax" .vec_size 4 .align 2 .weak _nds32_vector_30_4b .type _nds32_vector_30_4b, @function _nds32_vector_30_4b: 1: j 1b .size _nds32_vector_30_4b, .-_nds32_vector_30_4b
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid15_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.15, "ax" .vec_size 4 .align 2 .weak _nds32_vector_15_4b .type _nds32_vector_15_4b, @function _nds32_vector_15_4b: 1: j 1b .size _nds32_vector_15_4b, .-_nds32_vector_15_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid05.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.05, "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_05 .type _nds32_vector_05, @function _nds32_vector_05: 1: j 1b .size _nds32_vector_05, .-_nds32_vector_05
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid42_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.42, "ax" .vec_size 4 .align 2 .weak _nds32_vector_42_4b .type _nds32_vector_42_4b, @function _nds32_vector_42_4b: 1: j 1b .size _nds32_vector_42_4b, .-_nds32_vector_42_4b
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid21.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.21, "a" .align 2 .weak _nds32_jmptbl_21 .type _nds32_jmptbl_21, @object _nds32_jmptbl_21: .word 0 .size _nds32_jmptbl_21, .-_nds32_jmptbl_21
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid70_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.70, "ax" .vec_size 4 .align 2 .weak _nds32_vector_70_4b .type _nds32_vector_70_4b, @function _nds32_vector_70_4b: 1: j 1b .size _nds32_vector_70_4b, .-_nds32_vector_70_4b
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid39.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.39, "a" .align 2 .weak _nds32_jmptbl_39 .type _nds32_jmptbl_39, @object _nds32_jmptbl_39: .word 0 .size _nds32_jmptbl_39, .-_nds32_jmptbl_39
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid08.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.08, "a" .align 2 .weak _nds32_jmptbl_08 .type _nds32_jmptbl_08, @object _nds32_jmptbl_08: .word 0 .size _nds32_jmptbl_08, .-_nds32_jmptbl_08
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid50_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.50, "ax" .vec_size 4 .align 2 .weak _nds32_vector_50_4b .type _nds32_vector_50_4b, @function _nds32_vector_50_4b: 1: j 1b .size _nds32_vector_50_4b, .-_nds32_vector_50_4b
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid26_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.26, "ax" .vec_size 4 .align 2 .weak _nds32_vector_26_4b .type _nds32_vector_26_4b, @function _nds32_vector_26_4b: 1: j 1b .size _nds32_vector_26_4b, .-_nds32_vector_26_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid06.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <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: 1: j 1b .size _nds32_vector_06, .-_nds32_vector_06
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid20.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.20, "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_20 .type _nds32_vector_20, @function _nds32_vector_20: 1: j 1b .size _nds32_vector_20, .-_nds32_vector_20
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid63.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.63, "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_63 .type _nds32_vector_63, @function _nds32_vector_63: 1: j 1b .size _nds32_vector_63, .-_nds32_vector_63
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid10.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.10, "a" .align 2 .weak _nds32_jmptbl_10 .type _nds32_jmptbl_10, @object _nds32_jmptbl_10: .word 0 .size _nds32_jmptbl_10, .-_nds32_jmptbl_10
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid11.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.11, "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_11 .type _nds32_vector_11, @function _nds32_vector_11: 1: j 1b .size _nds32_vector_11, .-_nds32_vector_11
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid57_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.57, "ax" .vec_size 4 .align 2 .weak _nds32_vector_57_4b .type _nds32_vector_57_4b, @function _nds32_vector_57_4b: 1: j 1b .size _nds32_vector_57_4b, .-_nds32_vector_57_4b
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid41_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.41, "ax" .vec_size 4 .align 2 .weak _nds32_vector_41_4b .type _nds32_vector_41_4b, @function _nds32_vector_41_4b: 1: j 1b .size _nds32_vector_41_4b, .-_nds32_vector_41_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid53.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.53, "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_53 .type _nds32_vector_53, @function _nds32_vector_53: 1: j 1b .size _nds32_vector_53, .-_nds32_vector_53
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid11_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.11, "ax" .vec_size 4 .align 2 .weak _nds32_vector_11_4b .type _nds32_vector_11_4b, @function _nds32_vector_11_4b: 1: j 1b .size _nds32_vector_11_4b, .-_nds32_vector_11_4b
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid55_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.55, "ax" .vec_size 4 .align 2 .weak _nds32_vector_55_4b .type _nds32_vector_55_4b, @function _nds32_vector_55_4b: 1: j 1b .size _nds32_vector_55_4b, .-_nds32_vector_55_4b
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid38_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.38, "ax" .vec_size 4 .align 2 .weak _nds32_vector_38_4b .type _nds32_vector_38_4b, @function _nds32_vector_38_4b: 1: j 1b .size _nds32_vector_38_4b, .-_nds32_vector_38_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid46.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.46, "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_46 .type _nds32_vector_46, @function _nds32_vector_46: 1: j 1b .size _nds32_vector_46, .-_nds32_vector_46
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid06_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.06, "ax" .vec_size 4 .align 2 .weak _nds32_vector_06_4b .type _nds32_vector_06_4b, @function _nds32_vector_06_4b: 1: j 1b .size _nds32_vector_06_4b, .-_nds32_vector_06_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid51.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.51, "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_51 .type _nds32_vector_51, @function _nds32_vector_51: 1: j 1b .size _nds32_vector_51, .-_nds32_vector_51
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid34.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.34, "a" .align 2 .weak _nds32_jmptbl_34 .type _nds32_jmptbl_34, @object _nds32_jmptbl_34: .word 0 .size _nds32_jmptbl_34, .-_nds32_jmptbl_34
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid60_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.60, "ax" .vec_size 4 .align 2 .weak _nds32_vector_60_4b .type _nds32_vector_60_4b, @function _nds32_vector_60_4b: 1: j 1b .size _nds32_vector_60_4b, .-_nds32_vector_60_4b
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid60.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.60, "a" .align 2 .weak _nds32_jmptbl_60 .type _nds32_jmptbl_60, @object _nds32_jmptbl_60: .word 0 .size _nds32_jmptbl_60, .-_nds32_jmptbl_60
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid43_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.43, "ax" .vec_size 4 .align 2 .weak _nds32_vector_43_4b .type _nds32_vector_43_4b, @function _nds32_vector_43_4b: 1: j 1b .size _nds32_vector_43_4b, .-_nds32_vector_43_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid19.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.19, "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_19 .type _nds32_vector_19, @function _nds32_vector_19: 1: j 1b .size _nds32_vector_19, .-_nds32_vector_19
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid68.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.68, "a" .align 2 .weak _nds32_jmptbl_68 .type _nds32_jmptbl_68, @object _nds32_jmptbl_68: .word 0 .size _nds32_jmptbl_68, .-_nds32_jmptbl_68
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid03.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.03, "a" .align 2 .weak _nds32_jmptbl_03 .type _nds32_jmptbl_03, @object _nds32_jmptbl_03: .word 0 .size _nds32_jmptbl_03, .-_nds32_jmptbl_03
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid17_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.17, "ax" .vec_size 4 .align 2 .weak _nds32_vector_17_4b .type _nds32_vector_17_4b, @function _nds32_vector_17_4b: 1: j 1b .size _nds32_vector_17_4b, .-_nds32_vector_17_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid13.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <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: 1: j 1b .size _nds32_vector_13, .-_nds32_vector_13
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid45.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.45, "a" .align 2 .weak _nds32_jmptbl_45 .type _nds32_jmptbl_45, @object _nds32_jmptbl_45: .word 0 .size _nds32_jmptbl_45, .-_nds32_jmptbl_45
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid06.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.06, "a" .align 2 .weak _nds32_jmptbl_06 .type _nds32_jmptbl_06, @object _nds32_jmptbl_06: .word 0 .size _nds32_jmptbl_06, .-_nds32_jmptbl_06
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid66.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.66, "a" .align 2 .weak _nds32_jmptbl_66 .type _nds32_jmptbl_66, @object _nds32_jmptbl_66: .word 0 .size _nds32_jmptbl_66, .-_nds32_jmptbl_66
4ms/metamodule-plugin-sdk
4,822
plugin-libc/libgcc/config/nds32/isr-library/reset.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_isr, "ax" /* Put it in the section of 1st level handler. */ .align 1 .weak _SDA_BASE_ /* For reset handler only. */ .weak _nds32_init_mem /* User defined memory initialization function. */ .globl _start .globl _nds32_reset .type _nds32_reset, @function _nds32_reset: _start: /* Handle NMI and warm boot if any of them exists. */ beqz $sp, 1f /* Reset, NMI or warm boot? */ /* Either NMI or warm boot; save all regs. */ /* Preserve registers for context-switching. */ #if __NDS32_REDUCED_REGS__ || __NDS32_REDUCE_REGS /* For 16-reg mode. */ smw.adm $r0, [$sp], $r10, #0x0 smw.adm $r15, [$sp], $r15, #0xf #else /* For 32-reg mode. */ smw.adm $r0, [$sp], $r27, #0xf #endif #if __NDS32_EXT_IFC__ mfusr $r1, $IFC_LP smw.adm $r1, [$sp], $r2, #0x0 /* Save extra $r2 to keep stack 8-byte alignment. */ #endif la $gp, _SDA_BASE_ /* Init GP for small data access. */ move $r0, $sp /* Init parameter. */ mfsr $r1, $ITYPE /* Check ITYPE for NMI or warm boot. */ andi $r1, $r1, #0xf addi $r1, $r1, #-1 beqz $r1, 2f /* Warm boot if true. */ l.w $r15, _nds32_nmih /* Load NMI handler. */ j 3f 2: l.w $r15, _nds32_wrh /* Load warm boot handler. */ 3: beqz $r15, 1f /* If no handler, do cold boot. */ jral $r15 /* Call handler. */ bnez $r0, 1f /* If fail to resume, do cold boot. */ /* Restore registers for context-switching. */ #if __NDS32_EXT_IFC__ lmw.bim $r1, [$sp], $r2, #0x0 /* Restore extra $r2 to keep stack 8-byte alignment. */ mtusr $r1, $IFC_LP #endif #if __NDS32_REDUCED_REGS__ || __NDS32_REDUCE_REGS /* For 16-reg mode. */ lmw.bim $r15, [$sp], $r15, #0xf lmw.bim $r0, [$sp], $r10, #0x0 #else /* For 32-reg mode. */ lmw.bim $r0, [$sp], $r27, #0xf #endif iret /* Resume operation. */ 1: /* Cold boot. */ #if __NDS32_ISR_VECTOR_SIZE_4__ /* With vector ID feature for v3 architecture, default vector size is 4-byte. */ /* Set IVB.ESZ = 0 (vector table entry size = 4 bytes) */ mfsr $r0, $IVB li $r1, #0xc000 or $r0, $r0, $r1 xor $r0, $r0, $r1 mtsr $r0, $IVB dsb #else /* There is no vector ID feature, so the vector size must be 16-byte. */ /* Set IVB.ESZ = 1 (vector table entry size = 16 bytes) */ mfsr $r0, $IVB li $r1, #0xffff3fff and $r0, $r0, $r1 ori $r0, $r0, #0x4000 mtsr $r0, $IVB dsb #endif la $gp, _SDA_BASE_ /* Init $gp. */ la $sp, _stack /* Init $sp. */ #if __NDS32_EXT_EX9__ .L_init_itb: /* Initialization for Instruction Table Base (ITB). The symbol _ITB_BASE_ is determined by Linker. Set $ITB only if MSC_CFG.EIT (cr4.b'24) is set. */ mfsr $r0, $MSC_CFG srli $r0, $r0, 24 andi $r0, $r0, 0x1 beqz $r0, 4f /* Fall through ? */ la $r0, _ITB_BASE_ mtusr $r0, $ITB 4: #endif #if __NDS32_EXT_FPU_SP__ || __NDS32_EXT_FPU_DP__ .L_init_fpu: /* Initialize FPU Set FUCOP_CTL.CP0EN (fucpr.b'0). */ mfsr $r0, $FUCOP_CTL ori $r0, $r0, 0x1 mtsr $r0, $FUCOP_CTL dsb /* According to [bugzilla #9425], set flush-to-zero mode. That is, set $FPCSR.DNZ(b'12) = 1. */ FMFCSR $r0 ori $r0, $r0, 0x1000 FMTCSR $r0 dsb #endif /* Call DRAM init. _nds32_init_mem may written by C language. */ la $r15, _nds32_init_mem beqz $r15, 6f jral $r15 6: l.w $r15, _nds32_jmptbl_00 /* Load reset handler. */ jral $r15 /* Reset handler() should never return in a RTOS or non-OS system. In case it does return, an exception will be generated. This exception will be caught either by default break handler or by EDM. Default break handle may just do an infinite loop. EDM will notify GDB and GDB will regain control when the ID is 0x7fff. */ 5: break #0x7fff .size _nds32_reset, .-_nds32_reset
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid33.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.33, "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_33 .type _nds32_vector_33, @function _nds32_vector_33: 1: j 1b .size _nds32_vector_33, .-_nds32_vector_33
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid04.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.04, "a" .align 2 .weak _nds32_jmptbl_04 .type _nds32_jmptbl_04, @object _nds32_jmptbl_04: .word 0 .size _nds32_jmptbl_04, .-_nds32_jmptbl_04
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid61.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.61, "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_61 .type _nds32_vector_61, @function _nds32_vector_61: 1: j 1b .size _nds32_vector_61, .-_nds32_vector_61
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid69.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.69, "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_69 .type _nds32_vector_69, @function _nds32_vector_69: 1: j 1b .size _nds32_vector_69, .-_nds32_vector_69
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid25.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.25, "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_25 .type _nds32_vector_25, @function _nds32_vector_25: 1: j 1b .size _nds32_vector_25, .-_nds32_vector_25
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid38.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.38, "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_38 .type _nds32_vector_38, @function _nds32_vector_38: 1: j 1b .size _nds32_vector_38, .-_nds32_vector_38
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid59_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.59, "ax" .vec_size 4 .align 2 .weak _nds32_vector_59_4b .type _nds32_vector_59_4b, @function _nds32_vector_59_4b: 1: j 1b .size _nds32_vector_59_4b, .-_nds32_vector_59_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid59.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.59, "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_59 .type _nds32_vector_59, @function _nds32_vector_59: 1: j 1b .size _nds32_vector_59, .-_nds32_vector_59
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid39_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.39, "ax" .vec_size 4 .align 2 .weak _nds32_vector_39_4b .type _nds32_vector_39_4b, @function _nds32_vector_39_4b: 1: j 1b .size _nds32_vector_39_4b, .-_nds32_vector_39_4b
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid47_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.47, "ax" .vec_size 4 .align 2 .weak _nds32_vector_47_4b .type _nds32_vector_47_4b, @function _nds32_vector_47_4b: 1: j 1b .size _nds32_vector_47_4b, .-_nds32_vector_47_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid10.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.10, "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_10 .type _nds32_vector_10, @function _nds32_vector_10: 1: j 1b .size _nds32_vector_10, .-_nds32_vector_10
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid46.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.46, "a" .align 2 .weak _nds32_jmptbl_46 .type _nds32_jmptbl_46, @object _nds32_jmptbl_46: .word 0 .size _nds32_jmptbl_46, .-_nds32_jmptbl_46
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid21_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.21, "ax" .vec_size 4 .align 2 .weak _nds32_vector_21_4b .type _nds32_vector_21_4b, @function _nds32_vector_21_4b: 1: j 1b .size _nds32_vector_21_4b, .-_nds32_vector_21_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid17.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.17, "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_17 .type _nds32_vector_17, @function _nds32_vector_17: 1: j 1b .size _nds32_vector_17, .-_nds32_vector_17
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid24.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.24, "a" .align 2 .weak _nds32_jmptbl_24 .type _nds32_jmptbl_24, @object _nds32_jmptbl_24: .word 0 .size _nds32_jmptbl_24, .-_nds32_jmptbl_24
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid24.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.24, "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_24 .type _nds32_vector_24, @function _nds32_vector_24: 1: j 1b .size _nds32_vector_24, .-_nds32_vector_24
4ms/metamodule-plugin-sdk
4,295
plugin-libc/libgcc/config/nds32/isr-library/reset_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_isr, "ax" /* Put it in the section of 1st level handler. */ .align 1 .weak _SDA_BASE_ /* For reset handler only. */ .weak _FP_BASE_ /* For reset handler only. */ .weak _nds32_init_mem /* User defined memory initialization function. */ .globl _start .globl _nds32_reset_4b .type _nds32_reset_4b, @function _nds32_reset_4b: _start: #ifdef NDS32_EXT_EX9 .no_ex9_begin #endif /* Handle NMI and warm boot if any of them exists. */ beqz $sp, 1f /* Reset, NMI or warm boot? */ /* Either NMI or warm boot; save all regs. */ /* Preserve registers for context-switching. */ #ifdef __NDS32_REDUCED_REGS__ /* For 16-reg mode. */ smw.adm $r0, [$sp], $r10, #0x0 smw.adm $r15, [$sp], $r15, #0xf #else /* For 32-reg mode. */ smw.adm $r0, [$sp], $r27, #0xf #endif #ifdef NDS32_EXT_IFC mfusr $r1, $IFC_LP smw.adm $r1, [$sp], $r2, #0x0 /* Save extra $r2 to keep stack 8-byte alignment. */ #endif la $gp, _SDA_BASE_ /* Init GP for small data access. */ move $r0, $sp /* Init parameter. */ mfsr $r1, $ITYPE /* Check ITYPE for NMI or warm boot. */ andi $r1, $r1, #0xf addi $r1, $r1, #-1 beqz $r1, 2f /* Warm boot if true. */ l.w $r15, _nds32_nmih /* Load NMI handler. */ j 3f 2: l.w $r15, _nds32_wrh /* Load warm boot handler. */ 3: beqz $r15, 1f /* If no handler, do cold boot. */ jral $r15 /* Call handler. */ bnez $r0, 1f /* If fail to resume, do cold boot. */ /* Restore registers for context-switching. */ #ifdef NDS32_EXT_IFC lmw.bim $r1, [$sp], $r2, #0x0 /* Restore extra $r2 to keep stack 8-byte alignment. */ mtusr $r1, $IFC_LP #endif #ifdef __NDS32_REDUCED_REGS__ /* For 16-reg mode. */ lmw.bim $r15, [$sp], $r15, #0xf lmw.bim $r0, [$sp], $r10, #0x0 #else /* For 32-reg mode. */ lmw.bim $r0, [$sp], $r27, #0xf #endif iret /* Resume operation. */ 1: /* Cold boot. */ /* With vector ID feature, set default vector size to 4B. */ /* Set IVB.ESZ = 0 (vector table entry size = 4 bytes) */ mfsr $r0, $IVB li $r1, #0xc000 or $r0, $r0, $r1 xor $r0, $r0, $r1 mtsr $r0, $IVB dsb la $gp, _SDA_BASE_ /* Init $gp. */ la $fp, _FP_BASE_ /* Init $fp. */ la $sp, _stack /* Init $sp. */ #ifdef NDS32_EXT_EX9 /* * Initialize the table base of EX9 instruction * ex9 generation needs to disable before the ITB is set */ mfsr $r0, $MSC_CFG /* Check if HW support of EX9. */ srli $r0, $r0, 24 andi $r0, $r0, 0x1 beqz $r0, 4f /* Zero means HW does not support EX9. */ la $r0, _ITB_BASE_ /* Init $ITB. */ mtusr $r0, $ITB .no_ex9_end 4: #endif la $r15, _nds32_init_mem /* Call DRAM init. _nds32_init_mem may written by C language. */ beqz $r15, 6f jral $r15 6: l.w $r15, _nds32_jmptbl_00 /* Load reset handler. */ jral $r15 /* Reset handler() should never return in a RTOS or non-OS system. In case it does return, an exception will be generated. This exception will be caught either by default break handler or by EDM. Default break handle may just do an infinite loop. EDM will notify GDB and GDB will regain control when the ID is 0x7fff. */ 5: break #0x7fff .size _nds32_reset_4b, .-_nds32_reset_4b
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid44_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.44, "ax" .vec_size 4 .align 2 .weak _nds32_vector_44_4b .type _nds32_vector_44_4b, @function _nds32_vector_44_4b: 1: j 1b .size _nds32_vector_44_4b, .-_nds32_vector_44_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid43.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.43, "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_43 .type _nds32_vector_43, @function _nds32_vector_43: 1: j 1b .size _nds32_vector_43, .-_nds32_vector_43
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid08_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.08, "ax" .vec_size 4 .align 2 .weak _nds32_vector_08_4b .type _nds32_vector_08_4b, @function _nds32_vector_08_4b: 1: j 1b .size _nds32_vector_08_4b, .-_nds32_vector_08_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid16.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <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: 1: j 1b .size _nds32_vector_16, .-_nds32_vector_16
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid11.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.11, "a" .align 2 .weak _nds32_jmptbl_11 .type _nds32_jmptbl_11, @object _nds32_jmptbl_11: .word 0 .size _nds32_jmptbl_11, .-_nds32_jmptbl_11
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid65.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.65, "a" .align 2 .weak _nds32_jmptbl_65 .type _nds32_jmptbl_65, @object _nds32_jmptbl_65: .word 0 .size _nds32_jmptbl_65, .-_nds32_jmptbl_65
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid25_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.25, "ax" .vec_size 4 .align 2 .weak _nds32_vector_25_4b .type _nds32_vector_25_4b, @function _nds32_vector_25_4b: 1: j 1b .size _nds32_vector_25_4b, .-_nds32_vector_25_4b
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid25.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.25, "a" .align 2 .weak _nds32_jmptbl_25 .type _nds32_jmptbl_25, @object _nds32_jmptbl_25: .word 0 .size _nds32_jmptbl_25, .-_nds32_jmptbl_25
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid22.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.22, "a" .align 2 .weak _nds32_jmptbl_22 .type _nds32_jmptbl_22, @object _nds32_jmptbl_22: .word 0 .size _nds32_jmptbl_22, .-_nds32_jmptbl_22
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid23_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.23, "ax" .vec_size 4 .align 2 .weak _nds32_vector_23_4b .type _nds32_vector_23_4b, @function _nds32_vector_23_4b: 1: j 1b .size _nds32_vector_23_4b, .-_nds32_vector_23_4b
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid16_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.16, "ax" .vec_size 4 .align 2 .weak _nds32_vector_16_4b .type _nds32_vector_16_4b, @function _nds32_vector_16_4b: 1: j 1b .size _nds32_vector_16_4b, .-_nds32_vector_16_4b
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid54.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.54, "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_54 .type _nds32_vector_54, @function _nds32_vector_54: 1: j 1b .size _nds32_vector_54, .-_nds32_vector_54
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid56.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.56, "a" .align 2 .weak _nds32_jmptbl_56 .type _nds32_jmptbl_56, @object _nds32_jmptbl_56: .word 0 .size _nds32_jmptbl_56, .-_nds32_jmptbl_56
4ms/metamodule-plugin-sdk
1,245
plugin-libc/libgcc/config/nds32/isr-library/wrh.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_wrh, "a" .align 2 .weak _nds32_wrh .type _nds32_wrh, @object _nds32_wrh: .word 0 .size _nds32_wrh, .-_nds32_wrh
4ms/metamodule-plugin-sdk
1,497
plugin-libc/libgcc/config/nds32/isr-library/vec_vid48.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.48, "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_48 .type _nds32_vector_48, @function _nds32_vector_48: 1: j 1b .size _nds32_vector_48, .-_nds32_vector_48
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid51.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.51, "a" .align 2 .weak _nds32_jmptbl_51 .type _nds32_jmptbl_51, @object _nds32_jmptbl_51: .word 0 .size _nds32_jmptbl_51, .-_nds32_jmptbl_51
4ms/metamodule-plugin-sdk
1,281
plugin-libc/libgcc/config/nds32/isr-library/jmptbl_vid20.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_jmptbl.20, "a" .align 2 .weak _nds32_jmptbl_20 .type _nds32_jmptbl_20, @object _nds32_jmptbl_20: .word 0 .size _nds32_jmptbl_20, .-_nds32_jmptbl_20
4ms/metamodule-plugin-sdk
1,312
plugin-libc/libgcc/config/nds32/isr-library/vec_vid01_4b.S
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler Copyright (C) 2012-2022 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ .section .nds32_vector.01, "ax" .vec_size 4 .align 2 .weak _nds32_vector_01_4b .type _nds32_vector_01_4b, @function _nds32_vector_01_4b: 1: j 1b .size _nds32_vector_01_4b, .-_nds32_vector_01_4b