Hi,
On Tue, 26 Apr 2022, Raul Hernandez wrote:
I guess TCC does this as either an optimization (to take advantage of
vectorization in the implementation of memmove), or as a way of simplifying
the generated code.
The latter, plus simplifying the generat_ing_ code (i.e. TCC itself).
My quest
Hi, list,
I’ve noticed that, in some cases, TCC will emit calls to standard library
functions such as memmove.
For example, the following snippet:
struct Big { void *a, *b, *c; };
struct Big some_function(struct Big b) {
return b;
}
… compiles to something like this (cleaned up for rea