- Timestamp:
- Jan 9, 2024 10:53:03 PM (13 months ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompiler.cpp
r102800 r102801 116 116 #endif 117 117 #ifdef IEMNATIVE_WITH_TLB_LOOKUP 118 # define IEMNATIVE_WITH_TLB_LOOKUP_MAPP ING118 # define IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 119 119 #endif 120 120 #ifdef IEMNATIVE_WITH_TLB_LOOKUP … … 2255 2255 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2256 2256 { 2257 return iemMemMapDataU8RwJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU8RwSafeJmp */ 2257 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2258 return iemMemMapDataU8RwSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2259 #else 2260 return iemMemMapDataU8RwJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2261 #endif 2258 2262 } 2259 2263 … … 2265 2269 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2266 2270 { 2267 return iemMemMapDataU8WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU8WoSafeJmp */ 2271 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2272 return iemMemMapDataU8WoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2273 #else 2274 return iemMemMapDataU8WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2275 #endif 2268 2276 } 2269 2277 … … 2275 2283 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2276 2284 { 2277 return iemMemMapDataU8RoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU8RoSafeJmp */ 2285 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2286 return iemMemMapDataU8RoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2287 #else 2288 return iemMemMapDataU8RoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2289 #endif 2278 2290 } 2279 2291 … … 2285 2297 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2286 2298 { 2287 return iemMemMapDataU16RwJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU16RwSafeJmp */ 2299 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2300 return iemMemMapDataU16RwSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2301 #else 2302 return iemMemMapDataU16RwJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2303 #endif 2288 2304 } 2289 2305 … … 2295 2311 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2296 2312 { 2297 return iemMemMapDataU16WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU16WoSafeJmp */ 2313 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2314 return iemMemMapDataU16WoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2315 #else 2316 return iemMemMapDataU16WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2317 #endif 2298 2318 } 2299 2319 … … 2305 2325 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2306 2326 { 2307 return iemMemMapDataU16RoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU16RoSafeJmp */ 2327 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2328 return iemMemMapDataU16RoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2329 #else 2330 return iemMemMapDataU16RoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2331 #endif 2308 2332 } 2309 2333 … … 2315 2339 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2316 2340 { 2317 return iemMemMapDataU32RwJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU32RwSafeJmp */ 2341 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2342 return iemMemMapDataU32RwSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2343 #else 2344 return iemMemMapDataU32RwJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2345 #endif 2318 2346 } 2319 2347 … … 2325 2353 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2326 2354 { 2327 return iemMemMapDataU32WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU32WoSafeJmp */ 2355 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2356 return iemMemMapDataU32WoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2357 #else 2358 return iemMemMapDataU32WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2359 #endif 2328 2360 } 2329 2361 … … 2335 2367 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2336 2368 { 2337 return iemMemMapDataU32RoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU32RoSafeJmp */ 2369 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2370 return iemMemMapDataU32RoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2371 #else 2372 return iemMemMapDataU32RoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2373 #endif 2338 2374 } 2339 2375 … … 2345 2381 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2346 2382 { 2347 return iemMemMapDataU64RwJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU64RwSafeJmp */ 2383 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2384 return iemMemMapDataU64RwSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2385 #else 2386 return iemMemMapDataU64RwJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2387 #endif 2348 2388 } 2349 2389 … … 2355 2395 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2356 2396 { 2357 return iemMemMapDataU64WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU64WoSafeJmp */ 2397 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2398 return iemMemMapDataU64WoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2399 #else 2400 return iemMemMapDataU64WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2401 #endif 2358 2402 } 2359 2403 … … 2365 2409 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2366 2410 { 2367 return iemMemMapDataU64RoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU64RoSafeJmp */ 2411 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2412 return iemMemMapDataU64RoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2413 #else 2414 return iemMemMapDataU64RoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2415 #endif 2368 2416 } 2369 2417 … … 2375 2423 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2376 2424 { 2377 return iemMemMapDataR80WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataR80WoSafeJmp */ 2425 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2426 return iemMemMapDataR80WoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2427 #else 2428 return iemMemMapDataR80WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2429 #endif 2378 2430 } 2379 2431 … … 2385 2437 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2386 2438 { 2387 return iemMemMapDataD80WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataD80WoSafeJmp */ 2439 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2440 return iemMemMapDataD80WoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2441 #else 2442 return iemMemMapDataD80WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2443 #endif 2388 2444 } 2389 2445 … … 2395 2451 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2396 2452 { 2397 return iemMemMapDataU128RwJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU128RwSafeJmp */ 2453 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2454 return iemMemMapDataU128RwSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2455 #else 2456 return iemMemMapDataU128RwJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2457 #endif 2398 2458 } 2399 2459 … … 2405 2465 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2406 2466 { 2407 return iemMemMapDataU128WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU128WoSafeJmp */ 2467 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2468 return iemMemMapDataU128WoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2469 #else 2470 return iemMemMapDataU128WoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2471 #endif 2408 2472 } 2409 2473 … … 2415 2479 RTGCPTR GCPtrMem, uint8_t iSegReg)) 2416 2480 { 2417 return iemMemMapDataU128RoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); /** @todo use iemMemMapDataU128RoSafeJmp */ 2481 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2482 return iemMemMapDataU128RoSafeJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2483 #else 2484 return iemMemMapDataU128RoJmp(pVCpu, pbUnmapInfo, iSegReg, GCPtrMem); 2485 #endif 2418 2486 } 2419 2487 … … 2428 2496 IEM_DECL_NATIVE_HLP_DEF(uint8_t *, iemNativeHlpMemFlatMapDataU8Rw,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2429 2497 { 2430 return iemMemFlatMapDataU8RwJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU8RwSafeJmp */ 2498 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2499 return iemMemMapDataU8RwSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2500 #else 2501 return iemMemFlatMapDataU8RwJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2502 #endif 2431 2503 } 2432 2504 … … 2437 2509 IEM_DECL_NATIVE_HLP_DEF(uint8_t *, iemNativeHlpMemFlatMapDataU8Wo,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2438 2510 { 2439 return iemMemFlatMapDataU8WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU8WoSafeJmp */ 2511 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2512 return iemMemMapDataU8WoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2513 #else 2514 return iemMemFlatMapDataU8WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2515 #endif 2440 2516 } 2441 2517 … … 2446 2522 IEM_DECL_NATIVE_HLP_DEF(uint8_t const *, iemNativeHlpMemFlatMapDataU8Ro,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2447 2523 { 2448 return iemMemFlatMapDataU8RoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU8RoSafeJmp */ 2524 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2525 return iemMemMapDataU8RoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2526 #else 2527 return iemMemFlatMapDataU8RoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2528 #endif 2449 2529 } 2450 2530 … … 2455 2535 IEM_DECL_NATIVE_HLP_DEF(uint16_t *, iemNativeHlpMemFlatMapDataU16Rw,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2456 2536 { 2457 return iemMemFlatMapDataU16RwJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU16RwSafeJmp */ 2537 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2538 return iemMemMapDataU16RwSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2539 #else 2540 return iemMemFlatMapDataU16RwJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2541 #endif 2458 2542 } 2459 2543 … … 2464 2548 IEM_DECL_NATIVE_HLP_DEF(uint16_t *, iemNativeHlpMemFlatMapDataU16Wo,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2465 2549 { 2466 return iemMemFlatMapDataU16WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU16WoSafeJmp */ 2550 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2551 return iemMemMapDataU16WoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2552 #else 2553 return iemMemFlatMapDataU16WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2554 #endif 2467 2555 } 2468 2556 … … 2473 2561 IEM_DECL_NATIVE_HLP_DEF(uint16_t const *, iemNativeHlpMemFlatMapDataU16Ro,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2474 2562 { 2475 return iemMemFlatMapDataU16RoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU16RoSafeJmp */ 2563 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2564 return iemMemMapDataU16RoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2565 #else 2566 return iemMemFlatMapDataU16RoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2567 #endif 2476 2568 } 2477 2569 … … 2482 2574 IEM_DECL_NATIVE_HLP_DEF(uint32_t *, iemNativeHlpMemFlatMapDataU32Rw,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2483 2575 { 2484 return iemMemFlatMapDataU32RwJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU32RwSafeJmp */ 2576 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2577 return iemMemMapDataU32RwSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2578 #else 2579 return iemMemFlatMapDataU32RwJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2580 #endif 2485 2581 } 2486 2582 … … 2491 2587 IEM_DECL_NATIVE_HLP_DEF(uint32_t *, iemNativeHlpMemFlatMapDataU32Wo,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2492 2588 { 2493 return iemMemFlatMapDataU32WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU32WoSafeJmp */ 2589 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2590 return iemMemMapDataU32WoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2591 #else 2592 return iemMemFlatMapDataU32WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2593 #endif 2494 2594 } 2495 2595 … … 2500 2600 IEM_DECL_NATIVE_HLP_DEF(uint32_t const *, iemNativeHlpMemFlatMapDataU32Ro,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2501 2601 { 2502 return iemMemFlatMapDataU32RoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU32RoSafeJmp */ 2602 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2603 return iemMemMapDataU32RoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2604 #else 2605 return iemMemFlatMapDataU32RoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2606 #endif 2503 2607 } 2504 2608 … … 2509 2613 IEM_DECL_NATIVE_HLP_DEF(uint64_t *, iemNativeHlpMemFlatMapDataU64Rw,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2510 2614 { 2511 return iemMemFlatMapDataU64RwJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU64RwSafeJmp */ 2615 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2616 return iemMemMapDataU64RwSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2617 #else 2618 return iemMemFlatMapDataU64RwJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2619 #endif 2512 2620 } 2513 2621 … … 2518 2626 IEM_DECL_NATIVE_HLP_DEF(uint64_t *, iemNativeHlpMemFlatMapDataU64Wo,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2519 2627 { 2520 return iemMemFlatMapDataU64WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU64WoSafeJmp */ 2628 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2629 return iemMemMapDataU64WoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2630 #else 2631 return iemMemFlatMapDataU64WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2632 #endif 2521 2633 } 2522 2634 … … 2527 2639 IEM_DECL_NATIVE_HLP_DEF(uint64_t const *, iemNativeHlpMemFlatMapDataU64Ro,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2528 2640 { 2529 return iemMemFlatMapDataU64RoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU64RoSafeJmp */ 2641 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2642 return iemMemMapDataU64RoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2643 #else 2644 return iemMemFlatMapDataU64RoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2645 #endif 2530 2646 } 2531 2647 … … 2536 2652 IEM_DECL_NATIVE_HLP_DEF(RTFLOAT80U *, iemNativeHlpMemFlatMapDataR80Wo,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2537 2653 { 2538 return iemMemFlatMapDataR80WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataR80WoSafeJmp */ 2654 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2655 return iemMemMapDataR80WoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2656 #else 2657 return iemMemFlatMapDataR80WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2658 #endif 2539 2659 } 2540 2660 … … 2545 2665 IEM_DECL_NATIVE_HLP_DEF(RTPBCD80U *, iemNativeHlpMemFlatMapDataD80Wo,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2546 2666 { 2547 return iemMemFlatMapDataD80WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataD80WoSafeJmp */ 2667 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2668 return iemMemMapDataD80WoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2669 #else 2670 return iemMemFlatMapDataD80WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2671 #endif 2548 2672 } 2549 2673 … … 2554 2678 IEM_DECL_NATIVE_HLP_DEF(RTUINT128U *, iemNativeHlpMemFlatMapDataU128Rw,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2555 2679 { 2556 return iemMemFlatMapDataU128RwJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU128RwSafeJmp */ 2680 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2681 return iemMemMapDataU128RwSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2682 #else 2683 return iemMemFlatMapDataU128RwJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2684 #endif 2557 2685 } 2558 2686 … … 2563 2691 IEM_DECL_NATIVE_HLP_DEF(RTUINT128U *, iemNativeHlpMemFlatMapDataU128Wo,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2564 2692 { 2565 return iemMemFlatMapDataU128WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU128WoSafeJmp */ 2693 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2694 return iemMemMapDataU128WoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2695 #else 2696 return iemMemFlatMapDataU128WoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2697 #endif 2566 2698 } 2567 2699 … … 2572 2704 IEM_DECL_NATIVE_HLP_DEF(RTUINT128U const *, iemNativeHlpMemFlatMapDataU128Ro,(PVMCPUCC pVCpu, uint8_t *pbUnmapInfo, RTGCPTR GCPtrMem)) 2573 2705 { 2574 return iemMemFlatMapDataU128RoJmp(pVCpu, pbUnmapInfo, GCPtrMem); /** @todo use iemMemFlatMapDataU128RoSafeJmp */ 2706 #ifdef IEMNATIVE_WITH_TLB_LOOKUP_MAPPED 2707 return iemMemMapDataU128RoSafeJmp(pVCpu, pbUnmapInfo, UINT8_MAX, GCPtrMem); 2708 #else 2709 return iemMemFlatMapDataU128RoJmp(pVCpu, pbUnmapInfo, GCPtrMem); 2710 #endif 2575 2711 } 2576 2712 -
trunk/src/VBox/VMM/VMMR3/IEMR3.cpp
r102800 r102801 296 296 "Code TLB hits", "/IEM/CPU%u/CodeTlb-Hits", idCpu); 297 297 STAMR3RegisterF(pVM, &pVCpu->iem.s.DataTlb.cTlbHits, STAMTYPE_U64_RESET, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, 298 "Data TLB hits", "/IEM/CPU%u/DataTlb-Hits ", idCpu);298 "Data TLB hits", "/IEM/CPU%u/DataTlb-Hits-Other", idCpu); 299 299 # ifdef VBOX_WITH_IEM_RECOMPILER 300 300 STAMR3RegisterF(pVM, (void *)&pVCpu->iem.s.StatNativeTlbHitsForStack, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_NONE,
Note:
See TracChangeset
for help on using the changeset viewer.