There's no longer any good reason to do this; remove it

This commit is contained in:
Chris Cannam
2022-09-09 11:22:53 +01:00
parent 214ddd6899
commit 2eb9a20052
3 changed files with 0 additions and 46 deletions

View File

@@ -166,43 +166,6 @@ void gettimeofday(struct timeval *tv, void *tz)
#endif
void system_specific_initialise()
{
#if defined HAVE_IPP
#ifndef USE_IPP_DYNAMIC_LIBS
#if (IPP_VERSION_MAJOR < 9)
// This was removed in v9
ippStaticInit();
#endif
#endif
ippSetDenormAreZeros(1);
#elif defined HAVE_VDSP
#if defined __i386__ || defined __x86_64__
fesetenv(FE_DFL_DISABLE_SSE_DENORMS_ENV);
#elif defined __arm64__
fesetenv(FE_DFL_DISABLE_DENORMS_ENV);
#endif
#endif
#if defined __ARMEL__
// ARM32
static const unsigned int x = 0x04086060;
static const unsigned int y = 0x03000000;
int r;
asm volatile (
"fmrx %0, fpscr \n\t"
"and %0, %0, %1 \n\t"
"orr %0, %0, %2 \n\t"
"fmxr fpscr, %0 \n\t"
: "=r"(r)
: "r"(x), "r"(y)
);
#endif
}
void system_specific_application_initialise()
{
}
#ifdef _WIN32
void system_memorybarrier()
{

View File

@@ -96,8 +96,6 @@ typedef double process_t;
extern const char *system_get_platform_tag();
extern bool system_is_multiprocessor();
extern void system_specific_initialise();
extern void system_specific_application_initialise();
#ifdef _WIN32
struct timeval { long tv_sec; long tv_usec; };

View File

@@ -54,8 +54,6 @@ R2Stretcher::m_defaultIncrement = 256;
const size_t
R2Stretcher::m_defaultFftSize = 2048;
static bool _initialised = false;
R2Stretcher::R2Stretcher(size_t sampleRate,
size_t channels,
RubberBandStretcher::Options options,
@@ -102,11 +100,6 @@ R2Stretcher::R2Stretcher(size_t sampleRate,
m_baseFftSize(m_defaultFftSize)
{
Profiler profiler("R2Stretcher::R2Stretcher");
if (!_initialised) {
system_specific_initialise();
_initialised = true;
}
m_log.log(1, "R2Stretcher::R2Stretcher: rate, options",
m_sampleRate, options);