Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/m68k/constraints.md @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | 77e2b8dfacca |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 ;; Constraint definitions for m68k | 1 ;; Constraint definitions for m68k |
2 ;; Copyright (C) 2007 Free Software Foundation, Inc. | 2 ;; Copyright (C) 2007-2017 Free Software Foundation, Inc. |
3 | 3 |
4 ;; This file is part of GCC. | 4 ;; This file is part of GCC. |
5 | 5 |
6 ;; GCC is free software; you can redistribute it and/or modify it | 6 ;; GCC is free software; you can redistribute it and/or modify it |
7 ;; under the terms of the GNU General Public License as published | 7 ;; under the terms of the GNU General Public License as published |
92 || GET_CODE (XEXP (op, 0)) == CONST)"))) | 92 || GET_CODE (XEXP (op, 0)) == CONST)"))) |
93 | 93 |
94 (define_constraint "T" | 94 (define_constraint "T" |
95 "Used for operands that satisfy 's' when -mpcrel is not in effect." | 95 "Used for operands that satisfy 's' when -mpcrel is not in effect." |
96 (and (match_code "symbol_ref,label_ref,const") | 96 (and (match_code "symbol_ref,label_ref,const") |
97 (match_test "!flag_pic"))) | 97 (match_test "!TARGET_PCREL") |
98 (match_test "!flag_pic || LEGITIMATE_PIC_OPERAND_P (op)"))) | |
98 | 99 |
99 (define_memory_constraint "Q" | 100 (define_memory_constraint "Q" |
100 "Means address register indirect addressing mode." | 101 "Means address register indirect addressing mode." |
101 (and (match_code "mem") | 102 (and (match_code "mem") |
102 (match_test "m68k_matches_q_p (op)"))) | 103 (match_test "m68k_matches_q_p (op)"))) |