This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/39847] 16 symbolic register names generates error: more than 30 operands in 'asm'
- From: "aph at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Apr 2009 11:08:24 -0000
- Subject: [Bug inline-asm/39847] 16 symbolic register names generates error: more than 30 operands in 'asm'
- References: <bug-39847-17610@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #22 from aph at gcc dot gnu dot org 2009-04-23 11:08 -------
Re named register variables:
You can, instead of using
[coeff_ptr_l1] "+r" (coeff_ptr_l1)
declare something like
register long double *coeff_ptr_l1 asm ("%%r8");
and then use "%%r8" in your asm. This means that you allocate the registers
instead of the compiler, but it may solve your immediate problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39847