bmx-ng / pub.mod

BlitzMax NG Pub modules port.
7 stars 8 forks source link

Added the Float64, Double128 functions. Also added the _MM_SHUFFLE macro constants #9

Closed SRSSoftware closed 8 years ago

SRSSoftware commented 8 years ago

Hiya,

Title says it all really :-) I'll leave it up to you for if/when you want to merge it in as it won't compile until the Float64 type is recognised. There are still a couple of functions that are #defined in the original headers and I'll get to those soon too. Then it will be just be maintenance if it's needed :O)

Cheers!

woollybah commented 8 years ago

Well, that's bad timing ;-) Just committed my stuff too.

Note that I added your "make" tool to the module - just makes it easier to rebuild stuff. You may want to add your "const" changes to that, re-generate and submit again. You'll notice that I tweaked the tool a bit - basically to generate all the surrounding fluff too. It also generates nearly all the functions. And finally, it adds all functions to the .x files. Since you asked about "!", it tells the compiler not to generate an "extern" in the header for the extern function, which it would usually do. Since we are accessing the xmmintrin header directly, having externs for those functions can give compile errors.

bmk was also updated with a change to make.bmk, adding a global cc_opt for x64, -msse4 You probably want to get that, as cc_opts are not inherited from modules.

SRSSoftware commented 8 years ago

Timing is everything eh :O) That's cool, I'll close this request, update, then request again.