Re: Post-increment constraint in inline assembly (SuperH)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29/01/18 09:05, Georg-Johann Lay wrote:
> A different approach is to explicitly use post-increment if that's the
> favourable addressing mode:
> 
> __asm__ ("movua.l %1, @%0+"
>           : "=z" (longword), "+r" (src)
>           : "m" (*src)

I'm not familiar with SuperH, but isn't src %1 in this asm, when it
should be %0 ?

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux