476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
|
fp_endianess="universal"
])
AC_MSG_RESULT($fp_endianess)
AS_IF([test x"$fp_endianess" = x"unknown"], [
AC_MSG_ERROR(
[Floating point implementation does not conform to IEEE 754!])])
case "$host" in
arm*)
AC_MSG_CHECKING(if VFP2 or above is available)
AC_TRY_COMPILE([], [
__asm__("fstmfdd sp!, {d0-d7}");
], [
AC_DEFINE(HAVE_VFP2, 1, [Whether we have VFP2 or above])
AC_MSG_RESULT(yes)
], [
AC_MSG_RESULT(no)
])
;;
|
|
>
|
>
|
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
|
fp_endianess="universal"
])
AC_MSG_RESULT($fp_endianess)
AS_IF([test x"$fp_endianess" = x"unknown"], [
AC_MSG_ERROR(
[Floating point implementation does not conform to IEEE 754!])])
case "$host_cpu" in
arm*)
AC_MSG_CHECKING(if VFP2 or above is available)
AC_TRY_COMPILE([], [
__asm__ __volatile__ (
"fstmfdd sp!, {d0-d7}"
);
], [
AC_DEFINE(HAVE_VFP2, 1, [Whether we have VFP2 or above])
AC_MSG_RESULT(yes)
], [
AC_MSG_RESULT(no)
])
;;
|