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][RFC] Fix complex multiplication vectorization on x86_64


Hello!

The problem starts with the testsuite which either can be tuned to
have vect_extract_even_odd or not, but not, as x86_64 requires,
only turn on support for vect_extract_even_odd for SImode or larger
element sizes. Any suggestions how to deal with this?

We can perhaps split check_effective_target_vect_extract_even_odd procedure to check_effective_target_vect_extract_even_odd_{narrow,wide} and use equivalent vect_extract_* functions in target selectors.


IMO, we can then simply use vect_extract_even_odd_wide in functions that fail due to extra vectorisations and vect_extract_even_odd_narrow with (depending on operands) logical and of vect_extract_even_odd_wide in other vect-strided-* functions.


Uros.



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