> -----Original Message-----
> From: Xi Ruoyao <[email protected]>
> Sent: Wednesday, January 15, 2025 1:29 PM
> To: Tamar Christina <[email protected]>; [email protected]
> Cc: nd <[email protected]>; Richard Earnshaw <[email protected]>;
> [email protected]; Richard Sandiford <[email protected]>
> Subject: Re: [PATCH]AArch64: have -mcpu=native detect architecture extensions
> for unknown non-homogenous systems [PR113257]
> 
> On Sat, 2025-01-11 at 15:18 +0000, Tamar Christina wrote:
> > However the same thing works for big.LITTLE as in such system the cores must
> > have the same extensions otherwise it doesn't fundamentally work.
> >
> > i.e. task migration from one core to the other wouldn't work.
> 
> See https://gcc.gnu.org/PR111768 for a potential issue.
> 

There's no issue there.
As Alexander says in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111768#c7

It is not practical for you to have two CPUs in the same system with different 
capabilities.
Your kernel will not work, or you have to disable task migration.

The same extends to cache sizes and other properties of the CPU.

As an aside, today the big.LITTLE selection already enforces a uniform feature 
set.

Thanks,
Tamar
> --
> Xi Ruoyao <[email protected]>
> School of Aerospace Science and Technology, Xidian University

Reply via email to