BBC BASIC for Windows
« BB4W v6 beta »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 11:38pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: BB4W v6 beta  (Read 3034 times)
David Williams
Developer

member is offline

Avatar

meh


PM

Gender: Male
Posts: 452
xx Re: BB4W v6 beta
« Reply #13 on: Aug 16th, 2014, 10:53am »

on Aug 16th, 2014, 09:48am, Richard Russell wrote:
You could create a library, working on the same principle as the ASMLIB* libraries, which accepts st (and potentially also st(0)). The only snag with that approach is that you can't straightforwardly crunch the program - you need to offload the assembler code into a separate file, with an extension other than .BBC, that you CALL at run time.


Thanks, I'll look into it.


Quote:
Have you disabled GCC's generation of SSE2 code for 64-bit floating-point calculations? I would have expected that to be the default when targeting a modern processor.


My usual command line compilation instruction:

Code:
gcc -c -O2 -march=native -o glib2.o glib2.c 


Followed by (for compiling the DLL):

Code:
gcc -o glib2.dll -s -shared glib2.o -Wl,--subsystem,windows 


With regards C and compilation, I'm extremely 'green' having been at this for all of 2 weeks, so far.

Can't say I've noticed any SSE2 instructions in the GCC-generated assembler code, but then I haven't done that much on that side of things.

Shall I say it before you do? "This is off-topic for this thread".

Thought I'd beat you to it. :)


David.
--

User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls