]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/bfin/bfin.h
bfin.h (LEGITIMATE_CONSTANT_P): Call bfin_legitimate_constant_p.
authorBernd Schmidt <bernd.schmidt@analog.com>
Mon, 20 Nov 2006 12:22:25 +0000 (12:22 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Mon, 20 Nov 2006 12:22:25 +0000 (12:22 +0000)
commitd6f6753efec42c63c32b0e0cfa1e9944a2e9ac4a
tree0f1f7a4aeff6b0ce5ab4e6785108850140a44cdd
parentf81c1b60f257f47b08ed9e03585b81922b9ec31e
bfin.h (LEGITIMATE_CONSTANT_P): Call bfin_legitimate_constant_p.

* config/bfin/bfin.h (LEGITIMATE_CONSTANT_P): Call
bfin_legitimate_constant_p.
* config/bfin/bfin.md (movsi expander): Check return value of
expand_mvoe.
* config/bfin/bfin-protos.h (bfin_legitimate_constant_p): Declare.
(expand_move): Adjust prototype.
* config/bfin/bfin.c (expand_move): Now returns bool.  Handle
invalid constants specially.
(bfin_cannot_force_const_mem, bfin_legitimate_constant_p): New
functions.
(TARGET_CANNOT_FORCE_CONST_MEM): New macro.

From-SVN: r119011
gcc/ChangeLog
gcc/config/bfin/bfin-protos.h
gcc/config/bfin/bfin.c
gcc/config/bfin/bfin.h
gcc/config/bfin/bfin.md