Message ID | Zy6KffQpqBEaisrr@mx3210.local |
---|---|
State | New |
Headers | show |
Series | [committed] hppa: Don't use '%' operator in base14_operand | expand |
diff --git a/gcc/config/pa/predicates.md b/gcc/config/pa/predicates.md index 0defd2282fb..a27b2b1c78d 100644 --- a/gcc/config/pa/predicates.md +++ b/gcc/config/pa/predicates.md @@ -285,7 +285,7 @@ return false; default: - return (INTVAL (op) % GET_MODE_SIZE (mode)) == 0; + return (INTVAL (op) & (GET_MODE_SIZE (mode) - 1)) == 0; } return false;