[cfarm-announces] New Arm Morello SoC machine: cfarm240

Marc Glisse marc.glisse at inria.fr
Thu Aug 24 11:55:22 CEST 2023


On Thu, 24 Aug 2023, Torbjörn Granlund wrote:

> Marc Glisse <marc.glisse at inria.fr> writes:
>
>  There is, it is called (u)intptr_t, the standard name for an integer
>  type that can hold a pointer.
>
> Right!
>
> I only naively checked intmax_t, assuming max would mean max. :-)

Hmm, for old ABIs gaining a new integer type, I understand why intmax_t 
cannot increase. But for a new ABI like here, it is surprising. I guess 
they consider (u)intptr_t as not a true integer type but just a kind of 
pointer through which they can track memory. That would explain why they 
don't like non-pointer arithmetic on that type.

The failures I get in the testsuite are "Invalid address alignment." 
during temporary allocation, which is not too surprising.

-- 
Marc Glisse


More information about the gmp-bugs mailing list