diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-12-06 18:09:05 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-07 21:10:49 +0100 |
commit | fca917c1cc7c941ab6de88757e3c65cf0ca0aabe (patch) | |
tree | f706cc2b9386da2314f1970aadf83472251437b8 /src/corelib/arch/qatomic_armv7.h | |
parent | 2a32fc38dd7c3f69654fa92791da62a143f4f65a (diff) |
Disable 64-bit atomics on 32-bit x86
At least with GCC, the use of cmpxchg8b in inline assembly is
unreliable. The instruction requires 5 registers to be used and
sometimes GCC complains that it runs out of them.
qatomic_x86.h:424:33: error: can’t find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
qatomic_x86.h:424:33: error: ‘asm’ operand has impossible constraints
Change-Id: Ie5414f3bccc6e559c7eec93beabe8663ab40271f
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/arch/qatomic_armv7.h')
0 files changed, 0 insertions, 0 deletions