Mercurial > hg > CbC > CbC_gcc
diff gcc/config/pa/predicates.md @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
line wrap: on
line diff
--- a/gcc/config/pa/predicates.md Tue May 25 18:58:51 2010 +0900 +++ b/gcc/config/pa/predicates.md Tue Mar 22 17:18:12 2011 +0900 @@ -1,5 +1,5 @@ ;; Predicate definitions for HP PA-RISC. -;; Copyright (C) 2005, 2007 Free Software Foundation, Inc. +;; Copyright (C) 2005, 2007, 2010 Free Software Foundation, Inc. ;; ;; This file is part of GCC. ;; @@ -240,64 +240,6 @@ return memory_address_p (mode, XEXP (op, 0)); }) -;; Accept anything that can be used as the source operand for a -;; prefetch instruction with a cache-control completer. - -(define_predicate "prefetch_cc_operand" - (match_code "mem") -{ - if (GET_CODE (op) != MEM) - return 0; - - op = XEXP (op, 0); - - /* We must reject virtual registers as we don't allow REG+D. */ - if (op == virtual_incoming_args_rtx - || op == virtual_stack_vars_rtx - || op == virtual_stack_dynamic_rtx - || op == virtual_outgoing_args_rtx - || op == virtual_cfa_rtx) - return 0; - - if (!REG_P (op) && !IS_INDEX_ADDR_P (op)) - return 0; - - /* Until problems with management of the REG_POINTER flag are resolved, - we need to delay creating prefetch insns with unscaled indexed addresses - until CSE is not expected. */ - if (!TARGET_NO_SPACE_REGS - && !cse_not_expected - && GET_CODE (op) == PLUS - && REG_P (XEXP (op, 0))) - return 0; - - return memory_address_p (mode, op); -}) - -;; Accept anything that can be used as the source operand for a -;; prefetch instruction with no cache-control completer. - -(define_predicate "prefetch_nocc_operand" - (match_code "mem") -{ - if (GET_CODE (op) != MEM) - return 0; - - op = XEXP (op, 0); - - /* Until problems with management of the REG_POINTER flag are resolved, - we need to delay creating prefetch insns with unscaled indexed addresses - until CSE is not expected. */ - if (!TARGET_NO_SPACE_REGS - && !cse_not_expected - && GET_CODE (op) == PLUS - && REG_P (XEXP (op, 0)) - && REG_P (XEXP (op, 1))) - return 0; - - return memory_address_p (mode, op); -}) - ;; Accept REG and any CONST_INT that can be moved in one instruction ;; into a general register.