[Bug other/87548] New: Optimize fetch atomics with unused results

2018-10-08 Thread david.feuer at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: david.feuer at gmail dot com Target Milestone: --- Atomic fetch and and/or/xor/etc., are not natively supported on amd64/x86_64, so they're simulated with CAS loops. There's a special case when this is unnecessary

[Bug other/87549] New: Optimize fetch atomics with unused results

2018-10-08 Thread david.feuer at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: david.feuer at gmail dot com Target Milestone: --- Atomic fetch and and/or/xor/etc., are not natively supported on amd64/x86_64, so they're simulated with CAS loops. There's a special case when this is unnecessary