]> gcc.gnu.org Git - gcc.git/commit
tm.texi (CLZ_DEFINED_VALUE_AT_ZERO, [...]): Document change in interpretation of...
authorSandra Loosemore <sandra@codesourcery.com>
Thu, 9 Aug 2007 14:08:54 +0000 (10:08 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Thu, 9 Aug 2007 14:08:54 +0000 (10:08 -0400)
commit14670a74f8ea321083f6263b07467d866700d0bc
treea8a3fee4ca17eda473bf8fd976e6e1976cb54255
parent166cdb08f21ed5009f1890b717a4eaf0d7f5d3a6
tm.texi (CLZ_DEFINED_VALUE_AT_ZERO, [...]): Document change in interpretation of value from boolean to tri-state integer.

2007-08-09  Sandra Loosemore  <sandra@codesourcery.com>
    Nigel Stephens  <nigel@mips.com>

gcc/
* doc/tm.texi (CLZ_DEFINED_VALUE_AT_ZERO, CTZ_DEFINED_VALUE_AT_ZERO):
Document change in interpretation of value from boolean to
tri-state integer.
* optabs.c (expand_ffs, expand_ctz): New functions to compute
ffs and ctz using clz.
(expand_unop):  Call them.
* config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Fix its
result value.
(CTZ_DEFINED_VALUE_AT_ZERO): Likewise.
* config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Likewise, to
enable the new ffs expansion on this target.

Co-Authored-By: Nigel Stephens <nigel@mips.com>
From-SVN: r127318
gcc/ChangeLog
gcc/config/mips/mips.h
gcc/config/rs6000/rs6000.h
gcc/doc/tm.texi
gcc/optabs.c
This page took 0.062711 seconds and 5 git commands to generate.