Re: [Tinycc-devel] Request: __attribute__((vector_size))

2020-01-06 Thread Michael Matz
Hi, On Mon, 6 Jan 2020, ian wrote: Did I miss something ? It seemed to me that it was dealing with application side of things. Sure, Rasmus asked to have this extension in TCC to be able to use it for writing libraries or apps; i.e. he asked if TCC could be extended to compile code like thi

Re: [Tinycc-devel] Request: __attribute__((vector_size))

2020-01-06 Thread ian
Michael, Did I miss something ? It seemed to me that it was dealing with application side of things. Like, say, libraries. For the least, as long as compilers does not care about maths or physics If I'm wrong, please, explain to me where... ian Le 06/01/2020 à 21:46, Michael Matz a écrit :

Re: [Tinycc-devel] Request: __attribute__((vector_size))

2020-01-06 Thread Michael Matz
Hi, On Mon, 6 Jan 2020, ian wrote: Is the support for data structures and calculations a real "need to" for a compiler Um, I don't know how to answer this. As it seems the alternative to calculations is guessing, yes, I do think calculations and data structures are indeed necessary fo

Re: [Tinycc-devel] Request: __attribute__((vector_size))

2020-01-06 Thread ian
Hi Michael. Is the support for data structures and calculations a real "need to" for a compiler regards, ian Le 06/01/2020 à 20:36, Michael Matz a écrit : > Hello, > > On Mon, 6 Jan 2020, Rasmus Riiner via Tinycc-devel wrote: > >> See here: https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensio

Re: [Tinycc-devel] Request: __attribute__((vector_size))

2020-01-06 Thread Michael Matz
Hello, On Mon, 6 Jan 2020, Rasmus Riiner via Tinycc-devel wrote: See here: https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html This is one of those things that doesn't come up in a lot of types of programming, but is indispensable in some, namely anything to do with 2D or 3D math. The

Re: [Tinycc-devel] Request: __attribute__((vector_size))

2020-01-06 Thread ian
Are you kidding Le 06/01/2020 à 11:01, Rasmus Riiner via Tinycc-devel a écrit : > See here: https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html > > This is one of those things that doesn't come up in a lot of types of > programming, but is indispensable in some, namely anything to do wi

[Tinycc-devel] Request: __attribute__((vector_size))

2020-01-06 Thread Rasmus Riiner via Tinycc-devel
See here: https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html This is one of those things that doesn't come up in a lot of types of programming, but is indispensable in some, namely anything to do with 2D or 3D math. The ability to just write `position += velocity * dt;` style statements