Re: non-functional backout for review



On Thu, Nov 01, 2007 at 11:15:21AM +0800, David Xu wrote:
Andrey Chernov wrote:
Some people complaints that new check in __isctype() is not human readable
and requests for backout. Compiler gives almost identical code for old and
new excepting non-optimized case where non-human readable one wins. I am a
bit tired to change it forth and back, so ask for final consensus here.
Old one
return (_c < 0 || _c >= 128) ? 0 :
New one (requests for backout)
return (_c & ~0x7F) ? 0 :

I will use a version which compiler can generate optimized code.
the name __isctype already tells what the function is doing. :-)

Already done.

--
http://ache.pp.ru/
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: non-functional backout for review
    ... Compiler gives almost identical code for old and new excepting non-optimized case where non-human readable one wins. ... New one (requests for backout) ...
    (freebsd-current)
  • non-functional backout for review
    ... Compiler gives almost identical code for old and ... New one (requests for backout) ...
    (freebsd-current)
  • Re: non-functional backout for review
    ... Compiler gives almost identical code for old and new excepting non-optimized case where non-human readable one wins. ... New one (requests for backout) ...
    (freebsd-current)
  • Re: Structure of large link libraries in f95
    ... I cited LAPACK as an example that might be of general interest, ... which LAPACK90 shows just how ugly option 2 can get. ... It isn't intrinsically hard to do, but Sun's compiler ... the requests for compile-to-archive stopped, ...
    (comp.lang.fortran)
  • Re: C++ in KMDF
    ... compiler that generates safe drivers ... represent merely a puny squeak amid the vast din of feature requests from ... There is a wall between the compiler teams and the DDK teams. ...
    (microsoft.public.development.device.drivers)