[fpc-devel] Testing Intel/AMD AVX-Implemenation

Sven Barth pascaldragon at googlemail.com
Fri May 4 12:06:04 CEST 2012


Am 04.05.2012 10:27, schrieb Sergei Gorelkin:
> 04.05.2012 10:39, Sven Barth пишет:
>> Am 03.05.2012 22:34, schrieb Torsten:
>>>> While we follow only a few formatting rules in the compiler,
>>>> I think this is very hard to read.
>>>> - What does rax86.IntToStr?
>>> i need this for create warnings (check memory reference size) and i
>>> don't like include a rtl unit.
>>
>> SysUtils is already used in ~100 units in the compiler, so you can use
>> it as well.
>>
> The compiler itself uses tostr function from cutils unit.

Not always. There are a few cases where IntToStr is used (I don't know 
whether by accident or on purpose).

Though if the compiler contains a custom routine for that (in this case 
"tostr") then this should be used, of course, Torsten.

Regards,
Sven




More information about the fpc-devel mailing list