The article explicitly shows that the provided macros are very efficient with a modern compiler. You can check on godbolt.org that they emit the same code.
Though the article only mentions bswap64 and mentioning __builtin_bswap64 would be a nice addition.