]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/nds32/iterators.md
Update copyright years.
[thirdparty/gcc.git] / gcc / config / nds32 / iterators.md
1 ;; Code and mode itertator and attribute definitions
2 ;; of Andes NDS32 cpu for GNU compiler
3 ;; Copyright (C) 2012-2016 Free Software Foundation, Inc.
4 ;; Contributed by Andes Technology Corporation.
5 ;;
6 ;; This file is part of GCC.
7 ;;
8 ;; GCC is free software; you can redistribute it and/or modify it
9 ;; under the terms of the GNU General Public License as published
10 ;; by the Free Software Foundation; either version 3, or (at your
11 ;; option) any later version.
12 ;;
13 ;; GCC is distributed in the hope that it will be useful, but WITHOUT
14 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 ;; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
16 ;; License for more details.
17 ;;
18 ;; You should have received a copy of the GNU General Public License
19 ;; along with GCC; see the file COPYING3. If not see
20 ;; <http://www.gnu.org/licenses/>.
21
22 ;;----------------------------------------------------------------------------
23 ;; Mode iterators.
24 ;;----------------------------------------------------------------------------
25
26 ;; A list of integer modes that are up to one word long.
27 (define_mode_iterator QIHISI [QI HI SI])
28
29 ;; A list of integer modes that are up to one half-word long.
30 (define_mode_iterator QIHI [QI HI])
31
32 ;; A list of the modes that are up to double-word long.
33 (define_mode_iterator DIDF [DI DF])
34
35
36 ;;----------------------------------------------------------------------------
37 ;; Mode attributes.
38 ;;----------------------------------------------------------------------------
39
40 (define_mode_attr size [(QI "b") (HI "h") (SI "w")])
41
42 (define_mode_attr byte [(QI "1") (HI "2") (SI "4")])
43
44
45 ;;----------------------------------------------------------------------------
46 ;; Code iterators.
47 ;;----------------------------------------------------------------------------
48
49
50 ;;----------------------------------------------------------------------------
51 ;; Code attributes.
52 ;;----------------------------------------------------------------------------
53
54
55 ;;----------------------------------------------------------------------------