gcc: xtensa: rearrange DI mode constant loading
authorTakayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
Wed, 16 Dec 2020 20:53:56 +0000 (12:53 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 16 Dec 2020 21:09:02 +0000 (13:09 -0800)
commit64a54505ec8249178b9767d1420354f8eb55de50
tree0ca0776456b7e9cfda17f9030eea1d60b7d2501e
parentdb253e8b1dba3ec1138d1b5ea0fac361dde9ac17
gcc: xtensa: rearrange DI mode constant loading

2020-12-16  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
gcc/
* config/xtensa/xtensa.c (xtensa_emit_move_sequence): Try to
replace 'l32r' with 'movi' + 'slli' when optimizing for size.
* config/xtensa/xtensa.md (movdi): Split loading DI mode constant
into register pair into two loads of SI mode constants.
gcc/config/xtensa/xtensa.c
gcc/config/xtensa/xtensa.md