On 12/05/2016 17:03, 'Bill Hart' via mpir-devel wrote:
> For anyone that would like to help with porting to Windows, here are the
> notes so far:
> 
> * The asm jit we use mentions MSVC support on its website, though it
> only explicitly mentions MSVC 2003. I don't see any VS solution files,
> so I don't know how the build is managed (they use CMake).

Hi Bill,

If it is this one, it seems to have support via Cmake for VS 2015.

  https://github.com/kobalicek/asmjit

> * Bear in mind that supporting anything other than the assembly formats
> currently supported is a massive task. Alex has spent months adapting it
> to work with our assembly code, though it does read quite a bit of our
> yasm code and a lot of gas format assembly. It currently outputs gas
> format. It can output Intel syntax (we are not sure what variety), but
> that part contains some bugs (incorrect output).
> 
> * The superoptimiser itself is written in C++11, and Alex says he
> doesn't use many longs in his code.
> 
> * Currently there is code that is Linux specific for fixing the CPU
> affinity. That would need porting.

I do this regularly so it should not be an issue.

> * Until today we were having a lot of problems on Intel CPUs on any OS.
> AMD is more stable though still not perfect.
> 
> * We have not tested again on a fully loaded system. We are trying that
> now, after the most recent changes. We previously had problems on loaded
> systems. 
> 
> * As mentioned, we do not believe timings will be consistent enough on
> Windows to be able to superoptimise, but people are welcome to try and
> figure out how to make it work there. At the least it is going to
> require someone with a lot of Windows experience to solve that, if it is
> actually possible.

Well, I am finding things better than they used to be so it may be worth
trying it.

> * The total amount of code asm jit + optimiser is about 32,000 lines of
> code, but currently the code is in a state of flux, day-to-day

> * Alex does not have experience developing on Windows and does not have
> access to a Windows machine and he is on contract to the OpenDreamKit
> project, so he is not available to assist in the development of a
> Windows port, other than to answer occasional questions by email.
> 
> * Alex is currently happy to give people access to the repository on
> request (if you have a GitHub account), but please understand that the
> project is not in a stable state just yet.

I'll reflect on whether I have time to do this and get back to you guys.

But I'm inclined to give it a shot.

   Brian

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to