This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC proposal for "@" asm constraint
- To: andrea at suse dot de
- Subject: Re: GCC proposal for "@" asm constraint
- From: John Wehle <john at feith dot com>
- Date: Mon, 18 Sep 2000 19:53:04 -0400 (EDT)
- Cc: lk at tantalophile dot demon dot co dot uk, gcc at gcc dot gnu dot org, kuznet at ms2 dot inr dot ac dot ru, linux-kernel at vger dot kernel dot org, torvalds at transmeta dot com
> I read the asm produced by some of some of my testcases. The current spinlock
> implementation seems to do exactly the _right_ thing in practice and nothing
> more. "memory" was instead causing reloads of constant addresses into registers
> and stuff that shouldn't be necessary (I was infact wondering about the reason
> of those suprious loads also in my first email).
What version of gcc? Recently some work was done to improve the handling
of constant memory.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------