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: Kamil Rytarowski <n54%gmx.com@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 15:04:01 +0200

 This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
 --kYow0RIiIuEAf33lZfCBFJxI9PiAFGlWe
 Content-Type: multipart/mixed; boundary="kCwQLOnrlkrPtI3r81aunx4ZgooyDXYKK";
  protected-headers="v1"
 From: Kamil Rytarowski <n54%gmx.com@localhost>
 To: gnats-bugs%netbsd.org@localhost
 Message-ID: <27806673-394e-99cb-702a-fc66487dcc6a%gmx.com@localhost>
 Subject: Re: toolchain/54428: GCC broken with std::atomic<__int128_t> with
  -mcx16
 References: <pr-toolchain-54428%gnats.netbsd.org@localhost>
  <20190801181032.8C15A7A1B4%mollari.NetBSD.org@localhost>
  <20190802052001.66A417A1BB%mollari.NetBSD.org@localhost>
 In-Reply-To: <20190802052001.66A417A1BB%mollari.NetBSD.org@localhost>
 
 --kCwQLOnrlkrPtI3r81aunx4ZgooyDXYKK
 Content-Type: text/plain; charset=utf-8
 Content-Language: en-US
 Content-Transfer-Encoding: quoted-printable
 
 On 02.08.2019 07:20, Martin Husemann wrote:
 > The following reply was made to PR toolchain/54428; it has been noted b=
 y GNATS.
 >=20
 > From: Martin Husemann <martin%duskware.de@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc:=20
 > Subject: Re: toolchain/54428: GCC broken with std::atomic<__int128_t> w=
 ith
 >  -mcx16
 > Date: Fri, 2 Aug 2019 07:15:59 +0200
 >=20
 >  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 awar=
 e about its corner cases.
 >  >=20
 >  > 2. Patch GCC to support 128bit std::atomic without libatomic and reu=
 se lock cmpxchg16b on x86_64.
 > =20
 >  3. do not support std::atomic<__int128_t> at all on amd64
 >  (patch headers to generate an explicit error, or add lib stubs that ma=
 ke
 >  it error out at link time)?
 > =20
 
 It already errors with GCC.
 
 Why to reject it? Relatively recent amd64 does support this operation
 natively in hardware.
 
 > =20
 >  Martin
 > =20
 >=20
 
 
 
 --kCwQLOnrlkrPtI3r81aunx4ZgooyDXYKK--
 
 --kYow0RIiIuEAf33lZfCBFJxI9PiAFGlWe
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAEBCAAdFiEELaxVpweEzw+lMDwuS7MI6bAudmwFAl1ENMsACgkQS7MI6bAu
 dmxDDw/+NXFlEUrqM0rBcAINPH6dwlnpofNWrmxKb/avp1cT9yIzzLbe6M1UXOQc
 I/Z6xfi7RF6vc/M/xgjOJADMlwwgA8XxROoWdbO8+CVdWHgEuBqc+hUM6IFDvUqb
 QMyX+Q91vD8N5eLfNly4V4qfI+RsX43EIH0/frlgURqyaXxXKKxgtp3tJqhGAgIA
 UkxUKqbp4dsjqFwkFMRjIaDhQb1llT5I2Kx+Oqv97Hk5QyZ/u/UTdjeBKU9Wa0sH
 c61Nfx3FAtLSrsp/q3nkIOeRTgxakVCHe/T5TAKE1ovyNRE+GOKMW+L/xZ80VFfY
 SerrkypBWm9QHb+PlcYJtt4/86LGm6r9KDNNt9Ebp9SbVArm7JTNGTxYHqDOxezC
 oxHwyBE6g6bV4iTdRBazmPY8/Jz0yf+eQuYuSf8R10OkrYpYwtVIP4qkpL1yTOMz
 m78ByT6RQ9GYd7sS6I//jOL5wgOb+4tqHLS/44MT4wBTMV6LLJ79h29+O3iaE2Yx
 EMKTxpX+Kp169sFkop4MTDJ6RGEGpSQypPhLCTfXgtBk47TkOcVV71bXejxsKV6e
 9ObxH+das9+9y9rVi6zUGDSkj7MoeJ+uOVY/OqWs0IgKnrGiwTuMe+CB1rQwW/bJ
 9RuK7DKpaj2Gtn0YcS9OVCZfqQtedzAwI8bqEpmH4yo8b/P06VM=
 =UYwW
 -----END PGP SIGNATURE-----
 
 --kYow0RIiIuEAf33lZfCBFJxI9PiAFGlWe--
 


Home | Main Index | Thread Index | Old Index