On 03/24/2015 01:04 PM, Martin Schreiber wrote:
No, MSElang has its own optimised binary represention for the unified record,
As you might have read, in the FPC list I suggested exactly this just
this morning :-)
-Michael
On Tuesday 24 March 2015 11:23:44 Michael Schnell wrote:
On 03/23/2015 06:36 PM, Martin Schreiber wrote:
Currently I am implementing class for the llvm-bitcode backend.
AFAIK, LLVM is done with C++ in mind.
Why do you think so?
The instruction set is here:
http://llvm.org/docs/LangRef.html
On Monday 23 March 2015 17:25:36 Ivanko B wrote:
How about wrapping the code in a function accepting the 5 as its argument
?
So?
program while1;
procedure test(const amax: int32);
var
i1,i2: int32;
begin
i1:= 0;
i2:= 0;
while i1 amax do begin
inc(i1);
i2:= i1+i2;
exitcode:= i2;
impressive
how is the progression of mselang now , whats have been done , and
what still not ?
i know it's still early . but seems promising :)
--
Dive into the World of Parallel Programming The Go Parallel Website,
On Monday 23 March 2015 18:28:00 misu kun wrote:
impressive
how is the progression of mselang now , whats have been done , and
what still not ?
Currently I am implementing class for the llvm-bitcode backend. There is
work for several years until it can be used in production.
Martin
On Monday 23 March 2015 18:53:41 Ivanko B wrote:
So?
=
Hmm, it's not run-time optimization - its' pre-performing the program.
Then how about passing the 5 as an external program argument
(ParamStr(i)) ?
Not yet implemented. It is really difficult to make testcases for llvm
On Friday 23 January 2015 14:09:24 Martin Schreiber wrote:
Hi,
Here the first comparison of FPC and MSElang produced code:
Another example:
program while1;
var
i1,i2: int32;
begin
i1:= 0;
i2:= 0;
while i1 5 do begin
inc(i1);
i2:= i1+i2;
end;
exitcode:= i2;
end.
MSElang-llvm:
MSElang-llvm seems to ask LLVM to precalculate the result ($15 in the
example) then just puts it to the output. So now we have smth like
C[++] double pass compiling, correct ?
--
Dive into the World of Parallel
On Sunday 22 March 2015 16:02:57 Ivanko B wrote:
MSElang-llvm seems to ask LLVM to precalculate the result ($15 in the
example) then just puts it to the output. So now we have smth like
C[++] double pass compiling, correct ?
MSElang produces a llvm bitcode file in a single pass. This file is
9 matches
Mail list logo