/[svn]/linuxsampler/trunk/configure.ac
ViewVC logotype

Diff of /linuxsampler/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 716 by iliev, Sun Jul 24 06:57:30 2005 UTC revision 720 by senkov, Sun Jul 24 18:22:56 2005 UTC
# Line 591  AC_ARG_ENABLE(signed-triang-algo, Line 591  AC_ARG_ENABLE(signed-triang-algo,
591                                Uses integer math without any branch will then be                                Uses integer math without any branch will then be
592                                converted to floating point value for each sample point.                                converted to floating point value for each sample point.
593                                This int->float conversion might hurt on some systems.                                This int->float conversion might hurt on some systems.
594                                intmathabs:
595                                  Similar to intmath but uses abs() function.
596                                  Depending on compiler and platrofm this could
597                                  perform better than integer math as it avoids
598                                  an extra integer multiply instruction.
599    
600                              diharmonic:                              diharmonic:
601                                The triangular wave will be approximated by adding two                                The triangular wave will be approximated by adding two
602                                sinusoidials. This solution might especially hurt on                                sinusoidials. This solution might especially hurt on
# Line 602  AC_ARG_ENABLE(signed-triang-algo, Line 608  AC_ARG_ENABLE(signed-triang-algo,
608                                benchmark between the algorithms mentioned above.                                benchmark between the algorithms mentioned above.
609                                This will NOT work for cross compilation!],                                This will NOT work for cross compilation!],
610    [ if test ! "(" "${enableval}" = "intmath" \    [ if test ! "(" "${enableval}" = "intmath" \
611                  -o "${enableval}" = "intmathabs" \
612                -o "${enableval}" = "diharmonic" ")" ; then                -o "${enableval}" = "diharmonic" ")" ; then
613        AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-signed-triang-algo])        AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-signed-triang-algo])
614      else      else
# Line 619  AC_ARG_ENABLE(unsigned-triang-algo, Line 626  AC_ARG_ENABLE(unsigned-triang-algo,
626                                Uses integer math without any branch will then be                                Uses integer math without any branch will then be
627                                converted to floating point value for each sample point.                                converted to floating point value for each sample point.
628                                This int->float conversion might hurt on some systems.                                This int->float conversion might hurt on some systems.
629                                intmathabs:
630                                  Similar to intmath but uses abs() function.
631                                  Depending on compiler and platrofm this could
632                                  perform better than integer math as it avoids
633                                  an extra integer multiply instruction.
634    
635                              diharmonic:                              diharmonic:
636                                The triangular wave will be approximated by adding two                                The triangular wave will be approximated by adding two
637                                sinusoidials. This solution might especially hurt on                                sinusoidials. This solution might especially hurt on
# Line 630  AC_ARG_ENABLE(unsigned-triang-algo, Line 643  AC_ARG_ENABLE(unsigned-triang-algo,
643                                benchmark between the algorithms mentioned above.                                benchmark between the algorithms mentioned above.
644                                This will NOT work for cross compilation!],                                This will NOT work for cross compilation!],
645    [ if test ! "(" "${enableval}" = "intmath" \    [ if test ! "(" "${enableval}" = "intmath" \
646                  -o "${enableval}" = "intmathabs" \
647                -o "${enableval}" = "diharmonic" ")" ; then                -o "${enableval}" = "diharmonic" ")" ; then
648        AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-unsigned-triang-algo])        AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-unsigned-triang-algo])
649      else      else
# Line 679  if test "$config_signed_triang_algo" = " Line 693  if test "$config_signed_triang_algo" = "
693      elif test "$triang_signed" = "3"; then      elif test "$triang_signed" = "3"; then
694          config_signed_triang_algo="diharmonic"          config_signed_triang_algo="diharmonic"
695          echo "di harmonics"          echo "di harmonics"
696        elif test "$triang_signed" = "5"; then
697            config_signed_triang_algo="intmathabs"
698            echo "integer math using abs()"
699      else      else
700          echo "Benchmark of signed triangular wave algorithms failed!"          echo "Benchmark of signed triangular wave algorithms failed!"
701          echo "Maybe you are doing cross compilation? In that case you have to select"          echo "Maybe you are doing cross compilation? In that case you have to select"
# Line 707  if test "$config_unsigned_triang_algo" = Line 724  if test "$config_unsigned_triang_algo" =
724      elif test "$triang_unsigned" = "3"; then      elif test "$triang_unsigned" = "3"; then
725          config_unsigned_triang_algo="diharmonic"          config_unsigned_triang_algo="diharmonic"
726          echo "di harmonics"          echo "di harmonics"
727        elif test "$triang_unsigned" = "5"; then
728            config_signed_triang_algo="intmathabs"
729            echo "integer math using abs()"
730      else      else
731          echo "Benchmark of unsigned triangular wave algorithms failed!"          echo "Benchmark of unsigned triangular wave algorithms failed!"
732          echo "Maybe you are doing cross compilation? In that case you have to select"          echo "Maybe you are doing cross compilation? In that case you have to select"

Legend:
Removed from v.716  
changed lines
  Added in v.720

  ViewVC Help
Powered by ViewVC