Hi, I speak only for myself.
I'm not sure tcc is the right target for you.
We all loved to have tcc generating fast code but the two main goals of tcc are 
C compliance and FAST compilation code.
The price to pay its really fast compilation is that the generated code is poor 
compared to gcc, clang or vc++ (among others). Depending on your program, 
consider it is roughly 2 to 4x slower.

If you want a fast executable, use a C compiler that generates fast code (read 
gcc/clang).

You can combine tcc and gcc as I do: compile and test your code with tcc and, 
when it works, switch to gcc/clang with all possible optimization. Hint PGO, is 
a valuable way to make your gcc optimized code even faster. I would say between 
10 and 20%.

C.

-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On 
Behalf Of Yair Lenga
Sent: Saturday, February 05, 2022 09:52
To: tinycc-devel@nongnu.org
Subject: [Tinycc-devel] Optimizing for avx512

I have a project which is running a user simulation - time consuming - user 
defined code. I hope that performance can be improved using SIMD instructions.

What is the optimization level supported by libtcc ? Can it generate optimized 
code for AVX512 ? See 4.x. Documentation indicate optimization done at 
statement level - possible to use SIMD functions directly ?

Thanks, yair

Sent from my iPad
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to