[llvmlinux] [PATCH 1/2] [mips] Replace named register fix with an upstreamable version.

Renato Golin renato.golin at linaro.org
Fri Jan 9 18:09:42 UTC 2015


On 9 January 2015 at 18:04, Vinícius Tinti <viniciustinti at gmail.com> wrote:
> -     register unsigned long n asm("v0");
> -     register unsigned long r asm("v0");
> +     register unsigned long n;
> +     register unsigned long r;
>
> How can you guarantee that the compiler will honor the register placement?

You can't, and it won't. Maybe that's the intention?

cheers,
--renato


More information about the LLVMLinux mailing list