]> gcc.gnu.org Git - gcc.git/commit
xtensa: Implement new target hook: TARGET_CONSTANT_OK_FOR_CPROP_P
authorTakayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
Sun, 11 Sep 2022 11:51:15 +0000 (20:51 +0900)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 12 Sep 2022 19:37:07 +0000 (12:37 -0700)
commit936efcac733fe49e5ea9e636403e5941f24ff1b3
tree8658fdc1d915f0946bb766b846f74b45a557f048
parentdb19cfdac8ede93172aecc58612171c239c993ad
xtensa: Implement new target hook: TARGET_CONSTANT_OK_FOR_CPROP_P

This patch implements new target hook TARGET_CONSTANT_OK_FOR_CPROP_P in
order to exclude CONST_INTs that cannot fit into a MOVI machine instruction
from cprop.

gcc/ChangeLog:

* config/xtensa/xtensa.cc (TARGET_CONSTANT_OK_FOR_CPROP_P):
New macro definition.
(xtensa_constant_ok_for_cprop_p):
Implement the hook as mentioned above.
gcc/config/xtensa/xtensa.cc
This page took 0.057156 seconds and 6 git commands to generate.