#45 alignment error for AMR processors

closed-fixed
None
5
2006-10-07
2006-09-19
No

There's an error in the r_drawflush.inl file in the SVN
version for AMR processors, where a int cast produce a
structure unaligment, generating a SIGBUS.

Discussion

  • Florian Schulze

    Florian Schulze - 2006-09-19
    • assigned_to: nobody --> proff_fs
    • status: open --> open-later
     
  • Florian Schulze

    Florian Schulze - 2006-09-19

    Logged In: YES
    user_id=18721

    The whole point of this is to use int instead of bytes to get faster writing. But the
    bus error shows that we can get unaligned writes, which aren't fatal on other
    processors, but hurt performance. I will look into rewriting this in a way which
    should lead to better performance on most processors and fixes the bus error
    on those where unalign access is forbidden. Thanks for bringing this up.

     
  • Florian Schulze

    Florian Schulze - 2006-10-07

    Logged In: YES
    user_id=18721

    I hopefully fixed this for PrBoom 2.4.6. Please open a bug if it still happens.

     
  • Florian Schulze

    Florian Schulze - 2006-10-07
    • status: open-later --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks