[mpir-devel] Re: Broadwell support

2018-01-30 Thread 'Bill Hart' via mpir-devel
Attached are two more files which should be included in the Broadwell directory. They should also be faster on Skylake, though Skylake will automatically look in there. I don't think they can work on Haswell, but this could be checked. Also, I forgot one step in the above post: * Make a tuning

[mpir-devel] Re: Broadwell support

2018-01-30 Thread 'Bill Hart' via mpir-devel
The ticket for Broadwell support is here: https://github.com/wbhart/mpir/issues/198 -- 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] Re: Broadwell support

2018-01-30 Thread 'Bill Hart' via mpir-devel
For a release, we need to fix a performance issue noted by Marcel Keller. It shows up on Ivy Bridge when linking against MPIR with pthreads vs without (yes it's very strange). A program used by Marcel to get timings is attached. Also attached are addmul_1.asm by Jens Nurmann, which tries to fix

[mpir-devel] Re: Broadwell support

2018-01-30 Thread 'Bill Hart' via mpir-devel
It's Haswells and Broadwells that may not support BMI2. Note that we now occasionally encounter such machines. https://github.com/wbhart/mpir/issues/209 -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop

[mpir-devel] Re: Broadwell support

2018-01-30 Thread 'Bill Hart' via mpir-devel
The following would be important tickets to resolve before updating the GMP_VERSION to 6.1.0 (or releasing MPIR-3.0.0). Otherwise we should do a 2.8.0 instead. https://github.com/wbhart/mpir/issues/191 https://github.com/wbhart/mpir/issues/190 There's a list of other tickets marked for a 2.8.0

Re: [mpir-devel] Broadwell support

2018-01-30 Thread Brian Gladman
On 30/01/2018 14:31, 'Bill Hart' via mpir-devel wrote: [snip details] In terms of work that needs to be done from a Windows perspective: 1. I have added two new functions to the MPIR API (as discussed recently) and I need to offer documentation for these to be added to the MPIR documentation.

Re: [mpir-devel] Broadwell support

2018-01-30 Thread 'Bill Hart' via mpir-devel
Just to clarify for Fernando, the code Brian is referring to here is in the x86_64w directory and is independent of the code that needs to be added to the x86_64 directory. Native windows uses a different ABI and where possible MPIR supports it explicitly, rather than automatically. -- You

Re: [mpir-devel] Broadwell support

2018-01-30 Thread 'Bill Hart' via mpir-devel
There is also this file, which is by Jens, and can be used on Haswell, Broadwell and Skylake. It relies on AVX/BMI2. You may need to convert line endings. Not sure. -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group