[x265] [PATCH] h-ipfilter8.asm: Move a bit of data that sneaked into .text into .rodata

Brad Smith brad at comstyle.com
Fri Feb 17 21:07:55 UTC 2023


Thank you.

On 2023-02-17 2:41 p.m., Mahesh Pittala wrote:
> Pushed to the master branch, Thanks
>
> On Sat, Feb 4, 2023 at 4:55 AM Brad Smith <brad at comstyle.com> wrote:
>
>     Move a bit of data that sneaked into .text into .rodata.
>
>     Makes the tests run (and pass) on OpenBSD/amd64 with PKU (x-only)
>     enabled.
>
>
>     diff --git a/source/common/x86/h-ipfilter8.asm
>     b/source/common/x86/h-ipfilter8.asm
>     index 53d7f2d3c..c8a558b3d 100644
>     --- a/source/common/x86/h-ipfilter8.asm
>     +++ b/source/common/x86/h-ipfilter8.asm
>     @@ -125,6 +125,9 @@ const pb_8tap_hps_0, times 2 db 0, 1, 1, 2, 2,
>     3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8
>      ALIGN 32
>      interp4_hps_shuf: times 2 db 0, 1, 2, 3, 1, 2, 3, 4, 8, 9, 10,
>     11, 9, 10, 11, 12
>
>     +ALIGN 32
>     +const interp_4tap_8x8_horiz_shuf,   dd 0, 4, 1, 5, 2, 6, 3, 7
>     +
>      SECTION .text
>
>      cextern pw_1
>     @@ -1459,9 +1462,6 @@ cglobal interp_4tap_horiz_pp_4x32, 4, 6, 5,
>     src, srcstride, dst, dststride
>
>          RET
>
>     -ALIGN 32
>     -const interp_4tap_8x8_horiz_shuf,   dd 0, 4, 1, 5, 2, 6, 3, 7
>     -
>      %macro FILTER_H4_w6 3
>          movu        %1, [srcq - 1]
>          pshufb      %2, %1, Tm0
>     _______________________________________________
>     x265-devel mailing list
>     x265-devel at videolan.org
>     https://mailman.videolan.org/listinfo/x265-devel
>
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20230217/6324e384/attachment.htm>


More information about the x265-devel mailing list