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

2024-11-20 Thread Richard Earnshaw (lists)
On 08/11/2024 18:29, Christophe Lyon wrote: > On Fri, 8 Nov 2024 at 19:20, Torbjörn SVENSSON > wrote: >> >> Ok for trunk? >> >> -- >> >> With the changes in r15-1579-g792f97b44ff, the code used as "padding" in >> the test case is optimized way. Prevent this optimization by forcing a >> read of the

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

2024-11-08 Thread Christophe Lyon
On Fri, 8 Nov 2024 at 19:20, Torbjörn SVENSSON wrote: > > Ok for trunk? > > -- > > With the changes in r15-1579-g792f97b44ff, the code used as "padding" in > the test case is optimized way. Prevent this optimization by forcing a > read of the volatile memory. > Also, validate that there is a far j

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

2024-11-08 Thread Torbjörn SVENSSON
Ok for trunk? -- With the changes in r15-1579-g792f97b44ff, the code used as "padding" in the test case is optimized way. Prevent this optimization by forcing a read of the volatile memory. Also, validate that there is a far jump in the generated assembler. Without this patch, the generated asse