xtensa: use pre- and postincrement FP load/store when available
commit05065cf0b1cbeb5d70a38d0a0a3c23f6febb6bda
authorjcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Oct 2014 04:20:03 +0000 (15 04:20 +0000)
committerjcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Oct 2014 04:20:03 +0000 (15 04:20 +0000)
tree3c61f261281ee6b510b3561d91c8e41e0cb81d6e
parentc090033b71b5b7e4c6499a2ae6f8b511c0a92e81
xtensa: use pre- and postincrement FP load/store when available

Earlier versions of xtensa FPU used to support preincrement FP load and
store instructions (lsiu/ssiu). Recent FPU supports postincrement FP
load and store instructions only (lsip/ssip). Use configuration macro to
decide which version is available.

2014-10-14  Max Filippov  <jcmvbkbc@gmail.com>

gcc/
    * config/xtensa/xtensa.h (TARGET_HARD_FLOAT_POSTINC): new macro.
    * config/xtensa/xtensa.md (*lsiu, *ssiu): add dependency on
    !TARGET_HARD_FLOAT_POSTINC.
    (*lsip, *ssip): new instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216234 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/xtensa/xtensa.h
gcc/config/xtensa/xtensa.md