Re: [PATCH 2/2] xtensa: use pre- and postincrement FP load/store when available

2014-10-14 Thread Max Filippov
On Mon, Oct 13, 2014 at 8:04 PM, augustine.sterl...@gmail.com wrote: > On Sun, Oct 12, 2014 at 3:46 PM, Max Filippov wrote: >> 2014-10-10 Max Filippov >> >> gcc/ >> * config/xtensa/xtensa.h (TARGET_HARD_FLOAT_POSTINC): new macro. >> * config/xtensa/xtensa.md (*lsiu, *ssiu): add depende

Re: [PATCH 2/2] xtensa: use pre- and postincrement FP load/store when available

2014-10-13 Thread Max Filippov
On Mon, Oct 13, 2014 at 8:04 PM, augustine.sterl...@gmail.com wrote: > On Sun, Oct 12, 2014 at 3:46 PM, Max Filippov wrote: >> 2014-10-10 Max Filippov >> >> gcc/ >> * config/xtensa/xtensa.h (TARGET_HARD_FLOAT_POSTINC): new macro. >> * config/xtensa/xtensa.md (*lsiu, *ssiu): add depende

Re: [PATCH 2/2] xtensa: use pre- and postincrement FP load/store when available

2014-10-13 Thread augustine.sterl...@gmail.com
On Sun, Oct 12, 2014 at 3:46 PM, Max Filippov wrote: > 2014-10-10 Max Filippov > > 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 instructio

[PATCH 2/2] xtensa: use pre- and postincrement FP load/store when available

2014-10-12 Thread Max Filippov
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-10 Max Filippov gcc/ * config/xte