[fpc-devel] String constant without code page

2017-12-14 Thread Petr Kristan
Hi. I compile whole project with -FcUTF8, but sometimes should be useful to define string constant with CP_NONE to prevent conversions. Example: DefaultSystemCodePage:=1250 variable s contains text with cp=1250 s := s + '#'; //conversion because '#' has cp=65001 Is possible to define '#' witho

Re: [fpc-devel] String constant without code page

2017-12-14 Thread Sven Barth via fpc-devel
Am 14.12.2017 09:37 schrieb "Petr Kristan" : Hi. I compile whole project with -FcUTF8, but sometimes should be useful to define string constant with CP_NONE to prevent conversions. Example: DefaultSystemCodePage:=1250 variable s contains text with cp=1250 s := s + '#'; //conversion because '#'

Re: [fpc-devel] Vectorization

2017-12-14 Thread J. Gareth Moreton
https://bugs.freepascal.org/view.php?id=27870 I've made a patch that hopefully fixes this bug, as well as provide some future expansion for vectorization. There are a few new internal sizes such as "OS_MF128" that serve to ensure the most optimal move command is used (out of MOVAPS, MOVAPD and