[PATCH]: transform builtin isdigit [take 2]

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Wed Apr 14 14:47:00 GMT 2004

 > From: Roger Sayle <roger@eyesopen.com>
 > If we were really concerned about the performance difference to the
 > table-based implementation, we could theoretically provide target
 > macros allowing the backend to specify the name of the libc symbol
 > that contains such a table, it's type and the appropriate bit-mask.
 > If all this information is available, we could use it to override the
 > default range-based implmentation provided by your patch.

Yes.  It would basically mean moving some of the ctype information
from libstdc++-v3/config/os/*/ctype_*.h into target macros so the
builtins could access it.

I'm not sure I want to tackle that.

Kaveh R. Ghazi			ghazi@caip.rutgers.edu

More information about the Gcc-patches mailing list