I opened a ticket for this:

https://github.com/wbhart/mpir/issues/135

Bill.


On 16 June 2014 22:37, Bill Hart <goodwillh...@googlemail.com> wrote:

> No problem. We'll just keep adding -mno-xop for every version of GCC until
> they get it right.
>
> Bill.
>
>
> On 16 June 2014 22:22, leif <not.rea...@online.de> wrote:
>
>> Bill Hart wrote:
>>
>>> I have uploaded alpha7 to our website (http://mpir.org).
>>>
>>
>> Just for the record:
>>
>> MPIR's test suite now exposes GCC's XOP-brokenness (I *think* that's new
>> in alpha7, but probably already in alpha5 or 6).  AFAICT, there's not a
>> single GCC version (supporting bdver*) that /isn't/ in some way broken
>> w.r.t. XOP instructions, but so far MPIR wasn't affected (and GMP still
>> isn't).
>>
>> So be prepared for respective bug reports... ;-)
>>
>> (Haven't checked yet whether just the test suite miscompiles, but I at
>> least hope the library itself isn't affected.)
>>
>>
>> -leif
>>
>>
>> GCC 4.9.0, -march=bdver2 -mtune=bdver2 -O3 (all pass with -mno-xop):
>>
>> PASS: t-inv_divappr_q
>> /bin/bash: line 1: 12856 Aborted                 "$tst" >
>> t-inv_divappr_q_n.log-t 2>&1
>> FAIL: t-inv_divappr_q_n
>> /bin/bash: line 1: 12887 Aborted                 "$tst" > t-invert.log-t
>> 2>&1
>> FAIL: t-invert
>> PASS: t-iord_u
>> PASS: t-lorrshift1
>> PASS: t-matrix22
>> /bin/bash: line 1: 13011 Aborted                 "$tst" >
>> t-mp_bases.log-t 2>&1
>> FAIL: t-mp_bases
>> PASS: t-mullow_basecase
>> PASS: t-mullowhigh
>> PASS: t-mulmid
>> PASS: t-mulmod_2expm1
>> PASS: t-mulmod_2expp1
>> PASS: t-neg
>> PASS: t-perfsqr
>> PASS: t-redc_1
>> PASS: t-sb_bdiv_q
>> PASS: t-sb_bdiv_qr
>> PASS: t-sb_div_q
>> PASS: t-sb_div_qr
>> PASS: t-sb_divappr_q
>> PASS: t-scan
>> PASS: t-subadd_n
>> PASS: t-tdiv_q
>> PASS: t-tdiv_qr
>> PASS: st_fat
>> PASS: st_instrument
>> =============================================================
>> 3 of 49 tests failed
>> See tests/mpn/test-suite.log
>> Please report to http://groups.google.co.uk/group/mpir-devel/
>> =============================================================
>>
>>
>> ==========================================
>>    MPIR 2.7.0: tests/mpn/test-suite.log
>> ==========================================
>>
>> 3 of 49 tests failed.
>>
>> .. contents:: :depth: 2
>>
>>
>> FAIL: t-inv_divappr_q_n (exit: 134)
>> ===================================
>>
>> failed:
>> nn = 3084, dn = 1542, qn = 1542, rn = 2312
>>
>> ------------------------------------------------------------
>> -------------------
>>
>> GCC 4.8.3, -march=bdver2 -mtune=bdver2 -O3 (all pass with -mno-xop):
>>
>> PASS: t-inv_div_q
>> /bin/bash: line 1: 19233 Aborted                 "$tst" >
>> t-inv_div_qr.log-t 2>&1
>> FAIL: t-inv_div_qr
>> /bin/bash: line 1: 19264 Aborted                 "$tst" >
>> t-inv_div_qr_n.log-t 2>&1
>> FAIL: t-inv_div_qr_n
>> /bin/bash: line 1: 19295 Aborted                 "$tst" >
>> t-inv_divappr_q.log-t 2>&1
>> FAIL: t-inv_divappr_q
>> /bin/bash: line 1: 19326 Aborted                 "$tst" >
>> t-inv_divappr_q_n.log-t 2>&1
>> FAIL: t-inv_divappr_q_n
>> /bin/bash: line 1: 19357 Aborted                 "$tst" > t-invert.log-t
>> 2>&1
>> FAIL: t-invert
>> PASS: t-iord_u
>> PASS: t-lorrshift1
>> PASS: t-matrix22
>> PASS: t-mp_bases
>> PASS: t-mullow_basecase
>> PASS: t-mullowhigh
>> PASS: t-mulmid
>> PASS: t-mulmod_2expm1
>> PASS: t-mulmod_2expp1
>> PASS: t-neg
>> PASS: t-perfsqr
>> PASS: t-redc_1
>> PASS: t-sb_bdiv_q
>> PASS: t-sb_bdiv_qr
>> PASS: t-sb_div_q
>> PASS: t-sb_div_qr
>> PASS: t-sb_divappr_q
>> PASS: t-scan
>> PASS: t-subadd_n
>> PASS: t-tdiv_q
>> PASS: t-tdiv_qr
>> PASS: st_fat
>> PASS: st_instrument
>> =============================================================
>> 5 of 49 tests failed
>> See tests/mpn/test-suite.log
>> Please report to http://groups.google.co.uk/group/mpir-devel/
>> =============================================================
>>
>>
>> ==========================================
>>    MPIR 2.7.0: tests/mpn/test-suite.log
>> ==========================================
>>
>> 5 of 49 tests failed.
>>
>> .. contents:: :depth: 2
>>
>>
>> FAIL: t-inv_div_qr (exit: 134)
>> ==============================
>>
>> failed: remainder does not match
>>
>> --
>> () The ASCII Ribbon Campaign
>> /\   Help Cure HTML E-Mail
>>
>> --
>> 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 http://groups.google.com/group/mpir-devel.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 http://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to