Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gcc4/gcc/config/vax Don't use/rely on a constraint....
details: https://anonhg.NetBSD.org/src/rev/829d169fef7b
branches: trunk
changeset: 756654:829d169fef7b
user: matt <matt%NetBSD.org@localhost>
date: Tue Jul 27 16:30:38 2010 +0000
description:
Don't use/rely on a constraint. Move the constraint predicate
to the pattern's condition.
diffstat:
gnu/dist/gcc4/gcc/config/vax/vax.md | 22 ++++++++++++----------
1 files changed, 12 insertions(+), 10 deletions(-)
diffs (49 lines):
diff -r 4460e4ac53fb -r 829d169fef7b gnu/dist/gcc4/gcc/config/vax/vax.md
--- a/gnu/dist/gcc4/gcc/config/vax/vax.md Tue Jul 27 16:15:30 2010 +0000
+++ b/gnu/dist/gcc4/gcc/config/vax/vax.md Tue Jul 27 16:30:38 2010 +0000
@@ -1129,16 +1129,17 @@
(define_insn ""
[(set (pc)
(if_then_else
- (ne (zero_extract:SI (match_operand:QI 0 "memory_operand" "Q")
+ (ne (zero_extract:SI (match_operand:QI 0 "memory_operand" "g")
(const_int 1)
(const_int 0))
(const_int 0))
(label_ref (match_operand 1 "" ""))
(pc)))]
- "GET_CODE (XEXP (operands[0], 0)) != PLUS
- || !REG_P (XEXP (XEXP (operands[0], 0), 0))
- || !CONST_INT_P (XEXP (XEXP (operands[0], 0), 1))
- || (INTVAL (XEXP (XEXP (operands[0], 0), 1)) & 3) == 0"
+ "! mode_dependent_address_p (XEXP (operands[0], 0))
+ && (GET_CODE (XEXP (operands[0], 0)) != PLUS
+ || !REG_P (XEXP (XEXP (operands[0], 0), 0))
+ || !CONST_INT_P (XEXP (XEXP (operands[0], 0), 1))
+ || (INTVAL (XEXP (XEXP (operands[0], 0), 1)) & 3) == 0)"
"jlbs %0,%l1")
(define_insn ""
@@ -1156,16 +1157,17 @@
(define_insn ""
[(set (pc)
(if_then_else
- (eq (zero_extract:SI (match_operand:QI 0 "memory_operand" "Q")
+ (eq (zero_extract:SI (match_operand:QI 0 "memory_operand" "g")
(const_int 1)
(const_int 0))
(const_int 0))
(label_ref (match_operand 1 "" ""))
(pc)))]
- "GET_CODE (XEXP (operands[0], 0)) != PLUS
- || !REG_P (XEXP (XEXP (operands[0], 0), 0))
- || !CONST_INT_P (XEXP (XEXP (operands[0], 0), 1))
- || (INTVAL (XEXP (XEXP (operands[0], 0), 1)) & 3) == 0"
+ "! mode_dependent_address_p (XEXP (operands[0], 0))
+ && (GET_CODE (XEXP (operands[0], 0)) != PLUS
+ || !REG_P (XEXP (XEXP (operands[0], 0), 0))
+ || !CONST_INT_P (XEXP (XEXP (operands[0], 0), 1))
+ || (INTVAL (XEXP (XEXP (operands[0], 0), 1)) & 3) == 0)"
"jlbc %0,%l1")
(define_insn ""
Home |
Main Index |
Thread Index |
Old Index