NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/54428: GCC broken with std::atomic<__int128_t> with -mcx16



The following reply was made to PR toolchain/54428; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/54428: GCC broken with std::atomic<__int128_t> with
 -mcx16
Date: Fri, 2 Aug 2019 07:15:59 +0200

 On Thu, Aug 01, 2019 at 06:15:01PM +0000, n54%gmx.com@localhost wrote:
 > 1. Revisit the libatomic statement and ship it to those who are aware about its corner cases.
 > 
 > 2. Patch GCC to support 128bit std::atomic without libatomic and reuse lock cmpxchg16b on x86_64.
 
 3. do not support std::atomic<__int128_t> at all on amd64
 (patch headers to generate an explicit error, or add lib stubs that make
 it error out at link time)?
 
 
 Martin
 


Home | Main Index | Thread Index | Old Index