Search found 884 matches

by SARG
Apr 17, 2019 15:38
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2592

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

new version : http://users.freebasic-portal.de/sarg/fbcgas64.zip - speed issue when compiling big procedures fixed with a workaround. that's an old problem reported 7 years ago by fxm and maybe will be solved quickly by coderjeff ;-) - several bugs fixed - some internal optimizations - more asm inst...
by SARG
Apr 17, 2019 8:43
Forum: Projects
Topic: FB debugger : 2.93 32/64 BIT ..... (Sept 5th, 2018)
Replies: 615
Views: 109600

Re: FB debugger : 2.93 32/64 BIT ..... (Sept 5th, 2018)

Hi VANYA, A long time ago I did some work on the "engine" and if I remember it worked. There was alsoTJF working on the GUI part. Maybe one day I'll back on this project. However I have to search the old code lost somewhere, build a linux box and learn to use GTK or an equivalent. For now ...
by SARG
Apr 16, 2019 13:17
Forum: General
Topic: Link without strip
Replies: 2
Views: 141

Re: Link without strip

Maybe by adding : --strip-debug (for the linker) with the g option
--strip-debug -> Omit debugger symbol information (but not all symbols) from the output file.
by SARG
Apr 12, 2019 16:36
Forum: General
Topic: Speed issue with string concatenation and a solution
Replies: 14
Views: 418

Re: Speed issue with string concatenation and a solution

@angros47 I know and I understand but the "problem", not a bug as the result is right, appears depending on the way you do the concatenation : with the parameter or with a local variable. Obviously after a lot of calls causing a big string. Very slow, my test : compiling 2000 lines of code...
by SARG
Apr 12, 2019 13:54
Forum: General
Topic: Speed issue with string concatenation and a solution
Replies: 14
Views: 418

Re: Speed issue with string concatenation and a solution

Thank you all for your replies, I'll use dodicat's code. Sometimes it's faster than mine sometimes not but It's a bit simpliest (no use of extra variable, no size check). @marcov I have used the workaround you talk however fbc is very efficient, the time difference is small between the 2 ways (dodic...
by SARG
Apr 12, 2019 10:25
Forum: General
Topic: Speed issue with string concatenation and a solution
Replies: 14
Views: 418

Speed issue with string concatenation and a solution

As I was facing a speed issue when working on the asm64 backend I did some tests and I mainly looked for a solution. The purpose was just to add many strings to another. When it's "directly" no problem but when the strings to add are passed as parameter of a procedure the execution time is...
by SARG
Apr 08, 2019 17:23
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2592

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

Hi all, Like every week a new version : http://users.freebasic-portal.de/sarg/fbcgas64.zip @frisian Big thanks for your help :-) 0/Conv, int and fix for float --> integer when SSE4_1 feature is not avaliable done with your code for all integer variables except uinteger. I tested simulating the SEE41...
by SARG
Apr 04, 2019 16:54
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2592

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

@frisian Could you execute this code for testing if roundsd is supported or not. On your PC it should display "not supported". Thanks in advance. dim as long lecx asm mov eax,1 cpuid mov [lecx],ecx end asm print hex(lecx) if bit(lecx,19) then print "roundsd/ss supported" else pri...
by SARG
Apr 02, 2019 17:06
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2592

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

Hi all, New version : http://users.freebasic-portal.de/sarg/fbcgas64.zip - Temporarily -gen gas64 and -g are forced so no need to add them as parameters. fbc64_gas64 <name.bas> should be enough. The asm file (a64) is not preserved, to keep it add -R. The options gas, gcc, if any, are overwritten. - ...
by SARG
Mar 30, 2019 21:53
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2592

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

@frisian Thank you for your code. Roundsd is supported if SSE4_1 flag feature is set. So with the help of cpuid it should be possible, when compiling, to know if roundsd can be used or your "workaround". I''ll try that. About fix instruction the 2 asm lines are from gcc. I guess the devs k...
by SARG
Mar 29, 2019 1:10
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2592

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

Hi frisian, about my FP to integer problem My CPU is a AMD Athlon II X4 645 (Propus) based on the K10 core released Sep. 2010, my computer is from 2013. The following instructions sets are supported: MMX (+), 3DNow! (+), SSE, SSE2, SSE3, SSE4A, x86-64, AMD-V The a64 file that is produced has the ins...
by SARG
Mar 26, 2019 11:17
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2592

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

Do I miss something? fb.bi(22) error 23: File not found, "list.bi" in '#include once "list.bi"' FreeBasic\fbc64_gas64.exe -t 2000 -Wc -Ofast -s console FreeBasic\tmp\TmpFb.bas FreeBasic\tmp\TmpFb.bas() error 91: Executable not found: "FreeBasic\bin\win64\gcc.exe" @jj20...
by SARG
Mar 25, 2019 20:15
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2592

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

Hi all, New version : http://users.freebasic-portal.de/sarg/fbcgas64.zip Symb-define.bas modified to get "gas64" when __FB_BACKEND__ is used. For now just to easily see under what version the exe has been compiled. Could be changed in the future to keep only gas and 32/64bit as gcc and 32/...
by SARG
Mar 18, 2019 20:27
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2592

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

Hi all, I'll try to update one time by week according found bugs and fixed.... New version : http://users.freebasic-portal.de/sarg/fbcgas64.zip @frisian, @dodicat It seems that all bugs you reported are fixed. There was a big mistake sometimes with arrays and more a tricky optimization used in x86 t...
by SARG
Mar 12, 2019 0:53
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 41
Views: 2592

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

Hi all, Thanks again for the time you spend and are going to spend ;-) New version : http://users.freebasic-portal.de/sarg/fbcgas64.zip About the zip file Maybe the reason of the issue is that I updated directly new versions in it so the result is ok for windows but not for 7zip or other tools. Sorr...

Go to advanced search