public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ienkovich at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65105] [i386] XMM registers are not used for 64bit computations on 32bit target
Date: Tue, 29 Sep 2015 09:33:00 -0000	[thread overview]
Message-ID: <bug-65105-4-ajFgE48Vrg@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-65105-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65105

--- Comment #3 from Ilya Enkovich <ienkovich at gcc dot gnu.org> ---
Author: ienkovich
Date: Tue Sep 29 09:32:40 2015
New Revision: 228231

URL: https://gcc.gnu.org/viewcvs?rev=228231&root=gcc&view=rev
Log:
gcc/

        PR target/65105
        * config/i386/i386.c: Include dbgcnt.h.
        (has_non_address_hard_reg): New.
        (convertible_comparison_p): New.
        (scalar_to_vector_candidate_p): New.
        (remove_non_convertible_regs): New.
        (scalar_chain): New.
        (scalar_chain::scalar_chain): New.
        (scalar_chain::~scalar_chain): New.
        (scalar_chain::add_to_queue): New.
        (scalar_chain::mark_dual_mode_def): New.
        (scalar_chain::analyze_register_chain): New.
        (scalar_chain::add_insn): New.
        (scalar_chain::build): New.
        (scalar_chain::compute_convert_gain): New.
        (scalar_chain::replace_with_subreg): New.
        (scalar_chain::replace_with_subreg_in_insn): New.
        (scalar_chain::emit_conversion_insns): New.
        (scalar_chain::make_vector_copies): New.
        (scalar_chain::convert_reg): New.
        (scalar_chain::convert_op): New.
        (scalar_chain::convert_insn): New.
        (scalar_chain::convert): New.
        (convert_scalars_to_vector): New.
        (pass_data_stv): New.
        (pass_stv): New.
        (make_pass_stv): New.
        (ix86_option_override): Created and register stv pass.
        (flag_opts): Add -mstv.
        (ix86_option_override_internal): Likewise.
        * config/i386/i386.md (SWIM1248x): New.
        (*movdi_internal): Add xmm to mem alternative for TARGET_STV.
        (and<mode>3): Use SWIM1248x iterator instead of SWIM.
        (*anddi3_doubleword): New.
        (*zext<mode>_doubleword): New.
        (*zextsi_doubleword): New.
        (<code><mode>3): Use SWIM1248x iterator instead of SWIM.
        (*<code>di3_doubleword): New.
        * config/i386/i386.opt (mstv): New.
        * dbgcnt.def (stv_conversion): New.

gcc/testsuite/

        PR target/65105
        * gcc.target/i386/pr65105-1.c: New.
        * gcc.target/i386/pr65105-2.c: New.
        * gcc.target/i386/pr65105-3.c: New.
        * gcc.target/i386/pr65105-4.C: New.
        * gcc.dg/lower-subreg-1.c: Add -mno-stv options for ia32.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr65105-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr65105-2.c
    trunk/gcc/testsuite/gcc.target/i386/pr65105-3.c
    trunk/gcc/testsuite/gcc.target/i386/pr65105-4.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.md
    trunk/gcc/config/i386/i386.opt
    trunk/gcc/dbgcnt.def
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/lower-subreg-1.c


  parent reply	other threads:[~2015-09-29  9:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-18 12:11 [Bug target/65105] New: " enkovich.gnu at gmail dot com
2015-02-18 12:45 ` [Bug target/65105] " jakub at gcc dot gnu.org
2015-02-18 13:28 ` enkovich.gnu at gmail dot com
2015-09-29  9:33 ` ienkovich at gcc dot gnu.org [this message]
2015-09-29  9:37 ` ienkovich at gcc dot gnu.org
2022-03-05  8:52 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-65105-4-ajFgE48Vrg@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).