This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, i386]: Use REGNO instead of true_regnum in print_reg


Using true_regnum to determine register number at insn output time is
just giant waste of cycles. For sure, we have only hard regs here.

2017-01-27  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/i386.c (print_reg): Use REGNO instead of true_regnum.

Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.

Committed to mainline SVN as obvious one-liner.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]