This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Specify named registers for ARM inline asm
- From: Andrew Haley <aph at redhat dot com>
- To: Jeremy Hall <jeremy dot m0jnx at gmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Sat, 30 May 2015 10:30:43 +0100
- Subject: Re: Specify named registers for ARM inline asm
- Authentication-results: sourceware.org; auth=none
- References: <CABQJvp=9puX9fkdBNaYBPJUvK=C9x4i9sJkXfDCBC_LdPMUoFA at mail dot gmail dot com>
On 30/05/15 10:15, Jeremy Hall wrote:
> For ARM, is there a way to directly load a named register in inline asm?
Use explicit register variables for your arguments.
See 6.44.2, Specifying Registers for Local Variables.
Andrew.