]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/sh/iterators.md
Remove alloca from dump_gimple_bb_header
[thirdparty/gcc.git] / gcc / config / sh / iterators.md
CommitLineData
7fa4bf9b
OE
1;; Iterator definitions for GCC SH machine description files.
2;; Copyright (C) 2012
3;; Free Software Foundation, Inc.
4;;
5;; This file is part of GCC.
6;;
7;; GCC is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 3, or (at your option)
10;; any later version.
11;;
12;; GCC is distributed in the hope that it will be useful,
13;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;; GNU General Public License for more details.
16;;
17;; You should have received a copy of the GNU General Public License
18;; along with GCC; see the file COPYING3. If not see
19;; <http://www.gnu.org/licenses/>.
20
14df3f36 21(define_mode_iterator QIHISIDI [QI HI SI DI])
7fa4bf9b
OE
22(define_mode_iterator QIHISI [QI HI SI])
23(define_mode_iterator QIHI [QI HI])
24(define_mode_iterator HISI [HI SI])
25
26;; Mode attributes that can be used as the instruction suffix for mode
27;; variant instructions.
28(define_mode_attr bw [(QI "b") (HI "w")])
29(define_mode_attr bwl [(QI "b") (HI "w") (SI "l")])
30
31;; Sign/zero-extension code iterator.
32(define_code_iterator SZ_EXTEND [sign_extend zero_extend])
33
34;; Mode attributes for mov.b and mov.w displacement constraints.
35(define_mode_attr disp04 [(QI "K04") (HI "K05")])
36(define_mode_attr disp12 [(QI "K12") (HI "K13")])
37
fcf8632e
CB
38;; Return codes.
39(define_code_iterator any_return [return simple_return])
40