On 26/09/2018 06:03, rth7...@gmail.com wrote:
From: Richard Henderson
This is the libgcc part of the interface -- providing the functions.
Rationale is provided at the top of libgcc/config/aarch64/lse.c.
* config/aarch64/lse.c: New file.
* config/aarch64/t-lse: New file.
On 9/26/18 7:33 AM, Florian Weimer wrote:
>>> *That's not what I meant. I'm curious if LSE and non-LSE atomics on the
>>> same location will still result in the expected memory ordering. If
>>> they don't, then this requires *some* explanation why this is okay.
>>>
>>> Thanks,
>>> Florian
Yes, t
* Richard Henderson:
> On 9/26/18 1:59 AM, Florian Weimer wrote:
>> * rth:
>>
>>> diff --git a/libgcc/config/aarch64/lse.c b/libgcc/config/aarch64/lse.c
>>> new file mode 100644
>>> index 000..20f4bde741f
>>> --- /dev/null
>>> +++ b/libgcc/config/aarch64/lse.c
>>
>>> +static void __attri
On 9/26/18 1:59 AM, Florian Weimer wrote:
> * rth:
>
>> diff --git a/libgcc/config/aarch64/lse.c b/libgcc/config/aarch64/lse.c
>> new file mode 100644
>> index 000..20f4bde741f
>> --- /dev/null
>> +++ b/libgcc/config/aarch64/lse.c
>
>> +static void __attribute__((constructor))
>> +init_ha
* rth:
> diff --git a/libgcc/config/aarch64/lse.c b/libgcc/config/aarch64/lse.c
> new file mode 100644
> index 000..20f4bde741f
> --- /dev/null
> +++ b/libgcc/config/aarch64/lse.c
> +static void __attribute__((constructor))
> +init_have_atomics(void)
> +{
> + unsigned long hwcap = getaux
From: Richard Henderson
This is the libgcc part of the interface -- providing the functions.
Rationale is provided at the top of libgcc/config/aarch64/lse.c.
* config/aarch64/lse.c: New file.
* config/aarch64/t-lse: New file.
* config.host: Add t-lse to all aarch64 tuples