From: "Martin Storsjö" <martin@martin.st>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] lavc/aarch64: new optimization for 8-bit hevc_pel_uni_w_pixels, qpel_uni_w_h, qpel_uni_w_v, qpel_uni_w_hv and qpel_h
Date: Thu, 1 Jun 2023 14:23:28 +0300 (EEST)
Message-ID: <d3bdaf9f-c2d9-cb1a-2b3f-a0ed56a7ef4d@martin.st> (raw)
In-Reply-To: <c3a66289-14aa-e846-31c8-cfdced0bf5c9@myais.com.cn>
On Sun, 28 May 2023, Logan.Lyu wrote:
>
> 在 2023/5/28 12:36, Jean-Baptiste Kempf 写道:
>> Hello,
>>
>> The last interaction still has the wrong name in patchset.
> Thanks for reminding. I modified the correct name in git.
Thanks, most of the issues in the patch seem to have been fixed - however
there's one big breakage here. Also even if this is accepted, we'll have
to wait for the dependency patches to be merged before these can go in
though.
For restoring the saved registers on the stack, you currently have this:
ldp x19, x30, [sp]
ldp x26, x27, [sp, #16]
ldp x24, x25, [sp, #32]
ldp x22, x23, [sp, #48]
ldp x20, x21, [sp, #64]
add sp, sp, #80
You can avoid the extra add at the end by reordering them like this:
ldp x26, x27, [sp, #16]
ldp x24, x25, [sp, #32]
ldp x22, x23, [sp, #48]
ldp x20, x21, [sp, #64]
ldp x19, x30, [sp], #80
But the order/layout of the registers doesn't match how they are backed
up. So when you run checkasm, you'll get these errors:
I8MM:
- hevc_pel.qpel [OK]
put_hevc_qpel_uni_w_hv4_8_i8mm (failed to preserve register)
put_hevc_qpel_uni_w_hv8_8_i8mm (failed to preserve register)
put_hevc_qpel_uni_w_hv16_8_i8mm (failed to preserve register)
put_hevc_qpel_uni_w_hv32_8_i8mm (failed to preserve register)
put_hevc_qpel_uni_w_hv64_8_i8mm (failed to preserve register)
- hevc_pel.qpel_uni_w [FAILED]
checkasm: 5 of 1136 tests have failed
It's easiest to make the epilogue a mirror copy of the prologue.
Please rerun checkasm on as system that does support i8mm when posting
updated patches.
// Martin
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2023-06-01 11:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-30 8:57 myais
2023-05-02 12:32 ` Jean-Baptiste Kempf
2023-05-03 2:14 ` myais
2023-05-04 8:49 ` Martin Storsjö
2023-05-05 15:27 ` myais
2023-05-07 4:52 ` myais
2023-05-26 8:34 ` Martin Storsjö
2023-05-27 8:34 ` myais
2023-05-27 20:24 ` Martin Storsjö
2023-05-28 3:23 ` Logan.Lyu
[not found] ` <647df87f-b98e-4c18-9c94-f5cff44d11f0@app.fastmail.com>
2023-05-28 6:26 ` Logan.Lyu
2023-06-01 11:23 ` Martin Storsjö [this message]
2023-06-02 12:47 ` Logan.Lyu
2023-06-03 20:50 ` Martin Storsjö
[not found] ` <d2d28c13-3b51-11e0-452b-9fc6ceb973d3@myais.com.cn>
[not found] ` <973b066-585b-2610-66b1-6f533a1f7bb@martin.st>
[not found] ` <ea6241be-d2fe-ea39-65ed-ec88c239f142@myais.com.cn>
[not found] ` <a7c0fd97-a996-a70-b7e3-3c9c1d07860@martin.st>
[not found] ` <fd6505e7-7d08-b79c-44c4-524107e21178@myais.com.cn>
[not found] ` <579b3020-b044-6f54-a321-40b552edebf4@martin.st>
2023-05-27 8:03 ` myais
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=d3bdaf9f-c2d9-cb1a-2b3f-a0ed56a7ef4d@martin.st \
--to=martin@martin.st \
--cc=ffmpeg-devel@ffmpeg.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
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git