i386 arch lacks registers to support some tfm assembly, detect and disable
This commit is contained in:
parent
c592a1d6cb
commit
8399a7a517
@ -54,6 +54,13 @@ device build. Both are debug builds.
|
||||
|
||||
You can make an archive for a device, as well. That is a release build.
|
||||
|
||||
## Known issues:
|
||||
|
||||
When building for older iPhone models that support the i386 architecture some
|
||||
inline assembly in the fast math library assumes 64-bit registers and must be
|
||||
disabled. This inline assembly can be disabled with `#define TFM_NO_ASM` when
|
||||
using the setting `#define USE_FAST_MATH` on i386 targets.
|
||||
|
||||
# Installing libwolfssl.a
|
||||
|
||||
Simply drag the file libwolfssl_XXX_.a and the directory `include` and drop it into
|
||||
|
@ -18,6 +18,9 @@
|
||||
|
||||
/* fast math */
|
||||
#define USE_FAST_MATH
|
||||
#ifdef __i386__
|
||||
#define TFM_NO_ASM
|
||||
#endif
|
||||
#define HAVE_ECC
|
||||
|
||||
/* ECC speedups */
|
||||
|
Loading…
Reference in New Issue
Block a user