[ / / / / / / / / / / / / / ] [ dir / agatha2 / animu / arda / doomer / hentai / leftpol / vg / vichan ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): e1b40a7bbc06324⋯.png (218.49 KB, 375x472, 375:472, ProductGraphic_ParallelStu….png) (h) (u)

[–]

 No.1004637>>1004658 >>1004662 >>1004755 >>1004759 >>1004955 >>1004970 >>1004983 >>1005889 [Watch Thread][Show All Posts]

I've read that ICC produces noticeably faster exectuables compared to GCC. If so, why aren't people ricing their systems with ICC? Would the GNU/Linux kernel even compile?

 No.1004650

Try it.


 No.1004657

Because ICC compiled programs run slower when it detects it's running on (Authentic)AMD CPUs.


 No.1004658>>1004682 >>1004711

>>1004637 (OP)

Linux won't compile because it has GNU ASM (GAS) parts of code, embedded directly into C source code. For the same reason you can't compile Linux using clang.


 No.1004662

>>1004637 (OP)

>I've read that ICC produces noticeably faster exectuables compared to GCC

I'd be curious to know if the difference is more than marginal when you ensure both compilers use the same levels and types of safety, (un)rolling and all that.


 No.1004682

It depends on the program. Usually icc wins (with an Intel processor), sometimes gcc, and sometimes even clang. Comparing is a bit difficult though since all of them can use different flags, in different orders, and have different compile times.

>Would the GNU/Linux kernel even compile?

The kernel can now be compiled with clang, perhaps icc works too but I don't think so. I wouldn't risk it since there's little benefit even if it happens to be faster.

>>1004658

You can if you use gnu's assembler.


 No.1004711

>>1004658

clang can use gas inline assembly


 No.1004755

>>1004637 (OP)

LinuxDNA was a project that patched the kernel to allow it to be compiled with icc.

https://www.linuxjournal.com/content/linuxdna-supercharges-linux-intel-cc-compiler

It seems that their last patch is against a kernel version that's now ancient (2.6 series), but it is still the kernel for RHEL 6, which is still supported until 2020.

https://github.com/linuxdna

Unless there are plans to port the patches to the support 3.x series of kernels, or to 4.x, I assume the project is moribund.


 No.1004759

>>1004637 (OP)

Because it's proprietary, duuuh!


 No.1004815

>closed source icc is custom tuned to perform well on benchmarks by cheating and this has been a known fact for more than 15 years

>"it's faster, goyim" he says even while this is known

Back when Spec was important every large compiler maker cheated on the benchmarks, Sun did it, Intel did it, IBM did it, and eventually synthetic benchmarks fell out of favor because of the cheating.


 No.1004853

>ICC produces noticeably faster exectuables

As long as it's on an Intel® CPU, goy.


 No.1004870

GCC targets a very wide range of ISA. ICC targets one specific ISA. GCC's project scope is massive while ICC's scope is tiny in comparison.


 No.1004907

this used to be true years ago but I don't think so anymore. pretty sure Intel abandoned it.


 No.1004955>>1004978 >>1004982

>>1004637 (OP)

It costs a huge amount of money for a license. Have you seen the prices on that shit? $699 to start and $499 to renew. Of course people don't use it.

https://software.intel.com/en-us/try-buy-tools


 No.1004970

>>1004637 (OP)

This might've been true in 2005.


 No.1004978

>>1004955

<being a poor fag

It's really not that expensive for the value it gives


 No.1004981

I riced my system with ICC once, but it wasn't worth messing with non-portable arguments. A lot of the optimizations require explicitly testing your application because they make assumptions about aliasing and struct packing.


 No.1004982

>>1004955

Its free for .edu emails. Also a lot of license codes are floating around which are valid for linux. They never seem to get revoked.


 No.1004983>>1005016 >>1005057 >>1005510

>>1004637 (OP)

All that tells me is GCC is trash

Are you fucking telling me this whole time performance on GNU/Linux could've been solved years ago with a decent compiler?


 No.1005016

>>1004983

There is no problem with GNU's or Linux' performance.


 No.1005057

>>1004983

I have no idea what you're referring to about GNU or Linux related run time performance.


 No.1005510>>1005889

>>1004983

>he doesn't know that ICC doesn't speed up anything but synthetic benchmarks

We've been over this years ago you fuckboi.


 No.1005514>>1005516 >>1005521

why not audit the source code and change the line:

>"if cpu = amd run like shit: 1

to

>"if cpu = amd run like shit: 0


 No.1005516

>>1005514

(((They))) will sue you for reverse engineering,


 No.1005517

Because it's closed source.


 No.1005521>>1005522

>>1005514

That's not how their compiler slows down AMD cpus. They insert hint instructions that masquerade as NOP instructions on an AMD cpu, but give better branch prediction and caching on intel cpu's.

Really all its doing is leveraging features that intel CPUs have, that AMD cpu's don't.


 No.1005522>>1005543 >>1005889

>>1005521

Not true at all, years ago ICC code was decompiled and it was proved that there were tons of ways they employed to slow down code on AMD. It was a big scandal at the time.


 No.1005543>>1005889

>>1005522

That was the "scandal" but fanboys were salty about it and wanted to cause drama


 No.1005889>>1005891 >>1005895 >>1005901

>>1004637 (OP)

why hasn't anyone mentioned tcc? literally the comfiest C compiler. Also why isn't there FreeDOS flag? :(

>>1005510

>>1005522

this

>>1005543

kek. it's easy to spot inlel shills nowadays.


 No.1005891

>>1005889

>easy to spot intel shills

But you responded to this thread.


 No.1005895

>>1005889

>tcc? literally the comfiest C compiler

>supports scripting with shebang, then executes from the commandline

That's pretty cool. Although people that would like to script in C are probably sparse (or already use tcsh). The D guys still have to market their language more as something that you can comfortably script in.


 No.1005901

>>1005889

no super-duper optimization = no comfy




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
31 replies | 0 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / agatha2 / animu / arda / doomer / hentai / leftpol / vg / vichan ][ watchlist ]