Comment 16 for bug 641397

Revision history for this message
In , Pinskia (pinskia) wrote :

Fixed fully in GCC 10+:
        movw r3, #3137
        bfi r3, r0, #15, #5
        mov r0, r3
        bx lr

Had also improved in GCC 8:
        movw r2, #3137
        movs r3, #0
        bfi r3, r2, #0, #16
        bfi r3, r0, #15, #5
        mov r0, r3
        bx lr