]> git.ipfire.org Git - thirdparty/gcc.git/commit
xtensa: Add RTX costs for if_then_else
authorTakayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
Fri, 29 Jul 2022 19:31:44 +0000 (04:31 +0900)
committerMax Filippov <jcmvbkbc@gmail.com>
Sat, 30 Jul 2022 04:14:18 +0000 (21:14 -0700)
commit48e9954d0865b5e5e31cb77ad05c45f7206eeb9f
tree1cd7293dfd2f233573d0d7716488b14a5e1aa45d
parentb2bf04739fb4170d24a3a83327fdf2b5d1a88520
xtensa: Add RTX costs for if_then_else

It takes one machine instruction for both condtional branch and move.

gcc/ChangeLog:

* config/xtensa/xtensa.cc (xtensa_rtx_costs):
Add new case for IF_THEN_ELSE.
gcc/config/xtensa/xtensa.cc