public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/54342] [4.8 Regression] Wrong mode of call argument
Date: Thu, 23 Aug 2012 13:58:00 -0000	[thread overview]
Message-ID: <bug-54342-4-QK77qotbnV@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-54342-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54342

--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> 2012-08-23 13:58:15 UTC ---
(In reply to comment #4)
> I believe that OImode is currently handled inconsistently in the compiler, and
> should be handled exactly in the way TImode is handled for xmm registers.
> 
> There are some examples:
> 
> -function_pass_avx256_p: OImode is handled together with VALID_AVX256_REG_MODE
> in parallels, but not in registers.
> -construct_container: OImode is created for container member
> -ix86_hard_regno_mode_ok: OImode is handled together with
> VALID_AVX256_REG_MODE.

It is done on purpose.  GCC needs an integer mode which
is as wide as vector size for internal usage.

> I think that OImode should be a member of VALID_AVX256_REG_MODE.

If we want to do that, we need first to update psABI to specify how
to pass and return OImode.


  parent reply	other threads:[~2012-08-23 13:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-21 11:04 [Bug rtl-optimization/54342] New: " vbyakovl23 at gmail dot com
2012-08-21 11:08 ` [Bug rtl-optimization/54342] " rguenth at gcc dot gnu.org
2012-08-21 11:10 ` rguenth at gcc dot gnu.org
2012-08-21 11:18 ` vbyakovl23 at gmail dot com
2012-08-22 22:02 ` ubizjak at gmail dot com
2012-08-22 22:09 ` hjl.tools at gmail dot com
2012-08-22 22:11 ` hjl.tools at gmail dot com
2012-08-22 22:26 ` ubizjak at gmail dot com
2012-08-23  4:04 ` hjl.tools at gmail dot com
2012-08-23 13:58 ` hjl.tools at gmail dot com [this message]
2012-08-23 14:27 ` hjl.tools at gmail dot com
2012-08-23 17:16 ` hjl.tools at gmail dot com
2012-11-09 12:20 ` jakub at gcc dot gnu.org
2012-11-16 22:59 ` [Bug target/54342] OImode is used for _m256 types when using unions in a function call pinskia at gcc dot gnu.org
2012-11-22  7:06 ` vbyakovl23 at gmail dot com

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-54342-4-QK77qotbnV@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).