Search found 933 matches

by SARG
Jan 17, 2020 0:17
Forum: Beginners
Topic: Confused about data types [SOLVED].
Replies: 8
Views: 311

Re: Confused about data types [SOLVED].

-vec 2 enables intra-expression vectorization. Not sure but it seems this functionnality is not completly implemented. In the function extracted from ast-vectorize.bas (see end of post) only add operator appears, no sub or others. Why ? So Z=NR(1)-NR(2) works perfectly. ##Z=NR(1)-NR(2) movss xmm6, [...
by SARG
Jan 16, 2020 22:58
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 95
Views: 19776

Re: Gas64 (no more use of gcc, only gas) :-)

Hi all, Nice! You using git to track your changes is super easy for me to work with. If you want to make it really easy for me and other git users, just push your active branch to public. Very easy if you register on github. This allows me to compile your changes, even rebase or merge them in with o...
by SARG
Jan 14, 2020 14:52
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 95
Views: 19776

Re: Gas64 (no more use of gcc, only gas) :-)

Hi coderJeff, Thank you for your reply and the time you spend for all of us. No problem concerning the date :-). Now I use Git locally and several commits are ready. In fact I have splitted, as best I could, the last modifications based on my daily saves. how do I proceed for the suite ? I can make ...
by SARG
Jan 09, 2020 16:30
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 95
Views: 19776

Re: Gas64 (no more use of gcc, only gas) :-)

Could you check again ? Not working with 1.07 64 or 32bit Maybe I'm wrong but in the C code (see below) used to generate the function lineinput utfxx, if max_chars is null the wstring should stay empty. fb_WstrConcatAssign( dst, max_chars, c ); CoderJeff/dkl could confirm that. /* UTF-encoded file d...
by SARG
Jan 09, 2020 0:30
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 95
Views: 19776

Re: Gas64 (no more use of gcc, only gas) :-)

1.08.0 version read empty lines from unicode file via Line Input It seems you can't do that with a wstring ptr regardless of the backend. I tested with gcc it also doesn't work. You should use a wstring * nnn as the example below. In the asm code generated with gas 64, we see that there is a parame...
by SARG
Jan 08, 2020 18:36
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 95
Views: 19776

Re: Gas64 (no more use of gcc, only gas) :-)

Hi all, When looking for conversion double --> uinteger, I found a very fast algo for values [0 to 4503599627370495]. It's not used in gas64 because of the limited ranges. However to well understand it I wrote a small code. Then I tested with gcc64 and gas64. Results in second with my box. I know th...
by SARG
Jan 08, 2020 10:50
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 95
Views: 19776

Re: Gas64 (no more use of gcc, only gas) :-)

Hi Xusinboy Bekchanov, Where can I get 1.08 environment? St_W provides a 'daily builds' : http://users.freebasic-portal.de/stw/builds/ thank you :-) More precisely for Windows/64bit : http://users.freebasic-portal.de/stw/builds/win64/ The zip file contains bin/inc/lib folders and a recent version of...
by SARG
Jan 07, 2020 21:54
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 95
Views: 19776

Re: Gas64 (no more use of gcc, only gas) :-)

... New version ir-gas and fb64_gas64 : http://users.freebasic-portal.de/sarg/fbc64_gas64.zip @sarg: Thank you. You are welcome. Do not hesitate to test and report any issue. The exe in my previous post MUST be used in a 1.08 environment. So if you are still under the 1.07(1) version of Fbc, compil...
by SARG
Jan 07, 2020 1:49
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 95
Views: 19776

Re: Gas64 (no more use of gcc, only gas) :-)

Hi coderJeff Every failure has been fixed. Mostly they were already fixed however there were some due to an unusefull aligment for strings. Another big one was the use of a local static for a string not reset between each call. And, as I guessed, incorrect converting of float to uinteger when the pr...
by SARG
Jan 05, 2020 22:54
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 95
Views: 19776

Re: Gas64 (no more use of gcc, only gas) :-)

Hi coderJeff, My long (for me) answer. My local commit history on your gas64 branch is a little messy, so I can't tell in all cases if it was your bug, or my bad rebase. I'll review the changes I made again and post. I'll run the last test suite (1.0.8) with my version to remove all the failures. Yo...
by SARG
Jan 03, 2020 23:06
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 95
Views: 19776

Re: Gas64 (no more use of gcc, only gas) :-)

Hi coderJeff, What gas64 version (date from post in the forum) do you use ? Because I did some changes e.g. Using '#idef FB_LINUX' instead 'if ctx.target=FB_COMPTARGET_LINUX then' is not the same. A big mistake, I saw that when generating code for linux.... Anyway thanks for taking the time to test ...
by SARG
Jan 02, 2020 19:23
Forum: Beginners
Topic: rooky question about pointers
Replies: 10
Views: 208

Re: rooky question about pointers

How a pointer to an integer could be used to print a string !
I let you think to find the right way by yourself :-)
by SARG
Dec 29, 2019 22:34
Forum: General
Topic: Rounding of Single
Replies: 7
Views: 241

Re: Rounding of Single

@jj2007 This is the code generated by gas64. What do you think about it ? #Ox are tags put by the optimization process. I have just added '#====' to separate the interesting parts and commented 'int3' to get an executable. .intel_syntax noprefix .file "test.bas" .section .text .text .globl...
by SARG
Dec 23, 2019 17:01
Forum: General
Topic: Cant make FB Help start from FBEdit
Replies: 5
Views: 159

Re: Cant make FB Help start from FBEdit

No need to write the full name : just click on the small box with 3 dots on the right side and search for the help file via the explorer.
by SARG
Dec 17, 2019 20:29
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 95
Views: 19776

Re: Gas64 (no more use of gcc, only gas) :-)

Now everything works. Good thing. I was scary to spend a lot of time in your code ;-) To fix I only have added one small line . I do things too complicated for my little brain :-) Every time I download, "Nod32 Antivirus 8" stops the download. I temporarily disable the antivirus and load i...

Go to advanced search