https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97286

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsandifo at gcc dot gnu.org

--- Comment #8 from ktkachov at gcc dot gnu.org ---
(In reply to Andrew Pinski from comment #3)
> simplified to remove intrsinics:
> ```
> typedef int v4si __attribute__((vector_size(4*sizeof(int))));
> typedef float v4sf __attribute__((vector_size(4*sizeof(int))));
> 
> void f(v4sf *a, v4sf *b, int l)
> {
>   v4si c = (v4si)*a;
>   for(int i = 0;i < l; i++)
>   {
>     v4sf d = (v4sf)c;
>     d+=b[i];
>     c = (v4si)d;
>   }
>   *a = (v4sf)c;
> }
> ```

Richard, do you think this is something early-ra in aarch64 is well-placed to
address? Or is there perhaps a realistic IRA solution?

Reply via email to