Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 11:36:59 +0200
From:      Torbjorn Granlund <tg@gmplib.org>
To:        freebsd-questions@freebsd.org, bapt@FreeBSD.org
Subject:   Re: MULX on haswell triggers ILLOP
Message-ID:  <86k3h1pu84.fsf@shell.gmplib.org>
In-Reply-To: <20131023202300.7d316d29@kalimero.tijl.coosemans.org> (Tijl Coosemans's message of "Wed\, 23 Oct 2013 20\:23\:00 %2B0200")
References:  <86wql4onvy.fsf@shell.gmplib.org> <867gd3lw89.fsf@shell.gmplib.org> <20131023202300.7d316d29@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Tijl Coosemans <tijl@coosemans.org> writes:

  A comment on that PR says that it has been fixed in
  http://svnweb.freebsd.org/base?view=3Drevision&revision=3D228063
=20=20
  I don't know if it's feasible to merge this to stable/9.  Committer CCed.
=20=20
Thanks for your reply.

You should notice that the PR is in the "open" state.  That usually
means that it has not been analysed, and that no action has been taken.

If the PR is taken care of, one would assume that either,

(1) the bug would be fixed.  I'd say that'd need 10 minutes for a
    reasonably talented hacker, or

(2) that the documentation is updated to reflect that argument 2 and 3
    are ignored.

That >=3D 4 FreeBSD releases have been made since this became known makes
me worry about how FreeBSD is maintained these days.  I cannot believe
that they left the bug there without at least fixing the documentation.

I have decided to not implement further workarounds for GMP; FreeBSD
needs to address its own bugs.  GMP 5.2 and later running on an Intel
Haswell will need NetBSD, OpenBSD, Solaris, GNU/Linux, or even Windoze
to operate.  On FreeBSD a 'make check' looks like this:

PASS: t-asmtype
Illegal instruction
FAIL: t-aors_1
Illegal instruction
FAIL: t-divrem_1
Illegal instruction
FAIL: t-mod_1
Illegal instruction
FAIL: t-fat
Illegal instruction
FAIL: t-get_d
PASS: t-instrument
Illegal instruction
FAIL: t-iord_u
PASS: t-mp_bases
Illegal instruction
FAIL: t-perfsqr
Illegal instruction
FAIL: t-scan
Illegal instruction
FAIL: logic
...

--=20
Torbj=C3=B6rn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k3h1pu84.fsf>