mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-24 22:25:11 +00:00
Remove work-around for alleged compiler bug
It turns out the problem was with the way the reporter was invoking its toolchain, not the toolchain itself.
This commit is contained in:
parent
2ee8d24ca2
commit
d72704b0d5
|
@ -1240,17 +1240,7 @@ int mpi_div_mpi( mpi *Q, mpi *R, const mpi *A, const mpi *B )
|
||||||
Z.p[i - t - 1] = ~0;
|
Z.p[i - t - 1] = ~0;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/*
|
#if defined(POLARSSL_HAVE_UDBL)
|
||||||
* The version of Clang shipped by Apple with Mavericks around
|
|
||||||
* 2014-03 can't handle 128-bit division properly. Disable
|
|
||||||
* 128-bits division for this version. Let's be optimistic and
|
|
||||||
* assume it'll be fixed in the next minor version (next
|
|
||||||
* patchlevel is probably a bit too optimistic).
|
|
||||||
*/
|
|
||||||
#if defined(POLARSSL_HAVE_UDBL) && \
|
|
||||||
! ( defined(__x86_64__) && defined(__APPLE__) && \
|
|
||||||
defined(__clang_major__) && __clang_major__ == 5 && \
|
|
||||||
defined(__clang_minor__) && __clang_minor__ == 0 )
|
|
||||||
t_udbl r;
|
t_udbl r;
|
||||||
|
|
||||||
r = (t_udbl) X.p[i] << biL;
|
r = (t_udbl) X.p[i] << biL;
|
||||||
|
|
Loading…
Reference in a new issue