FreeBSD/src 6aee0bf (r349185) — sys/net iflib.c
Evaluating htons() at compile time is more efficient than doing ntohs() at runtime. This change removes a dependency on a barrel shifter pass before branch resolution, while reducing the instruction stream size by 9 bytes on amd64. MFC after: 3 days
Delta | File | |
---|---|---|
+5 | -7 | sys/net/iflib.c |
+5 | -7 | 1 files |