tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] manually inlining functions


From: Yakov
Subject: Re: [Tinycc-devel] manually inlining functions
Date: Sat, 1 May 2021 11:43:21 +0700

I have recently read a paper about a Linear Scan Register Allocator[1], they claim it gives you 95% performance or Graph Coloring Register Allocator in basically no time, and requires no SSA.
1.  http://web.cs.ucla.edu/~palsberg/course/cs132/linearscan.pdf



сб, 1 мая 2021 г. в 10:51, Elijah Stone <elronnd@elronnd.net>:
On Sat, 1 May 2021, Yakov wrote:

> having to write macros for performance feels so obsolete, double
> evaluation hiding in dark corners etc. And function calls are so
> expensive in tight loops.

Calls are fairly cheap, on modern architectures.  The performance impact
of an inliner would be fairly marginal for tcc, compared with, say, a
register allocator.

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]