qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: BALATON Zoltan <balaton@eik.bme.hu>
Cc: qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>,
	Akihiko Odaki <akihiko.odaki@gmail.com>
Subject: Re: pixman_blt on aarch64
Date: Sun, 5 Feb 2023 09:16:05 -1000	[thread overview]
Message-ID: <a8ca919f-c6fc-70cf-0574-261fdad81d96@linaro.org> (raw)
In-Reply-To: <e615e033-a3f6-083f-5f0f-eb506c3c5b4c@eik.bme.hu>

On 2/5/23 08:44, BALATON Zoltan wrote:
> On Sun, 5 Feb 2023, Richard Henderson wrote:
>> On 2/4/23 06:57, BALATON Zoltan wrote:
>>> This has just bounced, I hoped to still be able to post after moderation but now I'm 
>>> resending it after subscribing to the pixman list. Meanwhile I've found this ticket as 
>>> well: https://gitlab.freedesktop.org/pixman/pixman/-/merge_requests/71
>>> See the rest of the message below. Looks like this is being worked on but I'm not sure 
>>> how far is it from getting resolved. Any info on that?
>>
>> Please try this:
>>
>> https://gitlab.freedesktop.org/rth7680/pixman/-/tree/general
>>
>> It provides a pure C version for ultimate fallback.
>> Unfortunately, there are no test cases for this, nor documentation.
> 
> Thanks, I don't have hardware to test this but maybe Akihiko or somebody else here cam 
> try. Do you think pixman_fill won't have the same problem? It seems to have at least a 
> fast_path implementation but I'm not sure how pixman selects these.

For fill, I think the fast_path implementation should work, so long as it isn't disabled 
via environment variable.  I'm not sure why that is, and why _fast_path isn't part of 
_general.

Indeed, the fast_path implementation of fill should be easily vectorized by the compiler. 
I would expect it to be competitive with an assembly implementation.  I would expect the 
implementation chain design to only be useful when multiple vector implementations are 
supported and selected at runtime -- e.g. the x86 SSE2 vs SSSE3 stuff.


r~


  reply	other threads:[~2023-02-05 19:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-04 16:04 pixman_blt on aarch64 BALATON Zoltan
2023-02-04 16:57 ` BALATON Zoltan
2023-02-05 18:07   ` Richard Henderson
2023-02-05 18:44     ` BALATON Zoltan
2023-02-05 19:16       ` Richard Henderson [this message]
2023-02-07  2:17         ` Akihiko Odaki
2023-02-07 12:46           ` BALATON Zoltan
2023-02-18 23:38       ` BALATON Zoltan

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=a8ca919f-c6fc-70cf-0574-261fdad81d96@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=akihiko.odaki@gmail.com \
    --cc=balaton@eik.bme.hu \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.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 NNTP newsgroup(s).