This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix middle-end/17767


On Tue, 4 Jan 2005, Uros Bizjak wrote:
> 2005-01-04  Uros Bizjak  <uros@kss-loka.si>
>
>     PR target/17767
>     * cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Handle
>     vector modes for (const_arg0 == 0 || const_arg1 == 0).  Calculate
>     true and false value for vector modes.  Use VECTOR_STORE_FLAG_VALUE
>     macro to calcuate true value.
>     skip_vector_modes: new label.
>     * simplify-rtx.c (simplify_relational_operation): Fix variable name.
>

The obvious typo correction to simplify_relational_operation is OK for
mainline.

I agree with RTH that a better solution to PR middle-end/17767 would
be to correctly implement vector comparisons in both fold_rtx and
simplify_relational_operation_1 (perhaps in addition to a change like
yours above).

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]