PR target/86994
commit9dec9a132c1564d2c9b79d76749fdae1506929dd
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Aug 2018 19:10:37 +0000 (19 19:10 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Aug 2018 19:10:37 +0000 (19 19:10 +0000)
treeb060ee11935f895447eae90d6f726a0a6d626a57
parenta35c3e7b54b32ff8bb87048593df40bbae005f16
PR target/86994
* config/i386/i386.c (ix86_rtx_costs) [case SET]: Check source for
register_operand when calling ix86_set_reg_reg_cost.
[case CONST_INT, case CONST, case LABEL_REF, case SYMBOL_REF]:
Set *total to 0 for operands that satisfy x86_64_immediate_operand
predicate and to 1 otherwise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263652 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c