Re: vmovqdu/vmovqda inline asm doesn't compile on macos catalina

2023-06-09 Thread Peter Maydell
Richard: ping, any idea if we can get rid of these errors? I have a simple standalone reproducer if you want to try different asm syntax: $ cat atomic.c __int128_t atomic16_read_ro(const __int128_t *ptr) { __int128_t i; asm("vmovqda %1, %0" : "=x" (i) : "m" (*ptr)); return i; } $ cc -

Re: vmovqdu/vmovqda inline asm doesn't compile on macos catalina

2023-06-05 Thread Peter Maydell
On Mon, 5 Jun 2023 at 12:29, Daniel P. Berrangé wrote: > > On Mon, Jun 05, 2023 at 11:55:43AM +0100, Peter Maydell wrote: > > I just noticed that the recent atomicity changes introduce a build > > failure on x86 macos (Catalina). Now if we wanted to, we can say "this > > is too old and outside our

Re: vmovqdu/vmovqda inline asm doesn't compile on macos catalina

2023-06-05 Thread Daniel P . Berrangé
On Mon, Jun 05, 2023 at 11:55:43AM +0100, Peter Maydell wrote: > I just noticed that the recent atomicity changes introduce a build > failure on x86 macos (Catalina). Now if we wanted to, we can say "this > is too old and outside our support policy", of course... Catalina is version 10. Current V

vmovqdu/vmovqda inline asm doesn't compile on macos catalina

2023-06-05 Thread Peter Maydell
I just noticed that the recent atomicity changes introduce a build failure on x86 macos (Catalina). Now if we wanted to, we can say "this is too old and outside our support policy", of course... (I don't know if newer x86 macos is OK -- this machine can't upgrade to anything newer than Catalina. So