On 28/2/22 21:00, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
The current testing code isn't correct and matching QEMU usage:
testfile.c: In function 'main':
testfile.c:5:11: error: incorrect number of arguments to function
'__atomic_load'
5 | y = __atomic_load(&x, 0
On 2/28/22 10:00, marcandre.lur...@redhat.com wrote:
-# See if 64-bit atomic operations are supported.
-# Note that without __atomic builtins, we can only
-# assume atomic loads/stores max at pointer size.
-config_host_data.set('CONFIG_ATOMIC64', cc.links('''
+atomic_test = '''
#include
From: Marc-André Lureau
The current testing code isn't correct and matching QEMU usage:
testfile.c: In function 'main':
testfile.c:5:11: error: incorrect number of arguments to function
'__atomic_load'
5 | y = __atomic_load(&x, 0);
| ^
testfile.c:6:7: error