Date: Thu, 4 Sep 2025 15:18:54 +0000
I've not made a mistake. I've not mixed up bits and bytes. Please show me a quote where that happened?
I don't know why you are trying to gaslight.
If you don't know how CPU's work just say you don't know how it works!
That's fine.
I won't be wasting my time trying to explain in circles why alignment matters.
I'm not a library! There's the internet, go look for the material yourself.
________________________________
From: David Brown <david.brown_at_[hidden]>
Sent: Thursday, September 4, 2025 4:51:04 PM
To: Tiago Freire <tmiguelf_at_[hidden]>; std-proposals_at_[hidden] <std-proposals_at_[hidden]>
Subject: Re: [std-proposals] D3666R0 Bit-precise integers
On 04/09/2025 16:22, Tiago Freire wrote:
>
>>> You can't use _BitInt(384) to represent that specialized register because it needs an alignment of 64Bytes.
>> Why would a specialised 384 bit register need 64 byte alignment? What justification do you have for that?
>
> Because of the cache line.
> This is how a modern CPU works.
>
Now you are just trying to justify your mistakes after the fact. In
another reply, you said you had mixed up bits and bytes.
If you want to over-align an object, beyond the requirements of the
platform and ABI (for cache friendly data, or any other purpose), use
"alignas" just as you always do.
I don't know why you are trying to gaslight.
If you don't know how CPU's work just say you don't know how it works!
That's fine.
I won't be wasting my time trying to explain in circles why alignment matters.
I'm not a library! There's the internet, go look for the material yourself.
________________________________
From: David Brown <david.brown_at_[hidden]>
Sent: Thursday, September 4, 2025 4:51:04 PM
To: Tiago Freire <tmiguelf_at_[hidden]>; std-proposals_at_[hidden] <std-proposals_at_[hidden]>
Subject: Re: [std-proposals] D3666R0 Bit-precise integers
On 04/09/2025 16:22, Tiago Freire wrote:
>
>>> You can't use _BitInt(384) to represent that specialized register because it needs an alignment of 64Bytes.
>> Why would a specialised 384 bit register need 64 byte alignment? What justification do you have for that?
>
> Because of the cache line.
> This is how a modern CPU works.
>
Now you are just trying to justify your mistakes after the fact. In
another reply, you said you had mixed up bits and bytes.
If you want to over-align an object, beyond the requirements of the
platform and ABI (for cache friendly data, or any other purpose), use
"alignas" just as you always do.
Received on 2025-09-04 15:18:57