Jump to content
IGNORED

IntyBASIC Math JLP Validation?


First Spear

Recommended Posts

To use  the JLP multiplication/division just turn on the --jlp compilation switch.

 

IntyBASIC will use it in  most cases, except constant multiplications that are shorter than loading the JLP registers.

 

Anyway, JLP does the multiplication >immediately< a typical 100x speedup.

 

  • Like 2
Link to comment
Share on other sites

On 2/13/2022 at 4:25 PM, nanochess said:

To use  the JLP multiplication/division just turn on the --jlp compilation switch.

 

IntyBASIC will use it in  most cases, except constant multiplications that are shorter than loading the JLP registers.

 

Anyway, JLP does the multiplication >immediately< a typical 100x speedup.

 

I think he wants to do an A/B comparison, wherein the same program he can do native and external multiplications to compare their performance.  It seems that is not possible from within IntyBASIC, unless you work around the compiler using ASM directly.  Or is there another way?

 

 

Link to comment
Share on other sites

9 hours ago, DZ-Jay said:

I think he wants to do an A/B comparison, wherein the same program he can do native and external multiplications to compare their performance.  It seems that is not possible from within IntyBASIC, unless you work around the compiler using ASM directly.  Or is there another way?

 

 

It cannot happen in the same program. Two separare programs should be compiled.

Link to comment
Share on other sites

9 hours ago, nanochess said:

It cannot happen in the same program. Two separare programs should be compiled.

Makes sense.  It also seems simple enough:  to create a "benchmark" program that performs arithmetic operations, then compile it twice -- with and without the option for accelerator functions -- and run them to get performance metrics.

 

     -dZ.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...