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 UNSPEC_{FILD_FIST}_ATOMIC in {load,store}di_via_fpu


Hello!

Trivial patch to make insn dumps more informative.

2015-04-02  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/sync.md (UNSPEC_FILD_ATOMIC, UNSPEC_FIST_ATOMIC): New.
    (loaddi_via_fpu): Use UNSPEC_FILD_ATOMIC.
    (storedi_via_fpu): Use UNSPEC_FIST_ATOMIC.
    * reg-stack.c (get_true_reg): Change UNSPEC_LDA to UNSPEC_FILD_ATOMIC.
    (subst_stack_regs_pat): Change UNSPEC_STA to UNSPEC_FIST_ATOMIC.

Bootstrapped and regtested on x86_64-linux-gnu {,-m32} and committed
to mainline SVN.

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]