summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/predicates.md
diff options
context:
space:
mode:
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-27 12:51:45 +0000
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-27 12:51:45 +0000
commitca1ad49535f3a1e814ea14893bfbba41d459cd58 (patch)
tree23e468343a7a5f839977f0640b41b8512e2da565 /gcc/config/rs6000/predicates.md
parentc86a4051dffbc94a4d3b8e7c56024a77d604fd07 (diff)
downloadgcc-ca1ad49535f3a1e814ea14893bfbba41d459cd58.tar.gz
2012-07-27 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/constraints.md: Delete "q" constraint. * config/rs6000/dfp.md (movsd_hardfloat, movsd_softfloat): Delete the "q" alternative. * config/rs6000/predicates.md (gpc_reg_operand): Adjust. * config/rs6000/rs6000.c (rs6000_debug_reg_global, rs6000_init_hard_regno_mode_ok, rs6000_dbx_register_number): Adjust to MQ_REGNO removal. * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTER): Adjust comment. (REG_ALLOC_ORDER): Adjust comment. Remove MQ from alloc order. (enum reg_class): Adjust comment. Delete MQ_REGS. (REG_CLASS_CONTENTS): Adjust. (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust comment. * config/rs6000/rs6000.md: Delete MQ_REGNO. (movsi_internal1, movsi_internal1_single, movhi_internal, movqi_internal, movcc_internal1, movsf_hardfloat, movsf_softfloat): Delete the "q" alternative. (ctr<mode>_internal1, ctr<mode>_internal2, ctr<mode>_internal5, ctr<mode>_internal6): Delete "q" constraint. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189913 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/predicates.md')
-rw-r--r--gcc/config/rs6000/predicates.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md
index f29d0918f58..e2c3e70d226 100644
--- a/gcc/config/rs6000/predicates.md
+++ b/gcc/config/rs6000/predicates.md
@@ -1,6 +1,5 @@
;; Predicate definitions for POWER and PowerPC.
-;; Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
-;; Free Software Foundation, Inc.
+;; Copyright (C) 2005-2012 Free Software Foundation, Inc.
;;
;; This file is part of GCC.
;;
@@ -128,7 +127,8 @@
(match_test "(GET_CODE (op) != REG
|| (REGNO (op) >= ARG_POINTER_REGNUM
&& !CA_REGNO_P (REGNO (op)))
- || REGNO (op) < MQ_REGNO)
+ || INT_REGNO_P (REGNO (op))
+ || FP_REGNO_P (REGNO (op)))
&& !((TARGET_E500_DOUBLE || TARGET_SPE)
&& invalid_e500_subreg (op, mode))")))