![](http://investorshub.advfn.com/images/default_ih_profile2_4848.jpg?cb=0)
Monday, March 01, 2004 1:34:44 AM
Re: segmentation - maybe we should take this offline - I'm sure everyone else is bored with this...
From the operating-system viewpoint, however, address translation, interrupt and exception handling, and system data structures use the 64-bit long-mode mechanisms.
This statement refers to the o/s viewpoint, not the application or processor viewpoint. I think by "address translation" they mean virtual address and paging mechanisms, not segmentation. Remember the o/s isn't having to deal with this segmentation. This is all before the virtual address is calculated. A 32-bit app running in compatibility mode can set up its own segments if it wants to, as from the application standpoint, it looks as if it is running in 32-bit protected mode. It will be using processor support for segmentation (registers, descriptors, limit checking). Most 32-bit apps no longer use segmentation, but the support remains.
Please tell me if there is a specific section within that chapter which I should be looking at.
Sure. Check out these from Volume 2:
pg.6:
"The elimination of segmentation allows new 64-bit system software to be coded more simply, and it supports more efficient management of multi-processing than is possible in the legacy x86 architecture. Segmentation is, however, used in compatibility mode and legacy mode."
So the 64-bit o/s complexity goes down as it doesn't have to deal with segments, but an old 32-bit app might still use segmentation when running in compatibility mode under a 64-bit o/s.
"In compatibility and legacy modes, up to 16,383 unique segments can be defined."
Also refer to Figure 1-1 pg. 7. It shows what the hardware does to calculate the virtual address. The effective address from the application is added to the base address from the descriptor table, and then a limit check is performed to be sure the virtual address is within the segment. Fortunately the descriptor tables that are in memory are loaded into hidden registers on the chip to allow quick access (see pg 84 for details) for performing a virtual address calculation.
pg. 16:
"Compatibility mode, like 64-bit mode, is enabled by system software on an individual code-segment basis. Unlike 64-bit mode, however, segmentation functions the same as in the legacy-x86 architecture, ..."
pg. 77:
"In compatibility mode, segmentation functions just as it does in legacy mode, using legacy 16-bit or 32-bit protected mode semantics"
pg. 107:
"System software running in long mode can execute existing 16-bit and 32-bit applications by clearing hte L bit of the code-segment descriptor to 0. ... Segmentation is enabled when L=0."
pg. 138
"Except in 64-bit mode, limit checks are performed by all instructions that reference memory."
I don't know how much more clear I can make it. Compatibility mode uses all the legacy x86 hardware features that support segmentation, which include the segment registers, loading of hidden registers that save parts of the segment descriptor tables for quick access by the processor, and segment limit checking.
HailMary
Recent AMD News
- Nasdaq Tech Stocks Show Partial Recovery; Oil Prices Rise • IH Market News • 07/18/2024 10:01:11 AM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 07/17/2024 08:07:35 PM
- AMD to Report Fiscal Second Quarter 2024 Financial Results • GlobeNewswire Inc. • 07/16/2024 08:15:00 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 07/16/2024 08:13:20 PM
- Form 144 - Report of proposed sale of securities • Edgar (US Regulatory) • 07/15/2024 08:05:20 PM
- Costco Hikes Membership Fees; ON Semiconductor Stock Drops 3%; WD-40 Soars 13% on Strong Q3 Earnings • IH Market News • 07/11/2024 10:17:26 AM
- AMD to Acquire Silo AI to Expand Enterprise AI Solutions Globally • GlobeNewswire Inc. • 07/10/2024 01:05:00 PM
- U.S. Stock Futures Rise Amid Focus on Fed Chairman Powell’s Speech, Oil Prices Fall • IH Market News • 07/09/2024 10:56:09 AM
- U.S. Stocks Close On Mixed Note; Nasdaq, S&P Hit Record Closing Highs • IH Market News • 07/08/2024 08:48:15 PM
- U.S. Index Futures Modestly Higher Before Key Economic Data Release; Early Closure for July 4th Holiday • IH Market News • 07/03/2024 11:01:33 AM
- Major Averages Close On Firm Note As Stocks Rally After Early Struggle • IH Market News • 07/02/2024 08:44:00 PM
- 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
FEATURED North Bay Resources Acquires Mt. Vernon Gold Mine, Sierra County, California, with Assays up to 4.8 oz. Au per Ton • Jul 18, 2024 9:00 AM
VAYK Expects Revenue from First Airbnb Property Starting from August • VAYK • Jul 18, 2024 9:00 AM
Nightfood Holdings Signs Letter of Intent for All-Stock Acquisition of CarryOutSupplies.com • NGTF • Jul 17, 2024 1:00 PM
Kona Gold Beverages Reaches Out to Largest Debt Holder for Debt Purchase Negotiation • KGKG • Jul 17, 2024 9:00 AM
Avant Technologies Welcomes Back Former CEO with Eye Toward Future Growth and Expansion • AVAI • Jul 17, 2024 8:00 AM
HealthLynked Expands Telemedicine Nationwide • HLYK • Jul 17, 2024 8:00 AM