* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119011 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 14 additions, 0 deletionsgcc/ChangeLog
- gcc/config/bfin/bfin-protos.h 2 additions, 1 deletiongcc/config/bfin/bfin-protos.h
- gcc/config/bfin/bfin.c 75 additions, 2 deletionsgcc/config/bfin/bfin.c
- gcc/config/bfin/bfin.h 1 addition, 1 deletiongcc/config/bfin/bfin.h
- gcc/config/bfin/bfin.md 4 additions, 1 deletiongcc/config/bfin/bfin.md
Loading
Please register or sign in to comment