Long mode

In the x86-64 computer architecture, long mode is the mode where a 64-bit operating system can access 64-bit instructions and registers. 64-bit programs are run in a sub-mode called 64-bit mode, while 32-bit programs and 16-bit protected mode programs are executed in a sub-mode called compatibility mode. Real mode or virtual 8086 mode programs cannot be natively run in long mode.

Overview

An x86-64 processor acts identically to an IA-32 processor when running in real mode or protected mode, which are supported modes when the processor is not in long mode.

A bit in the CPUID extended attributes field informs programs in real or protected modes if the processor can go to long mode, which allows a program to detect an x86-64 processor. This is similar to the CPUID attributes bit that Intel IA-64 processors use to allow programs to detect if they are running under IA-32 emulation.

With a computer running legacy BIOS, the BIOS and the boot loader run in real mode. After execution passes to an operating system kernel which supports x86-64, the kernel verifies CPU support for long mode and then executes the instructions to enter it. With a computer running UEFI, the UEFI firmware (except CSM and legacy Option ROM), any UEFI boot loader, and the operating system kernel all run in Long mode.

Memory limitations

While register sizes have increased to 64 bits from the previous x86 architecture, memory addressing has not yet been increased to the full 64 bits. For the time being, it is impractical to equip computers with sufficient memory to require a full 64 bits. As long as that remains the case, load/store unit(s), cache tags, MMUs and TLBs can be simplified without any loss of usable memory. Despite this limitation, software is programmed using full 64-bit pointers, and will therefore be able to use progressively larger address spaces as they become supported by future processors and operating systems.

Current limits

The first CPUs implementing the x86-64 architecture, namely the AMD Athlon 64 / Opteron (K8) CPUs, had 48-bit virtual[1]: 129–130  and 40-bit physical addressing.[1]: 4 

The virtual address space of these processors is divided into two 47-bit regions, one starting at the lowest possible address, the other extending down from the largest. Attempting to use addresses falling outside this range will cause a general protection fault.

The limit of physical addressing constrains how much installed RAM is able to be accessed by the computer. On a ccNUMA multiprocessor system (Opteron) this includes the memory which is installed in the remote nodes, because the CPUs can directly address (and cache) all memory regardless if it is on the home node or remote. The 1 TB limit (40-bit) for physical memory for the K8 is huge by typical personal computer standards, but might have been a limitation for use in supercomputers. Consequently, the K10 (or "10h") microarchitecture implements 48-bit physical addresses and so can address up to 256 TB of RAM.[2]

When there is need, the microarchitecture can be expanded step by step without side-effects from software and simultaneously save cost with its implementation. For future expansion, the architecture supports expanding virtual address space to 64 bits, and physical memory addressing to 52 bits (limited by the page table entry format).[3] This would allow the processor to address 264 bytes (16 exabytes) of virtual address space and 252 bytes (4 petabytes) of physical address space.

See also

References

  1. ^ a b "AMD64 Architecture Programmer's Manual Volume 2: System Programming" (PDF). 2016. Retrieved 2015-04-09.
  2. ^ "BIOS and Kernel Developer's Guide (BKDG) For AMD Family 10h Processors" (PDF). p. 30. Retrieved 2015-04-09. Physical address space increased to 48 bits.
  3. ^ AMD 2016, p. 24: "The AMD64 architecture enhances this support to allow translation of 64-bit virtual addresses into 52-bit physical addresses, although processor implementations can support smaller virtual-address and physical-address spaces."

Read other articles:

La LiguaVilla de Santo Domingo de Rozas de La Ligua Comuna Escudo Mapa interactivoCoordenadas 32°26′58″S 71°13′54″O / -32.4494, -71.2317Entidad Comuna • País  Chile • Región  Valparaíso • Provincia PetorcaAlcalde Patricio Pallares (Ind.)Eventos históricos   • Fundación 21 de junio de 1754 (269 años) (Ortiz de Rozas)Superficie   • Total 1163 km²Altitud   • Media 126 m s. n. m.Població...

 

 

