comparison gcc/config/vax/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 ;; Constraints for the DEC VAX port. 1 ;; Constraints for the DEC VAX port.
2 ;; Copyright (C) 2007, 2009 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 under 6 ;; GCC is free software; you can redistribute it and/or modify it under
7 ;; the terms of the GNU General Public License as published by the Free 7 ;; the terms of the GNU General Public License as published by the Free
97 /* Optional extra constraints for this machine. */ 97 /* Optional extra constraints for this machine. */
98 98
99 (define_memory_constraint "Q" 99 (define_memory_constraint "Q"
100 "operand is a MEM that does not have a mode-dependent address." 100 "operand is a MEM that does not have a mode-dependent address."
101 (and (match_code "mem") 101 (and (match_code "mem")
102 (match_test "!mode_dependent_address_p (XEXP (op, 0))"))) 102 (match_test "!mode_dependent_address_p (XEXP (op, 0),
103 MEM_ADDR_SPACE (op))")))
103 104
104 (define_memory_constraint "B" 105 (define_memory_constraint "B"
105 "" 106 ""
106 (and (match_operand:BLK 0 "memory_operand") 107 (and (match_operand:BLK 0 "memory_operand")
107 (not (match_operand:BLK 0 "illegal_blk_memory_operand" "")))) 108 (not (match_operand:BLK 0 "illegal_blk_memory_operand" ""))))
111 (and (match_operand:DI 0 "memory_operand") 112 (and (match_operand:DI 0 "memory_operand")
112 (not (match_operand:DI 0 "illegal_addsub_di_memory_operand" "")))) 113 (not (match_operand:DI 0 "illegal_addsub_di_memory_operand" ""))))
113 114
114 (define_constraint "T" 115 (define_constraint "T"
115 "@internal satisfies CONSTANT_P and, if pic is enabled, is not a SYMBOL_REF, LABEL_REF, or CONST." 116 "@internal satisfies CONSTANT_P and, if pic is enabled, is not a SYMBOL_REF, LABEL_REF, or CONST."
116 (ior (not (match_code "const,symbol_ref,label_ref")) 117 (and (match_test ("CONSTANT_P (op)"))
117 (match_test "!flag_pic"))) 118 (ior (not (match_code "symbol_ref,label_ref,const"))
119 (match_test "!flag_pic"))))