From d7d572ef79f9d5adaec890976f2f4b8044bf3f3b Mon Sep 17 00:00:00 2001 From: uros Date: Tue, 17 Nov 2009 07:30:55 +0000 Subject: [PATCH] * config/i386/predicates.md (x86_64_szext_general_operand): Do not nest ior expressions. (x86_64_szext_nonmemory_operand): Ditto. (call_insn_operand): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154241 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 9 ++++++++- gcc/config/i386/predicates.md | 12 ++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8464a28d202..abe9443d6d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2009-11-17 Uros Bizjak + + * config/i386/predicates.md (x86_64_szext_general_operand): Do not + nest ior expressions. + (x86_64_szext_nonmemory_operand): Ditto. + (call_insn_operand): Ditto. + 2009-11-16 Alexandre Oliva * stmt.c (expand_asm_stmt): Get locus from stmt. @@ -79,7 +86,7 @@ (execute_all_ipa_transforms): Update. (execute_one_pass): Update. -2009-11-14 Andy Hutchinson +2009-11-14 Andy Hutchinson PR target/21078, 21080 * config/avr/avr.c (avr_return_addr_rtx): New function for diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index e5916e39a5a..31a203758ed 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -327,8 +327,8 @@ (define_predicate "x86_64_szext_general_operand" (if_then_else (match_test "TARGET_64BIT") (ior (match_operand 0 "nonimmediate_operand") - (ior (match_operand 0 "x86_64_immediate_operand") - (match_operand 0 "x86_64_zext_immediate_operand"))) + (match_operand 0 "x86_64_immediate_operand") + (match_operand 0 "x86_64_zext_immediate_operand")) (match_operand 0 "general_operand"))) ;; Return nonzero if OP is nonmemory operand representable on x86_64. @@ -342,8 +342,8 @@ (define_predicate "x86_64_szext_nonmemory_operand" (if_then_else (match_test "TARGET_64BIT") (ior (match_operand 0 "register_operand") - (ior (match_operand 0 "x86_64_immediate_operand") - (match_operand 0 "x86_64_zext_immediate_operand"))) + (match_operand 0 "x86_64_immediate_operand") + (match_operand 0 "x86_64_zext_immediate_operand")) (match_operand 0 "nonmemory_operand"))) ;; Return true when operand is PIC expression that can be computed by lea @@ -577,8 +577,8 @@ ;; Test for a valid operand for a call instruction. (define_predicate "call_insn_operand" (ior (match_operand 0 "constant_call_address_operand") - (ior (match_operand 0 "call_register_no_elim_operand") - (match_operand 0 "memory_operand")))) + (match_operand 0 "call_register_no_elim_operand") + (match_operand 0 "memory_operand"))) ;; Similarly, but for tail calls, in which we cannot allow memory references. (define_predicate "sibcall_insn_operand" -- 2.11.0