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

hyc at symas dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #2 from hyc at symas dot com ---
(In reply to Andrew Pinski from comment #1)
> You want %qN.
> Some something like:
> {uint8x16_t _a, _b, _c, _d;
>     __asm__("ldp %q0, %q1, %4\n\t"
>         "ldp %q2, %q3, %4, #32\n\t" : "=w"(_a), "=w"(_b), "=w"(_c), "=w"(_d)
> : "Ump"(state.k) :);
> 
> Oh by the way you really not need this.  GCC should be able to use ldp in
> these cases if wanted by the target; though ldp for q registers is not yet
> implemented as most processors don't want them right now.

Thanks.
> 
> Also your inline-asm is incorrect as you modify state.k.

Oh? That's not my intention at this point. Just want to load from it.

> So really it should be something like:
> {uint8x16_t _a, _b, _c, _d;
>     __asm__("ldp %q0, %q1, %4\n\t"
>         "ldp %q2, %q3, %4, #32\n\t" : "=w"(_a), "=w"(_b), "=w"(_c), "=w"(_d)
> , "+Ump"(state.k) :);

Reply via email to