- Timestamp:
- Jan 15, 2021 10:27:15 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTInlineAsm.cpp
r87228 r87256 44 44 # include <iprt/asm-amd64-x86.h> 45 45 # include <iprt/x86.h> 46 #elif defined(RT_ARCH_ARM64) || defined(RT_ARCH_ARM32) 47 # include <iprt/asm-arm.h> 48 # include <iprt/time.h> 46 49 #else 47 50 # include <iprt/time.h> … … 2676 2679 RTTestSub(g_hTest, "Benchmarking"); 2677 2680 2678 #if 0 && !defined(GCC44_32BIT_PIC) && (defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) )2681 #if 0 && !defined(GCC44_32BIT_PIC) && (defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) || defined(RT_ARCH_ARM64) || defined(RT_ARCH_ARM32)) 2679 2682 # define BENCH(op, str) \ 2680 2683 do { \ … … 2706 2709 } while (0) 2707 2710 #endif 2708 #if (defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) ) && !defined(GCC44_32BIT_PIC)2711 #if (defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) || defined(RT_ARCH_ARM64) || defined(RT_ARCH_ARM32)) && !defined(GCC44_32BIT_PIC) 2709 2712 # define BENCH_TSC(op, str) \ 2710 2713 do { \ … … 2804 2807 BENCH(s_u32 = ASMGetApicIdExt8000001E(), "ASMGetApicIdExt8000001E"); 2805 2808 #endif 2809 #if !defined(GCC44_32BIT_PIC) && (defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) || defined(RT_ARCH_ARM64) || defined(RT_ARCH_ARM32)) 2810 BENCH(s_u64 = ASMReadTSC(), "ASMReadTSC"); 2811 #endif 2806 2812 #if !defined(GCC44_32BIT_PIC) && (defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)) 2807 2813 uint32_t uAux; … … 2813 2819 BENCH(s_u64 = ASMReadTscWithAux(&uAux), "ASMReadTscWithAux"); 2814 2820 } 2815 BENCH(s_u64 = ASMReadTSC(), "ASMReadTSC");2816 2821 union 2817 2822 {
Note:
See TracChangeset
for help on using the changeset viewer.