Monday, March 01, 2004 12:27:52 PM
in Compatibility Mode, the processor puts an emulation layer on top of the 64-bit flat mode addressing
Emulation conjures up a picture that requires no hardware support, but that is not the case. It is in fact a complete hardware implementation of segmentation in compatibility mode.
2. The emulation works as follows: 32-bit (and 16-bit, if supported by OS) apps go through an emulation layer which uses a descriptor table to translate the segmented address to a virtual address.
Again I wouldn't use the word emulation. Segmentation is handled by the processor in dedicated hardware.
3. Compatibility Mode differs from Legacy Mode in this way: In Legacy Mode, the virtual address is the physical address.
You are referring to the legacy mode "real addressing" used in Real Mode. That can in fact be dropped when Legacy Mode goes away. That is a plus. See page 12 of Volume 2 for a diagram on how real mode addressing uses the segment registers in a different way than normal segmentation.
In Compatibility Mode, the virtual address is then put through the 64-bit logic of paged memory to convert to a physical address. This is what I mean by 'emulation layer' - the underlying processor mechanism is the paged memory system, the segmented memory is converted first into a virtual address fed through the 64-bit logic.
I see. You were talking about virtual address translation to physical memory (paging), and I was talking about the segmentation logic. I didn't touch on the paging mechanism because that is not changing other than the o/s can map a 32-bit application's 32-bit address space to anywhere in 52-bit physical space. This does not affect segmentation in any way. Take a look at Volume 1 pages 14-15. It has a nice set of diagrams showing the memory management in each mode. The only difference between compatibility mode and protected mode is in the virtual address to physical address translation.
First, Legacy Mode can be removed. Second, Compatibility Mode can be removed (although this will take a number of years). Then segmentation is gone.
I thought your original argument was that segmentation would be gone when Legacy Mode was dropped. Compatibility mode is going to be around for a long, long time.
Then the hardware will have no segmentation at all.
One more thing I picked up in reading. 64-bit mode still supports a form of user segmentation through the FS and GS registers, although it doesn't do any limit checking. I'm not sure why anyone would want to use this, but it is in there. See pages V2 86-87.
HailMary
Recent AMD News
- Honeywell Acquires CAES Systems for $1.9 Billion, Sarepta Therapeutics Surges 34%, Gilead Continues Gains • IH Market News • 06/21/2024 12:00:38 PM
- Trump Media Resells Stocks and Warrants; KB Home Exceeds Q2 Expectations, and More News • IH Market News • 06/20/2024 10:55:11 AM
- AMD to Power AI-Based Smart Parking Solution for Sun Singapore, the Country’s Largest Provider of Smart Parking Services • GlobeNewswire Inc. • 06/19/2024 01:00:00 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/18/2024 08:18:09 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/18/2024 08:12:29 PM
- Form 144 - Report of proposed sale of securities • Edgar (US Regulatory) • 06/14/2024 08:03:45 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/13/2024 08:14:12 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/12/2024 08:34:23 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/11/2024 09:40:41 PM
- Form 144 - Report of proposed sale of securities • Edgar (US Regulatory) • 06/10/2024 09:22:35 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/10/2024 08:16:19 PM
- AMD to Present at the UBS Women in Tech Summit • GlobeNewswire Inc. • 06/10/2024 01:15:00 PM
- Apple Showcases AI at WWDC 2024, Nvidia Stock Split Starts Today, and More News • IH Market News • 06/10/2024 11:29:44 AM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/07/2024 08:16:25 PM
- AMD to Present at the Nasdaq London Investor Conference • GlobeNewswire Inc. • 06/06/2024 08:15:00 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/06/2024 08:11:40 PM
- Form 144 - Report of proposed sale of securities • Edgar (US Regulatory) • 06/05/2024 08:27:23 PM
- Economic Worries May Lead To Weakness On Wall Street • IH Market News • 06/04/2024 01:10:54 PM
- AMD Unveils Next-Gen “Zen 5” Ryzen Processors to Power Advanced AI Experiences • GlobeNewswire Inc. • 06/03/2024 03:01:00 AM
- AMD Accelerates Pace of Data Center AI Innovation and Leadership with Expanded AMD Instinct GPU Roadmap • GlobeNewswire Inc. • 06/03/2024 03:00:00 AM
- AMD Extends AI and High-Performance Leadership in Data Center and PCs with New AMD Instinct, Ryzen and EPYC Processors at Computex 2024 • GlobeNewswire Inc. • 06/03/2024 02:59:00 AM
- DJT Stock Falls 6% Post-Trump Conviction; UBS Restructures Senior Management for CEO Succession and More News • IH Market News • 05/31/2024 11:54:10 AM
- Form SD - Specialized disclosure report • Edgar (US Regulatory) • 05/30/2024 08:12:39 PM
- AMD Chair and Chief Executive Officer Dr. Lisa Su to Deliver the Opening Keynote at Computex 2024 • GlobeNewswire Inc. • 05/28/2024 09:22:41 PM
- Form 144 - Report of proposed sale of securities • Edgar (US Regulatory) • 05/23/2024 09:44:14 PM
Mass Megawatts Announces $220,500 Debt Cancellation Agreement to Improve Financing and Sales of a New Product to be Announced on July 11 • MMMW • Jun 28, 2024 7:30 AM
VAYK Exited Caribbean Investments for $320,000 Profit • VAYK • Jun 27, 2024 9:00 AM
North Bay Resources Announces Successful Flotation Cell Test at Bishop Gold Mill, Inyo County, California • NBRI • Jun 27, 2024 9:00 AM
Branded Legacy, Inc. and Hemp Emu Announce Strategic Partnership to Enhance CBD Product Manufacturing • BLEG • Jun 27, 2024 8:30 AM
POET Wins "Best Optical AI Solution" in 2024 AI Breakthrough Awards Program • POET • Jun 26, 2024 10:09 AM
HealthLynked Promotes Bill Crupi to Chief Operating Officer • HLYK • Jun 26, 2024 8:00 AM