mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Reduce build latency and fix old cpu bugs
This commit is contained in:
parent
df8ab0aa0c
commit
533f3d1ef1
69 changed files with 43069 additions and 43683 deletions
4
third_party/mbedtls/bignum.c
vendored
4
third_party/mbedtls/bignum.c
vendored
|
@ -1284,7 +1284,7 @@ forceinline mbedtls_mpi_uint mpi_sub_hlp(mbedtls_mpi_uint *d,
|
|||
unsigned char cf;
|
||||
mbedtls_mpi_uint c, x;
|
||||
cf = c = i = 0;
|
||||
#ifdef __x86_64__
|
||||
#if defined(__x86_64__) && !defined(__STRICT_ANSI__)
|
||||
if (!n) return 0;
|
||||
asm volatile("xor\t%1,%1\n\t"
|
||||
".align\t16\n1:\t"
|
||||
|
@ -1553,7 +1553,7 @@ static mbedtls_mpi_uint mbedtls_int_div_int( mbedtls_mpi_uint u1,
|
|||
mbedtls_mpi_uint d,
|
||||
mbedtls_mpi_uint *r )
|
||||
{
|
||||
#ifdef __x86_64__
|
||||
#if defined(__x86_64__) && !defined(__STRICT_ANSI__)
|
||||
if (d && u1 < d)
|
||||
{
|
||||
mbedtls_mpi_uint quo, rem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue