nx if use nvn, no need use tbb

This commit is contained in:
oahcy 2022-05-24 15:45:45 +08:00
parent 1dd4ed1b51
commit 416cbb3eb8
3 changed files with 1 additions and 11 deletions

View File

@ -139,9 +139,7 @@
uint16 pvmp3_decode_huff_cw_tab0(tmp3Bits *pMainData)
{
#if (CC_PLATFORM != CC_PLATFORM_NX && CC_PLATFORM != CC_PLATFORM_NX_WINDOWS)
OSCL_UNUSED_ARG(pMainData);
#endif
return(0);
}

View File

@ -21,9 +21,7 @@
#define __TBB_machine_linux_ia64_H
#include <stdint.h>
#if (CC_PLATFORM != CC_PLATFORM_NX)
#include <ia64intrin.h>
#endif
#include <ia64intrin.h>
#define __TBB_WORDSIZE 8
#define __TBB_ENDIANNESS __TBB_ENDIAN_LITTLE

View File

@ -279,12 +279,6 @@ template<> struct atomic_selector<8> {
#endif /* OS selection */
#if (CC_PLATFORM == CC_PLATFORM_NX)
#include "machine/linux_ia64.h"
#include "pthread.h"
#define __TBB_Yield() sched_yield()
#endif
#ifndef __TBB_64BIT_ATOMICS
#define __TBB_64BIT_ATOMICS 1
#endif