Wednesday, October 30, 2024
Richard Sandiford wrote:
> So for the change in question, I was expecting, say, a 1024-byte-aligned
> float[3] to be defined using:
>
> .lcomm array, 1024
Thank you for noticing this. The patch series has been rebased from the
upstream
before reproducing the
Evgeny Karpov writes:
> Tuesday, October 29, 2024
> Richard Sandiford wrote:
>
>> Hmm, I see. I think this is surprising enough that it would be worth
>> a comment. How about:
>>
>> /* Since the assembly directive only specifies a size, and not an
>> alignment, we need to follow the defaul
> Symbols in the object file also look good.
>
> 015 SECT2 notype External | large_aligned_array
> 016 0010 SECT2 notype External | large_aligned_array2
> 017 0020 SECT2 notype External | large_aligned_array3
> 018 0040 SECT2 notype Exte
Tuesday, October 29, 2024
Richard Sandiford wrote:
> Hmm, I see. I think this is surprising enough that it would be worth
> a comment. How about:
>
> /* Since the assembly directive only specifies a size, and not an
> alignment, we need to follow the default ASM_OUTPUT_LOCAL behavior
>
Evgeny Karpov writes:
>> Wednesday, October 23, 2024
>> Richard Sandiford wrote:
>>
>>> Or, even if that does work, it isn't clear to me why patching
>>> ASM_OUTPUT_ALIGNED_LOCAL is a complete solution to the problem.
>>
>> This patch reproduces the same code as it was done without declaring
>>
> Wednesday, October 23, 2024
> Richard Sandiford wrote:
>
>> Or, even if that does work, it isn't clear to me why patching
>> ASM_OUTPUT_ALIGNED_LOCAL is a complete solution to the problem.
>
> This patch reproduces the same code as it was done without declaring
> ASM_OUTPUT_ALIGNED_LOCAL.
> AS
Wednesday, October 23, 2024
Richard Sandiford wrote:
> Or, even if that does work, it isn't clear to me why patching
> ASM_OUTPUT_ALIGNED_LOCAL is a complete solution to the problem.
This patch reproduces the same code as it was done without declaring
ASM_OUTPUT_ALIGNED_LOCAL.
ASM_OUTPUT_ALIGNE
Evgeny Karpov writes:
> Tuesday, October 22, 2024
> Richard Sandiford wrote:
>
>>> If ASM_OUTPUT_ALIGNED_LOCAL uses an alignment less than BIGGEST_ALIGNMENT,
>>> it might trigger a relocation issue.
>>>
>>> relocation truncated to fit: IMAGE_REL_ARM64_PAGEOFFSET_12L
>>
>> Sorry to press the issue
Tuesday, October 22, 2024
Richard Sandiford wrote:
>> If ASM_OUTPUT_ALIGNED_LOCAL uses an alignment less than BIGGEST_ALIGNMENT,
>> it might trigger a relocation issue.
>>
>> relocation truncated to fit: IMAGE_REL_ARM64_PAGEOFFSET_12L
>
> Sorry to press the issue, but: why does that happen?
#def
Evgeny Karpov writes:
> Thursday, October 17, 2024
> Richard Sandiford wrote:
>
> For instance:
> float __attribute__((aligned (32))) large_aligned_array[3];
>
> BIGGEST_ALIGNMENT could be up to 512 bits on x64.
> This patch has been added to cover this case without needing to
Thursday, October 17, 2024
Richard Sandiford wrote:
For instance:
float __attribute__((aligned (32))) large_aligned_array[3];
BIGGEST_ALIGNMENT could be up to 512 bits on x64.
This patch has been added to cover this case without needing to
change the FFmpeg code.
>>>
Evgeny Karpov writes:
> Thursday, September 19, 2024
> Richard Sandiford wrote:
>
>>> For instance:
>>> float __attribute__((aligned (32))) large_aligned_array[3];
>>>
>>> BIGGEST_ALIGNMENT could be up to 512 bits on x64.
>>> This patch has been added to cover this case without needing to
>>> cha
Thursday, September 19, 2024
Richard Sandiford wrote:
>> For instance:
>> float __attribute__((aligned (32))) large_aligned_array[3];
>>
>> BIGGEST_ALIGNMENT could be up to 512 bits on x64.
>> This patch has been added to cover this case without needing to
>> change the FFmpeg code.
>
> What goes
Evgeny Karpov writes:
> In some cases, the alignment can be bigger than BIGGEST_ALIGNMENT.
>
> The issue was detected while building FFmpeg.
> It creates structures, most likely for AVX optimization.
>
> For instance:
> float __attribute__((aligned (32))) large_aligned_array[3];
>
> BIGGEST_ALIGNM
In some cases, the alignment can be bigger than BIGGEST_ALIGNMENT.
The issue was detected while building FFmpeg.
It creates structures, most likely for AVX optimization.
For instance:
float __attribute__((aligned (32))) large_aligned_array[3];
BIGGEST_ALIGNMENT could be up to 512 bits on x64.
Th
15 matches
Mail list logo