News: 0001539573

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Initial Support For Apple Cores Merged For The GCC 15 Compiler: A12, M1, M2 & M3

([Apple] 6 Hours Ago Apple Cores In GCC 15)


As a sooner than expected follow-up to the recent news article around [1]Apple M1 / M2 / M3 core support for the GCC compiler , that code has now been successfully merged in time for the upcoming [2]GCC 15 stable compiler release.

While Apple compiler engineers focus exclusively on the LLVM compiler stack for which their Xcode is derived and they have invested heavily in LLVM over the years, the GNU Compiler Collection now has initial targets merged for the Apple M1, M2, and M3 cores plus the A12 core too.

Independent compiler engineer Iain Sandoe has been working on this Apple Cores support for GCC with a focus of usage on Darwin/macOS. In cooperation with Arm engineers and the Apple open-source team, the necessary values were determined for the new apple-a12, apple-m1, apple-m2, and apple-m3 targets. There isn't yet any support in place for the brand new Apple M4 cores.

For those interested, [3]this patch is what was merged to GCC Git this week ahead of the GCC 15.1 stable compiler release due out in the coming weeks. A nice step forward for those preferring the GCC compiler over LLVM/Clang and wanting to target these Apple Silicon ARM processors.



[1] https://www.phoronix.com/news/Apple-Cores-GCC-Possibly-Soon

[2] https://www.phoronix.com/search/GCC+15

[3] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=3a77a567b1028a28ecbb2f2eadc351d8bd004352



Jumbotron

coder

stormcrow

coder

Unobfuscated Perl (#1)

A rogue group of Perl hackers has presented a plan to add a "use
really_goddamn_strict" pragma that would enforce readability and
UNobfuscation. With this pragma in force, the Perl compiler might say:

* Warning: Program contains zero comments. You've probably never seen or
used one before; they begin with a # symbol. Please start using them or
else a representative from the nearest Perl Mongers group will come to
your house and beat you over the head with a cluestick.

* Warning: Program uses a cute trick at line 125 that might make sense in
C. But this isn't C!

* Warning: Code at line 412 indicates that programmer is an idiot. Please
correct error between chair and monitor.

* Warning: While There's More Than One Way To Do It, your method at line
523 is particularly stupid. Please try again.