Re: [PATCH v2] testsuite: arm: Check that a far jump is used in thumb1-far-jump-2.c

2024-12-12 Thread Torbjorn SVENSSON
On 2024-12-04 12:41, Richard Earnshaw (lists) wrote: On 22/11/2024 09:37, Torbjörn SVENSSON wrote: Changes since v1: - Rewrote the padding instructions in the macro to instead write to volatile memory. This ensures that every expansion of the base macro is exactly 2 bytes. If the `GO(

Re: [PATCH v2] testsuite: arm: Check that a far jump is used in thumb1-far-jump-2.c

2024-12-04 Thread Richard Earnshaw (lists)
On 22/11/2024 09:37, Torbjörn SVENSSON wrote: > Changes since v1: > > - Rewrote the padding instructions in the macro to instead write to volatile > memory. This ensures that every expansion of the base macro is exactly 2 > bytes. > > If the `GO()` in f3 is removed, the generated assembly wou

[PATCH v2] testsuite: arm: Check that a far jump is used in thumb1-far-jump-2.c

2024-11-22 Thread Torbjörn SVENSSON
Changes since v1: - Rewrote the padding instructions in the macro to instead write to volatile memory. This ensures that every expansion of the base macro is exactly 2 bytes. If the `GO()` in f3 is removed, the generated assembly would be reduced to: f3: @ args = 0, pretend = 0, fram