1230557Sjimharris/* c-isr library stuff of Andes NDS32 cpu for GNU compiler 2230557Sjimharris Copyright (C) 2012-2020 Free Software Foundation, Inc. 3230557Sjimharris Contributed by Andes Technology Corporation. 4230557Sjimharris 5230557Sjimharris This file is part of GCC. 6230557Sjimharris 7230557Sjimharris GCC is free software; you can redistribute it and/or modify it 8230557Sjimharris under the terms of the GNU General Public License as published 9230557Sjimharris by the Free Software Foundation; either version 3, or (at your 10230557Sjimharris option) any later version. 11230557Sjimharris 12230557Sjimharris GCC is distributed in the hope that it will be useful, but WITHOUT 13230557Sjimharris ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 14230557Sjimharris or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 15230557Sjimharris License for more details. 16230557Sjimharris 17230557Sjimharris Under Section 7 of GPL version 3, you are granted additional 18230557Sjimharris permissions described in the GCC Runtime Library Exception, version 19230557Sjimharris 3.1, as published by the Free Software Foundation. 20230557Sjimharris 21230557Sjimharris You should have received a copy of the GNU General Public License and 22230557Sjimharris a copy of the GCC Runtime Library Exception along with this program; 23230557Sjimharris see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 24230557Sjimharris <http://www.gnu.org/licenses/>. */ 25230557Sjimharris 26230557Sjimharris .section .nds32_vector.23, "ax" 27230557Sjimharris#if __NDS32_ISR_VECTOR_SIZE_4__ 28230557Sjimharris /* The vector size is default 4-byte for v3 architecture. */ 29230557Sjimharris .vec_size 4 30230557Sjimharris .align 2 31230557Sjimharris#else 32230557Sjimharris /* The vector size is default 16-byte for other architectures. */ 33230557Sjimharris .vec_size 16 34230557Sjimharris .align 4 35230557Sjimharris#endif 36230557Sjimharris .weak _nds32_vector_23 37230557Sjimharris .type _nds32_vector_23, @function 38230557Sjimharris_nds32_vector_23: 39230557Sjimharris1: 40230557Sjimharris j 1b 41230557Sjimharris .size _nds32_vector_23, .-_nds32_vector_23 42230557Sjimharris