diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2011-12-29 16:36:46 -0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-24 16:38:14 +0200 |
commit | 29d2aad30a47009e5b756a608dc9366900caf71f (patch) | |
tree | d62ceb7afa87eb93b63069bdb89dbdd3e9b94faf /src/testlib | |
parent | 1765329b8c15b855f787ef8079b4d021d06f7af4 (diff) |
Use the C99 keyword "restrict" in compilers that support it
This allows the compiler to produce better / smaller code due to not
being required to deal with two pointers possibly aliasing each
other. This also enables vectorisation where otherwise the compiler
wouldn't be able to do.
Change-Id: Ie7db3a54a1ba22f87ac5283d5c43905707957549
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/testlib')
0 files changed, 0 insertions, 0 deletions