Commit 66baa458 authored by Diego Biurrun's avatar Diego Biurrun

configure: Drop fastdiv option

There is no point in having the user disable any fastdiv macros.
Besides the condition implementation was broken and only disabled
the C implementation, but no platform specific assembly versions.
parent 4264a0dd
...@@ -230,7 +230,6 @@ Advanced options (experts only): ...@@ -230,7 +230,6 @@ Advanced options (experts only):
--enable-sram allow use of on-chip SRAM --enable-sram allow use of on-chip SRAM
--enable-thumb compile for Thumb instruction set --enable-thumb compile for Thumb instruction set
--disable-symver disable symbol versioning --disable-symver disable symbol versioning
--disable-fastdiv disable table-based division
--enable-hardcoded-tables use hardcoded tables instead of runtime generation --enable-hardcoded-tables use hardcoded tables instead of runtime generation
--disable-safe-bitstream-reader --disable-safe-bitstream-reader
disable buffer boundary checking in bitreaders disable buffer boundary checking in bitreaders
...@@ -964,7 +963,6 @@ CONFIG_LIST=" ...@@ -964,7 +963,6 @@ CONFIG_LIST="
doc doc
dwt dwt
dxva2 dxva2
fastdiv
fft fft
frei0r frei0r
gnutls gnutls
...@@ -1739,7 +1737,6 @@ enable swscale ...@@ -1739,7 +1737,6 @@ enable swscale
enable asm enable asm
enable debug enable debug
enable doc enable doc
enable fastdiv
enable network enable network
enable optimizations enable optimizations
enable safe_bitstream_reader enable safe_bitstream_reader
......
...@@ -50,11 +50,7 @@ extern const uint32_t ff_inverse[257]; ...@@ -50,11 +50,7 @@ extern const uint32_t ff_inverse[257];
#endif /* AV_GCC_VERSION_AT_LEAST(3,4) */ #endif /* AV_GCC_VERSION_AT_LEAST(3,4) */
#ifndef FASTDIV #ifndef FASTDIV
# if CONFIG_FASTDIV # define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32))
# define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32))
# else
# define FASTDIV(a,b) ((a) / (b))
# endif
#endif /* FASTDIV */ #endif /* FASTDIV */
#include "common.h" #include "common.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment