PR libstdc++/83279 handle sendfile not copying entire file
[official-gcc.git] / gcc / config / sh / iterators.md
blob1fb3f6ed8b55d89ad4f0057b73c84c69cb148c76
1 ;; Iterator definitions for GCC SH machine description files.
2 ;; Copyright (C) 2012-2017 Free Software Foundation, Inc.
3 ;;
4 ;; This file is part of GCC.
5 ;;
6 ;; GCC is free software; you can redistribute it and/or modify
7 ;; it under the terms of the GNU General Public License as published by
8 ;; the Free Software Foundation; either version 3, or (at your option)
9 ;; any later version.
11 ;; GCC is distributed in the hope that it will be useful,
12 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ;; GNU General Public License for more details.
16 ;; You should have received a copy of the GNU General Public License
17 ;; along with GCC; see the file COPYING3.  If not see
18 ;; <http://www.gnu.org/licenses/>.
20 (define_mode_iterator QIHISIDI [QI HI SI DI])
21 (define_mode_iterator QIHISI [QI HI SI])
22 (define_mode_iterator QIHI [QI HI])
23 (define_mode_iterator HISI [HI SI])
24 (define_mode_iterator SIDI [SI DI])
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")])
31 ;; Sign/zero-extension code iterator.
32 (define_code_iterator SZ_EXTEND [sign_extend zero_extend])
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")])
38 ;; Return codes.
39 (define_code_iterator any_return [return simple_return])
41 ;; Lowpart subreg byte position code attributes for big and little endian.
42 (define_mode_attr lowpart_be [(QI "3") (HI "2")])
43 (define_mode_attr lowpart_le [(QI "0") (HI "0")])
45 ;; Signed minimum/maximum code iterator.
46 (define_code_iterator SMIN_SMAX [smin smax])