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
  1. danra commented at 4:23 PM on August 25, 2017: contributor

    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.

  2. 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.
    e40fa987e4
  3. laanwj added the label Refactoring on Aug 26, 2017
  4. laanwj commented at 7:11 AM on August 26, 2017: member

    Does this make any difference in the generated code with your compiler?

  5. sipa commented at 7:38 PM on August 27, 2017: member

    utACK. Verified that in GCC 6.3.0 at -Os, -O2 and -O3 this does not make a difference in the generated code.

  6. laanwj merged this on Aug 28, 2017
  7. laanwj closed this on Aug 28, 2017

  8. laanwj referenced this in commit 298251161c on Aug 28, 2017
  9. PastaPastaPasta referenced this in commit 7c7f8cb323 on Sep 19, 2019
  10. PastaPastaPasta referenced this in commit 626b8cb360 on Sep 23, 2019
  11. PastaPastaPasta referenced this in commit 205bb9ca94 on Sep 24, 2019
  12. PastaPastaPasta referenced this in commit 6de193cdee on Nov 19, 2019
  13. PastaPastaPasta referenced this in commit 6407835a2b on Nov 21, 2019
  14. PastaPastaPasta referenced this in commit fef417ed24 on Dec 9, 2019
  15. PastaPastaPasta referenced this in commit d71c0be4de on Jan 1, 2020
  16. PastaPastaPasta referenced this in commit 1da38acfd3 on Jan 2, 2020
  17. PastaPastaPasta referenced this in commit 5f42ab3858 on Jan 2, 2020
  18. jasonbcox referenced this in commit 949723644e on Oct 7, 2020
  19. ckti referenced this in commit f9c42c613b on Mar 28, 2021
  20. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me