Display a web page to fit a certain device and screen size This article needs to be updated. Please help update this article to reflect recent events or newly available information. (September 2018) M2 Mobile Web, the original mobile web front end of Twitter, later served as fallback legacy version to clients without JavaScript support and/or incompatible browsers, such as game consoles with limited web browsing capability. It was shut down in December 2020.[1] Adaptive web design (AW...

 

 

Kabinet Pembangunan IIKabinet Pemerintahan IndonesiaDibentuk28 Maret 1973Diselesaikan29 Maret 1978Struktur pemerintahanKepala negaraSoehartoKepala pemerintahanSoehartoWakil kepala pemerintahanHamengkubuwana IXJumlah menteri22Total jumlah menteri25Partai anggotaGolongan KaryaPartai Persatuan PembangunanPartai Demokrasi IndonesiaAngkatan Bersenjata Republik IndonesiaIndependenSejarahPendahuluKabinet Pembangunan IPenggantiKabinet Pembangunan III Artikel ini adalah bagian dari seriPolitik dan ket...

American politician Frank HerefordUnited States Senatorfrom West VirginiaIn officeJanuary 31, 1877 – March 3, 1881Preceded bySamuel PriceSucceeded byJohnson N. CamdenMember of the U.S. House of Representativesfrom West Virginia's 3rd districtIn officeMarch 4, 1871 – January 31, 1877Preceded byJohn WitcherSucceeded byJohn E. Kenna Personal detailsBorn(1825-07-04)July 4, 1825Warrenton, VirginiaDiedDecember 21, 1891(1891-12-21) (aged 66)Union, West Virginia...

 

 

جهاد صالح معلومات شخصية اسم الولادة جهاد أحمد صالح قاسم  الميلاد 15 مايو 1947   دير دبوان  الوفاة 29 يناير 2023 (75 سنة)   عَمَّان  مواطنة دولة فلسطين  عضو في الاتحاد العام للكتاب والأدباء الفلسطينيين  الحياة العملية المهنة كاتب  اللغة الأم العربية  اللغات ال�...

 

 

Street Fighter character In this Korean name, the family name is Han. Fictional character JuriStreet Fighter characterJuri in Street Fighter 6First appearanceSuper Street Fighter IV (2010)Created byYoshinori OnoVoiced byEN: Jessica StrausJP: Eri KitamuraIn-universe informationFighting styleTaekwondoOriginSouth KoreaNationalitySouth Korean Juri (ジュリ), full name Han Ju-ri (한주리), is a fictional character in the Street Fighter series. She made her first appearance in 2010's Super Stre...

Pour les articles homonymes, voir Les Joueurs d'échecs. Cet article est une ébauche concernant la peinture. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Les Joueurs d'échecsArtiste Honoré DaumierDate Entre 1863 et 1868Matériau huile et bois sur toileDimensions (H × L) 24 et 48 × 32 et 55,5 cmNo d’inventaire PPP41Localisation Musée des beaux-arts de la ville de Paris, Petit Pa...

 

 

Actions by the California state government regarding the COVID-19 pandemic This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs to be updated. Please help update this article to reflect recent events or newly available information. (September 2022) This article may contain an excessive amount of intricate detail that may interest only a particular audience. Please help by sp...

 

 

English politician (born 1956) This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Nigel Hastilow – news · newspapers · books · scholar · JSTOR (April 2018) (Learn how and when to remove this templa...

Синелобый амазон Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:ЗавропсидыКласс:Пт�...

 

 

Halaman ini berisi artikel tentang Partai Rakyat Jerman yang berdiri antara 1918 dan 1933. Untuk partai lain bernama sama, lihat Partai Rakyat Jerman (disambiguasi). Partai Rakyat Jerman Deutsche VolksparteiKetua umumGustav StresemannDibentuk15 Desember 1918 (1918-12-15)Dibubarkan4 Juli 1933 (1933-7-4)Didahului olehPartai Liberal NasionalKantor pusatBerlinKeanggotaan (1920)800,000[1]IdeologiLiberalisme nasional[2][3][4]Nasionalisme sipil[5 ...

 

 

Transportasi di Selangor terbagi atas pengangkutan air, darat dan udara. Pengangkutan air Jarang digunakan kecuali untuk pergi ke tujuan pariwisata seperti Pulau Carey dan Pulau Ketam. Pengangkutan udara Selangor mempunyai dua lapangan terbang umum: Bandara Sultan Abdul Aziz Shah Bandara Internasional Kuala Lumpur (KLIA) Artikel bertopik Malaysia ini adalah sebuah rintisan. Anda dapat membantu Wikipedia dengan mengembangkannya.lbs

Serbian politician Aćim ČumićАћим ЧумићPrime Minister of the Principality of SerbiaIn office7 December 1874 – 3 February 1875MonarchMilan I of SerbiaMinister of the Interior of SerbiaIn office1873–1874Prime MinisterJovan MarinovićJudge of the Court of CassationIn office22 January 1875 – 1878 Personal detailsBorn1836 (1836)ArandjelovacDied27 July 1901 (aged 64–65)KusadakPolitical partySerbian Progressive Party Aćim Čumić (Serbian Cyrillic...

 

 

Argentine cartoonist Ricardo SiriLiniers in 2015BornNovember 15, 1973Buenos Aires, ArgentinaNationalityArgentine Area(s)CartoonistPseudonym(s)LiniersNotable worksMacanudo The Big Wet BalloonAwardsEisner Award Winner.[1] Parents Magazine Ten Best Children's Book (for The Big Wet Balloon) Ricardo Siri (Buenos Aires, November 15, 1973), better known by the name Liniers, is an Argentine cartoonist. Early life Liniers is related to viceroy Santiago de Liniers. He began drawing from a very ...

 

 

Area where land meets the sea or ocean For other uses, see Coast (disambiguation). Shore and Shoreline redirect here. For other uses, see Shore (disambiguation) and Shoreline (disambiguation). Sunrise on the Jersey Shore coastline at Spring Lake, New Jersey, U.S. Rugged coastline of the West Coast Region of New Zealand Southeast coast of Greenland Escorca coast, Serra de Tramuntana (Balearic Islands) The coast, also known as the coastline, shoreline or seashore, is defined as the area where l...

Sungai PutriKelurahanKantor Lurah Sungai PutriNegara IndonesiaProvinsiJambiKotaJambiKecamatanDanau SipinKode Kemendagri15.71.10.1001 Kode BPS1571051002 Luas... Km2Jumlah penduduk... JiwaKepadatan... Jiwa/Km2 Sungai Putri adalah salah satu kelurahan di Kecamatan Danau Sipin, Kota Jambi, Provinsi Jambi, Indonesia. Pranala luar (Indonesia) Keputusan Menteri Dalam Negeri Nomor 050-145 Tahun 2022 tentang Pemberian dan Pemutakhiran Kode, Data Wilayah Administrasi Pemerintahan, dan Pulau tahun ...

 

 

Nicaraguan percussionist (born 1946) José “Chepito” AreasBackground informationBirth nameJosé Octavio Areas DávilaAlso known asChepito AreasBorn (1946-07-25) 25 July 1946 (age 77)León, NicaraguaOriginLeón, NicaraguaGenres Latin rock funk rock jazz fusion Occupation(s)MusicianInstrument(s) Timbales percussion congas trumpet drums Years active1969-presentLabelsColumbia World Rock RecordsMusical artist José Octavio Chepito Areas Dávila (born 25 July 1946) is a Nicaraguan percussi...

 

 

2016年美國總統選舉 ← 2012 2016年11月8日 2020 → 538個選舉人團席位獲勝需270票民意調查投票率55.7%[1][2] ▲ 0.8 %   获提名人 唐納·川普 希拉莉·克林頓 政党 共和黨 民主党 家鄉州 紐約州 紐約州 竞选搭档 迈克·彭斯 蒂姆·凱恩 选举人票 304[3][4][註 1] 227[5] 胜出州/省 30 + 緬-2 20 + DC 民選得票 62,984,828[6] 65,853,514[6]...

Soviet and Russian fully automatic naval close-in weapon system AK-630 One of two AK-630M installations on the former East-German ship HiddenseeTypeClose-in weapon systemRotary cannonPlace of originSoviet Union, RussiaService historyIn service1976–present[1][2]Used bySee OperatorsProduction historyDesignerDeveloper:TsKIB SOO (Mikhail Knebelman;[1][3]Vasily Bakalev (AK-630M1-2))[4]Cannon:KBP Instrument Design Bureau(Vasily Gryazev, ...

 

 

 烏克蘭總理Прем'єр-міністр України烏克蘭國徽現任杰尼斯·什米加尔自2020年3月4日任命者烏克蘭總統任期總統任命首任維托爾德·福金设立1991年11月后继职位無网站www.kmu.gov.ua/control/en/(英文) 乌克兰 乌克兰政府与政治系列条目 宪法 政府 总统 弗拉基米尔·泽连斯基 總統辦公室 国家安全与国防事务委员会 总统代表(英语:Representatives of the President of Ukraine) 总...