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: [patch] (4.1 stage 2 projects): vectorize reduction, part 3/n


(due to lack of vectorization of maximum/minumum for some data types, as
explained above). Shall I xfail these tests for i686 and x86?

I think min and max should be implemented in term of unsigned saturated subtraction for unsigned values. It can be done directly in the expander, as instructions like the old RS6000 `doz' are becoming more common in vector units.


Paolo


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