This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Suggestions for extended asm
- To: marekm at linux dot org dot pl
- Subject: Re: Suggestions for extended asm
- From: Jamie Lokier <egcs at tantalophile dot demon dot co dot uk>
- Date: Thu, 11 May 2000 17:49:47 +0200
- Cc: gcc at gcc dot gnu dot org
- References: <20000510083727Z116379-7303+47@piast.t19.ds.pwr.wroc.pl>
Marek Michalkiewicz wrote:
> 1. allow specifying the true length of assembler code
> inserted (equivalent of set_attr "length" ... in *.md,
> currently it is done by counting line separators in the
> string, but that might be unreliable if machine opcodes
> have different sizes or constructs like .rept/.endr are
> used). This is significant to prevent assembler errors
> if branches have limited range (like -64/+63 on AVR).
I'd like to extend then to general attributes, specifically for
scheduling. It does get rather subtarget specific then though, and
compiler version specific.
-- Jamie