Simplify bswap_16 implementation on platforms which don't already have it defined. This has no effect on the generated assembly; it just simplifies the source code.
Compat: Simplify bswap_16 implementation #11138
pull danra wants to merge 1 commits into bitcoin:master from danra:patch-2 changing 1 files +1 −1-
danra commented at 4:23 PM on August 25, 2017: contributor
-
e40fa987e4
Simplify bswap_16 implementation
Simplify bswap_16 implementation on platforms which don't already have it defined. This has no effect on the generated assembly; it just simplifies the source code.
- laanwj added the label Refactoring on Aug 26, 2017
-
laanwj commented at 7:11 AM on August 26, 2017: member
Does this make any difference in the generated code with your compiler?
-
sipa commented at 7:38 PM on August 27, 2017: member
utACK. Verified that in GCC 6.3.0 at
-Os,-O2and-O3this does not make a difference in the generated code. - laanwj merged this on Aug 28, 2017
- laanwj closed this on Aug 28, 2017
- laanwj referenced this in commit 298251161c on Aug 28, 2017
- PastaPastaPasta referenced this in commit 7c7f8cb323 on Sep 19, 2019
- PastaPastaPasta referenced this in commit 626b8cb360 on Sep 23, 2019
- PastaPastaPasta referenced this in commit 205bb9ca94 on Sep 24, 2019
- PastaPastaPasta referenced this in commit 6de193cdee on Nov 19, 2019
- PastaPastaPasta referenced this in commit 6407835a2b on Nov 21, 2019
- PastaPastaPasta referenced this in commit fef417ed24 on Dec 9, 2019
- PastaPastaPasta referenced this in commit d71c0be4de on Jan 1, 2020
- PastaPastaPasta referenced this in commit 1da38acfd3 on Jan 2, 2020
- PastaPastaPasta referenced this in commit 5f42ab3858 on Jan 2, 2020
- jasonbcox referenced this in commit 949723644e on Oct 7, 2020
- ckti referenced this in commit f9c42c613b on Mar 28, 2021
- DrahtBot locked this on Sep 8, 2021
Labels