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


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?


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


Daniel Jacobowitz wrote:
On Thu, Jul 09, 2009 at 02:03:01PM -0300, Daniel Gutson wrote:
Sorry guys, I'm not sure I understand your point.

ctz is not an ARM instruction, that's why __builtin_ctz is
implemented using other existing instructions (rbit, clz).

Is that what you are referring to?

Then what's this for?


+/* { dg-final { scan-assembler "ctz" } } */


-- Daniel Gutson CodeSourcery www.codesourcery.com


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