Deleted Added
full compact
predicates.md (169690) predicates.md (220150)
1;; Predicate definitions for MIPS.
2;; Copyright (C) 2004 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 2, or (at your option)

--- 102 unchanged lines hidden (view full) ---

111 && !(GET_CODE (op) == SYMBOL_REF
112 && SYMBOL_REF_DECL (op)
113 && !DECL_EXTERNAL (SYMBOL_REF_DECL (op))))
114 return false;
115
116 /* If -mlong-calls, force all calls to use register addressing. Also,
117 if this function has the long_call attribute, we must use register
118 addressing. */
1;; Predicate definitions for MIPS.
2;; Copyright (C) 2004 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 2, or (at your option)

--- 102 unchanged lines hidden (view full) ---

111 && !(GET_CODE (op) == SYMBOL_REF
112 && SYMBOL_REF_DECL (op)
113 && !DECL_EXTERNAL (SYMBOL_REF_DECL (op))))
114 return false;
115
116 /* If -mlong-calls, force all calls to use register addressing. Also,
117 if this function has the long_call attribute, we must use register
118 addressing. */
119 return !TARGET_LONG_CALLS && !SYMBOL_REF_LONG_CALL_P (op);
119 return (!TARGET_LONG_CALLS
120 && !(GET_CODE (op) == SYMBOL_REF
121 && SYMBOL_REF_LONG_CALL_P (op)));
120
121 case SYMBOL_GOT_GLOBAL:
122 /* Without explicit relocs, there is no special syntax for
123 loading the address of a call destination into a register.
124 Using "la $25,foo; jal $25" would prevent the lazy binding
125 of "foo", so keep the address of global symbols with the
126 jal macro. */
127 return !TARGET_EXPLICIT_RELOCS;

--- 159 unchanged lines hidden ---
122
123 case SYMBOL_GOT_GLOBAL:
124 /* Without explicit relocs, there is no special syntax for
125 loading the address of a call destination into a register.
126 Using "la $25,foo; jal $25" would prevent the lazy binding
127 of "foo", so keep the address of global symbols with the
128 jal macro. */
129 return !TARGET_EXPLICIT_RELOCS;

--- 159 unchanged lines hidden ---