Regards Vladimir 'phcoder' Serbinenko Le jeu. 10 avr. 2025, 18:32, Daniel Kiper <dki...@net-space.pl> a écrit :
> On Thu, Apr 10, 2025 at 01:45:37PM +0300, Vladimir Serbinenko wrote: > > They don't work in ski emulator and we don't really need them > > > > Signed-off-by: Vladimir Serbinenko <phco...@gmail.com> > > --- > > configure.ac | 4 ++-- > > grub-core/Makefile.core.def | 2 +- > > 2 files changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/configure.ac b/configure.ac > > index 25f3ff932..ecb8bc666 100644 > > --- a/configure.ac > > +++ b/configure.ac > > @@ -933,9 +933,9 @@ if test x"$platform" != xemu ; then > > > [grub_cv_target_cc_soft_float="-march=rv64imac_zicsr_zifencei -mabi=lp64"], > []) > > fi > > if test "x$target_cpu" = xia64; then > > - CFLAGS="$TARGET_CFLAGS -mno-inline-float-divide -mno-inline-sqrt > -Werror" > > + CFLAGS="$TARGET_CFLAGS -mno-inline-int-divide > -mno-inline-float-divide -mno-inline-sqrt -Werror" > > AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], > > - > [grub_cv_target_cc_soft_float="-mno-inline-float-divide -mno-inline-sqrt"], > []) > > + > [grub_cv_target_cc_soft_float="-mno-inline-int-divide > -mno-inline-float-divide -mno-inline-sqrt"], []) > > I think you are dealing with int instead of float. I suppose the subject > has to be fixed. > -minline-int-divide replaced integer divisions with floating point operations. So it does use for arithmetic despite its name > Daniel >
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel