]> git.ipfire.org Git - thirdparty/gcc.git/commit
[RS6000] rs6000_rtx_costs for PLUS/MINUS constant
authorAlan Modra <amodra@gmail.com>
Thu, 18 Jun 2015 10:49:55 +0000 (20:19 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 24 Sep 2020 03:22:23 +0000 (12:52 +0930)
commit34cd84890422f79c37cbcbcc594028bb852bcc67
treec22da12ea323731cf6b7b3dde5da44ed7e86e6e8
parent0075cea0fdccc2efb781f4f3c924007de37a3417
[RS6000] rs6000_rtx_costs for PLUS/MINUS constant

These functions do behave a little differently for SImode, so the
mode should be passed.

* config/rs6000/rs6000.c (rs6000_rtx_costs): Pass mode to
reg_or_add_cint_operand and reg_or_sub_cint_operand.
gcc/config/rs6000/rs6000.c