RTEMS | sign_extend31 may be broken (#5225)
    Hamish Mackenzie (@hamishmack) 
    gitlab at rtems.org
       
    Mon Mar  3 02:45:17 UTC 2025
    
    
  
Hamish Mackenzie created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5225
While trying to understand how to implement `R_ARM_PREL31` support in GHC, we noticed that `sign_extend31` seems to be broken (at least it does not do what it used to do).
It was changed from having multiple `return`s to a single return, but now the bits set in the first `return` are always masked off.
See https://gitlab.rtems.org/rtems/rtos/rtems/-/commit/c6eead1353e03542e5bad9efda3b6553125520d8#4d66cd4d47325eddf2b76a4d3cd17b21fb0215e8_56_61
-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5225
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250303/140b17b4/attachment.htm>
    
    
More information about the bugs
mailing list