diff options
author | Oded Gabbay <[email protected]> | 2015-12-15 12:05:22 +0200 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-12-17 09:37:24 +0000 |
commit | 6e44bbe0f5496b1aea2b4a29adae7990b62fda33 (patch) | |
tree | d20d0882bdad5de848f758d1fc842a2bc8af99b6 /src/mesa/main | |
parent | 4ef44bb484cbc0336d4fdcb8edce889ed1283732 (diff) |
configura.ac: fix test for SSE4.1 assembler support
This patch modifies the SSE4.1 test in configure.ac to use a global
variable to initialize vector variables. In addition, we now return the
value of the computation instead of 0.
This is done so gcc 4.9 (and lower) won't optimize the SSE4.1 assembly
instructions (when using -O1 and higher), because then the configure test
might incorrectly pass even though the assembler doesn't support the
SSE4.1 instructions (the test will pass because the compiler does support the intrinsics).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91806
Cc: "11.0 11.1" <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions