Search found 888 matches

by SARG
May 19, 2019 16:49
Forum: Documentation
Topic: How using RTTI from FB built-in OBJECT to extract Typename and those of all Bases of an instance
Replies: 4
Views: 141

Re: How using RTTI from FB built-in OBJECT to extract Typename and those of all Bases of an instance

Hi fxm, Is the prefix "N" and the suffix "E" from namespace ? N for nested-name and E for ending the sequence. Extract from a precious doc I use for demangling variable or procedure names in FBdebugger : "Names of objects nested in namespaces or classes are identified as a d...
by SARG
May 14, 2019 23:44
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 52
Views: 3517

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

Hi, new version : http://users.freebasic-portal.de/sarg/fbcgas64.zip @frisian Sorry for my late reply, I wanted to fix most of issues. 1/ redim shared as byte issue : fixed (every pointer was byte sized instead integer sized...) 2/ close windows issue : fixed (some escape sequences not well handled)...
by SARG
May 04, 2019 23:23
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 52
Views: 3517

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

@all Hi, Thank you for help, reports and encouraging words. Nobody for testing under linux ? :-( new version : http://users.freebasic-portal.de/sarg/fbcgas64.zip @srvaldez "the name fbc32_gas64 is confusing to me, I expected that it would produce a 64-bit executable" I guess I missed somet...
by SARG
May 01, 2019 17:17
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 52
Views: 3517

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

new version : http://users.freebasic-portal.de/sarg/fbcgas64.zip Now this version should be linux compliant. It means that the ABI is respected (used registers for calling, etc). But as I have not yet a linux box or virtual machine even if the a64 file seems correct executables could run wrongly. Ho...
by SARG
Apr 17, 2019 15:38
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 52
Views: 3517

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: 111100

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: 208

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: 554

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: 554

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: 554

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: 52
Views: 3517

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: 52
Views: 3517

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: 52
Views: 3517

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: 52
Views: 3517

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: 52
Views: 3517

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...

Go to advanced search