On 2024-12-04 12:42, Richard Earnshaw (lists) wrote:
On 21/11/2024 19:01, Torbjörn SVENSSON wrote:
Ok for trunk and releases/gcc-14?
--
On Cortex-M4, the code generated is:
cmp r0, r1
ittene
lslne r0, r0, r1
asrne r0, r0, #1
moveq r0, r1
add
On 21/11/2024 19:01, Torbjörn SVENSSON wrote:
> Ok for trunk and releases/gcc-14?
>
> --
>
> On Cortex-M4, the code generated is:
> cmp r0, r1
> ittene
> lslne r0, r0, r1
> asrne r0, r0, #1
> moveq r0, r1
> add r0, r0, r1
> bx lr
>
> On C
Ok for trunk and releases/gcc-14?
--
On Cortex-M4, the code generated is:
cmp r0, r1
ittene
lslne r0, r0, r1
asrne r0, r0, #1
moveq r0, r1
add r0, r0, r1
bx lr
On Cortex-M7, the code generated is:
cmp r0, r1
beq .L3