diff options
| author | matt <matt@NetBSD.org> | 2010-07-27 16:30:38 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2010-07-27 16:30:38 +0000 |
| commit | f2d2b6453a0a794d30e33bf5c8686ab59fa7f988 (patch) | |
| tree | 482a811edb86d214f7920ab93df735f161071f34 /gnu | |
| parent | d8c815f3cdb4c89fa5b1b923f1fb7c41d2f6b4fa (diff) | |
Don't use/rely on a constraint. Move the constraint predicate
to the pattern's condition.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gcc4/gcc/config/vax/vax.md | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/gnu/dist/gcc4/gcc/config/vax/vax.md b/gnu/dist/gcc4/gcc/config/vax/vax.md index 7b0144bf223..691b991347f 100644 --- a/gnu/dist/gcc4/gcc/config/vax/vax.md +++ b/gnu/dist/gcc4/gcc/config/vax/vax.md @@ -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 "" |
