This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Improved trailing bit counting operation


Daniel Gutson writes:
> BTW,
>    what about making scan-assembler a little bit smarter and make it 
> ignore directives such as .file, so it focus on pure assembly only?

It's target-specific what constitutes pure assembly so this would be
non-trivial.  People typically use \t delimiters around the instruction which
is a good idea anyway and then the file directive wouldn't match.

> I know, developers should be smarter too :) But this could be some 
> useful improvement.

I think what would also be a useful improvement (I was actually thinking about
doing this) if with verbose you could see the actual matches that the scan*
infrastructure made.  Something like this in your case:

.file >>clz<<.c

Adam


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]