This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] [patch] Support vectorization of min/max location pattern
On 07/08/2010 12:33 AM, Ira Rosen wrote:
>> (1) The documentation should go into the DEFHOOK.
>
> I am sorry, but I don't understand what you mean.
DEFHOOK
(builtin_vect_compare,
"This hook returns a target builtin..."
tree, (unsigned code, tree type, tree *return_type), NULL)
For new code, the only thing that goes in tm.texi.in is
@hook TARGET_VECTORIZE_BUILTIN_VECT_COMPARE
> BUILTIN_VECT_COMPARE is used for location and not for MIN/MAX. There
> are two statements to vectorize: min/max and location computation.
> And min/max is vectorized as you described. Location has different
> types in condition (float) and then/else (integer).
Ah, well it seems I didn't really know what I was reviewing.
What is "location computation" in this context?
r~