public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Jonas Paulsson" <d03jp@student.lth.se>
To: "Bernd Schmidt" <bernds@codesourcery.com>
Cc: "Hans-Peter Nilsson" <hans-peter.nilsson@axis.com>,
	       radu.hobincu@arh.pub.ro, gcc@gcc.gnu.org
Subject: Re: GCC porting tutorials
Date: Thu, 29 Apr 2010 07:07:00 -0000	[thread overview]
Message-ID: <32779.90.237.163.38.1272524156.squirrel@webmail.student.lth.se> (raw)
In-Reply-To: <4BD8991C.7090107@codesourcery.com>

It feels good to know that the widening mults issue has been resolved as
it was a bit of a disapointment I noted the erratic behaviour with GCC
4.4.1. Perhaps you would care to comment on what to expect as a user now,
then?

Another issue that gave me porting problems was the SIMD memory accesses,
for e g doing a wide load into two adjacent narrow registers with one
instruction. This was resolved earlier on the mailinglist to not be
handleable on RTL, so I wonder now if anything has been done for this, as
it too seems rather reasonable, just like the widening loads?

/Jonas Paulsson




> On 04/27/2010 08:41 PM, Jonas Paulsson wrote:
>
>>> I've recently been bitten by the lost-widening-multiplication-
>>> when-in-loop issue myself, and noted it for revisit Some Day.
>>> Fixing that by other means made a whopping 27% improvement for
>>> the application where I saw it: a hot loop doing a MDCT using
>>> Q31 fixed-point, where a common operation is to widen-multiply
>>> two 32-bit numbers and pick the high 32 bits of the 64-bit
>>> result (being the result divided by 2; i.e. Q30-ish for that
>>> operation).
>>>
>>> brgds, H-P
>
> Widening multiplies should work again after r158633 and 158643.  If
> there are cases that still don't work for you, please file bugzilla PRs.
>
>
> Bernd
>
>


  reply	other threads:[~2010-04-29  6:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-24  9:05 Radu Hobincu
2010-04-24  9:17 ` Sergio Ruocco
2010-04-24  9:49 ` Michael Hope
2010-04-24 15:01 ` Ian Lance Taylor
2010-04-24 16:27   ` Bernd Roesch
2010-04-26  9:14 ` Jonas Paulsson
2010-04-26 12:13   ` Radu Hobincu
2010-04-27  4:46   ` Hans-Peter Nilsson
2010-04-27 19:32     ` Jonas Paulsson
2010-04-28 17:22       ` Widening multiplications (was: Re: GCC porting tutorials) Hans-Peter Nilsson
2010-04-28 21:27       ` GCC porting tutorials Bernd Schmidt
2010-04-29  7:07         ` Jonas Paulsson [this message]
2010-04-30  1:58           ` Parallelized loads and widening mults cont:ed (was: Re: GCC porting tutorials) Hans-Peter Nilsson

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=32779.90.237.163.38.1272524156.squirrel@webmail.student.lth.se \
    --to=d03jp@student.lth.se \
    --cc=bernds@codesourcery.com \
    --cc=gcc@gcc.gnu.org \
    --cc=hans-peter.nilsson@axis.com \
    --cc=radu.hobincu@arh.pub.ro \
    /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).