Forum > Other

12th gen Intel cpu's

(1/3) > >>

speter:
I was reading about Intel's upcoming 12th gen chips in APC (an Australian computer mag); the article mentioned the CPUs would have two types of processors (1=Performance; 2=Power-Efficient).

This made me wonder whether a "normal" compiler (maybe like PFC) would (eventually) support this distinction, or would (specifying the thread type) be the domain of a specialist compiler and/or the OS?

Note that I am _not_ suggesting or requesting such support in FPC. :)

cheers
S.

dbannon:
My guess is it would be an OS role to choose between the available processors, much the same as it moves threads around between processors or cores right now.  The application is unaware of it happening.

Linux / Unix already has "nice" tools to control how much of the CPU an app gets, again without any cooperation from the app itself.

Davo

trev:
In macOS for the Apple M1 silicon SOCs, the OS takes care of it, although there's also an API for choosing to run something on the efficient cores and not performance cores or vice versa.

PascalDragon:

--- Quote from: speter on December 02, 2021, 12:42:02 am ---This made me wonder whether a "normal" compiler (maybe like PFC) would (eventually) support this distinction, or would (specifying the thread type) be the domain of a specialist compiler and/or the OS?

--- End quote ---

The compiler is only concerned with generating code suitable for the processor. As both kind of cores have the same feature set there is nothing the compiler needs to do. The remainder is up to the OS and your own code if you want to pin your threads to a specific kind of core (though the OS might override this if it wants to put the high performance cores to sleep).

440bx:

--- Quote from: PascalDragon on December 02, 2021, 08:59:25 am ---As both kind of cores have the same feature set there is nothing the compiler needs to do.

--- End quote ---
From what I've read, the efficiency cores are missing some instructions such as AVX512.

Navigation

[0] Message Index

[#] Next page

Go to full version