1 / 20

Microprocessor system architectures – IA32 introduction

Microprocessor system architectures – IA32 introduction. Jakub Yaghob. Architectures. IA-32 Today commonly used AMD64 /Intel 64 AMD has attempted to widen IA-32 to 64 bits, very unseemly extended in the system part IA-64

tanith
Download Presentation

Microprocessor system architectures – IA32 introduction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Microprocessor system architectures – IA32 introduction Jakub Yaghob

  2. Architectures • IA-32 • Today commonly used • AMD64/Intel 64 • AMD has attempted to widen IA-32 to 64 bits, very unseemly extended in the system part • IA-64 • Very complicated application and system architecture, coming from HP PA-RISC, used in servers • Maybe some others • E.g. SPARC v8+v9, ARM, PowerPC

  3. IA-32 part content • Modes of operation • Memory management: segmentation • Memory management: paging • Multitasking • Exception and interrupt handling • Debugging and performance monitoring • Compatibility modes • Advanced parts (multiprocessing, caches, virtualization)

  4. What is system architecture? • System architecture • Application architecture • System control registers • System data structures • System instructions

  5. System architecture overview 32b - I

  6. System architecture overview 32b - II

  7. System architecture overview 64b - I

  8. System architecture overview 64b - II

  9. System architecture overview 64b - III • Model specific registers

  10. Operating modes - I • Protected mode • Native for i386+ processors • Full 32-bit mode with system resources protection • Real mode • Backward compatibility with 8086-80286 • No protection • Starting mode for CPU • Virtual 8086 mode • Running inside the protected mode • “Simulation” of the real mode • System management mode • Transparent mechanism for implementing power management • Activation of an external system interrupt pin • Separate address space • Long/IA-32e mode • Compatibility and full 64-bit mode

  11. Operating modes - II

  12. Operating modes - III

  13. System flags in EFLAGS/RFLAGS

  14. Memory management system registers

  15. Control registers – CR0 • WP – Write Protect • AM – Alignment Mask • NW – Not Write-through • CD – Cache Disabled • PG - PaGing • PE – Protection Enable • MP – Monitor coProcessor • EM – EMulation • TS – Task Switched • ET – Extension Type • NE – Numeric Error

  16. Effects of EM, MP and TS • Coprocessor emulation • Context-switch support

  17. Control registers – CR2 and CR3 • Paging • PWT – Page-level Writes Transparent • PCD – Page-level Cache Disable

  18. Control registers – CR4 • Extension • VME – Virtual-8086 Mode Extensions • PVI – Protected-mode Virtual Interrupts • TSD – Time Stamp Disable • DE – Debugging Extensions • PSE – Page Size Extensions • PAE – Physical Address Extension • MCE – Machine-Check Enable • PGE – Page Global Enable • PCE – Performance-monitoring Counter Enable • OSFXSR – Operating System support for FXSAVE, FXRSTOR • OSXMMEXCPT – OS support for unmasked SIMD floating-point EXCePTion • VMXE – VMX Enable • SMXE – SMX Enable • OSXSAVE – XSAVE and Processor Extended States-Enable Bit

  19. Extended Control Registers – XCR0 • Paging • x87 – x87 state supported by CPU, must be 1, otherwise #GP • SSE – MXCSR and XMM registers supported by XSAVE/XRESTOR

  20. LLDT, SLDT LGDT,SGDT LTR,STR LIDT,SIDT MOVCRn LMSW,SMSW CLTS ARPL,LAR,LSL VERR,VERW MOVDRn INVD,WBINVD INVLPG HLT LOCK(Prefix) RSM RDMSR,WRMSR RDPMC,RDTSC ,RDTSCP IN,OUT,INS,OUTS CLI,STI IRET XSETBV, XGETBV System instructions

More Related