Re: Fat Binary - Haswell Detection Bug (and fix)

2014-02-27 Thread Tim Valenzuela
Hi guys, I've got the machine in question. This patch you attached won't apply to the latest hg. It appears to have been already applied, so I'm comparing the hg tip (16317:07a2dde2c971) vs the last log entry before BMI2 is mentioned (16313:8b074a2e0134). Mercurial tip: ===

Fat Binary - Haswell Detection Bug (and fix)

2014-02-20 Thread John Sully
While testing the latest development code we've discovered that it fails on specific Pentium D Haswell CPUs. These CPUs are odd in that they don't have the BMI2 instruction set. Because of this GMP will crash when it attempts to execute a MULX. The specific model is: Intel(R) Pentium(R) CPU

Re: Fat Binary - Haswell Detection Bug (and fix)

2014-02-20 Thread Torbjorn Granlund
John Sully j...@csquare.ca writes: While testing the latest development code we've discovered that it fails on specific Pentium D Haswell CPUs. These CPUs are odd in that they don't have the BMI2 instruction set. Because of this GMP will crash when it attempts to execute a MULX. The

Re: Fat Binary - Haswell Detection Bug (and fix)

2014-02-20 Thread John Sully
That fix is sufficient for our use cases, it looks like we don't exercise the other code paths. You would know best as to exactly which features to detect. By the way we're really happy with the extra performance in the latest development builds. Keep up the good work! On Thu, Feb 20, 2014 at