diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-08-10 13:08:15 -0700 |
---|---|---|
committer | Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> | 2015-08-19 06:13:33 +0000 |
commit | dd92002416270c56c795cce81fb9f0e55c1b2ddd (patch) | |
tree | 220bf20215468061670059ab61b2a7f3d30d4966 /src/angle | |
parent | b479d5befbf6f6ed1bffef0dbccecf504263e1d6 (diff) |
QHostAddress: Improve code generation
Mostly related to IPv6, because Q_IPV6ADDR is an array of char, so the
compilers were generating byte access to each value. Instead, force
access as 32- and 64-bit in most places that make sense (64-bit access
decays to 32-bit on 32-bit machines). In one isLoopback(), this is now a
128-bit access for best improvement.
Some smaller improvements relating to SpecialAddress by combining the
three IPv4 special addresses.
Change-Id: I7de033f80b0e4431b7f1ffff13f932b1cd7b5d21
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/angle')
0 files changed, 0 insertions, 0 deletions