Kewen:

On 7/25/24 1:22 AM, Kewen.Lin wrote:
on 2024/7/24 01:52, Carl Love wrote:
GCC maintainers:

This patch was previously posted.  Per the feedback, it is now the first of two 
patches to remove the set built-ins.

This patch removes the __builtin_vec_set_v1ti, __builtin_vec_set_v2df and 
__builtin_vec_set_v2di built-ins.  The users should just use normal C-code to 
update the various vector elements.  This change was originally intended to be 
part of the earlier series of cleanup patches.  It was initially thought that 
some additional work would be needed to do some gimple generation instead of 
these built-ins.  However, the existing default code generation does produce 
the needed code.    For the vec_set bif, the equivalent C code is as good or 
better than the built-in.  For the vec_insert bif whose resolving previously 
made use of the vec_set bif, the assembly code generation is as good as before 
with the -O3 optimization.
This background information will be also mentioned in commit log, right?

Forgot to mention, I added the paragragh to the commit log.

                       Carl

Reply via email to