Skip to content

SwapEndian([u]int16) has unnecessary “and $FFFF”.

se16.patch

If only not to work around some compiler bug, these ands serve no purpose, and they get down to machine code. An optimization that would eliminate such ands at the node level could be slighly useful, but removing these two is something that can be done without using the brain at all...

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information