[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Optimizing for avx512
From: |
Christian Jullien |
Subject: |
Re: [Tinycc-devel] Optimizing for avx512 |
Date: |
Sun, 6 Feb 2022 09:19:07 +0100 |
You can perhaps combine the best of the two world:
- compile with gcc and all optimizations (esp. avx512) the C module you want to
speedup
- compile all other modules with tcc and link them with tcc.
C.
-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange.fr@nongnu.org] On
Behalf Of Yair Lenga
Sent: Sunday, February 06, 2022 08:59
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] Optimizing for avx512
Thank you for feedback. I understand what are the limits of tcc. In my specific
problem, I am trying to speed up user-provided expression in a simulation of
100 paths. Can I use the avx512 build-in - e.g. work on 8 double precision
values with one operation - practically reducing the 100 evaluations to 13
(100/8) ?
User expressions are all in the form that can be handle by AVX SIMD
instructions: add, multiple, …
Thanks, yair.
Sent from my iPad
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel