re PR target/86994 (64-bit gcc.target/i386/20040112-1.c FAILs)
authorUros Bizjak <ubizjak@gmail.com>
Sun, 19 Aug 2018 19:10:37 +0000 (21:10 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 19 Aug 2018 19:10:37 +0000 (21:10 +0200)
commitc6067437d314f803a6b7c1083f6d280caaf17ce3
treeb060ee11935f895447eae90d6f726a0a6d626a57
parent49ad7eb55658cea1dd501b035c57c8d4cd350b90
re PR target/86994 (64-bit gcc.target/i386/20040112-1.c FAILs)

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.

From-SVN: r263652
gcc/ChangeLog
gcc/config/i386/i386.c