Manual Do Utilizadoríndice analíticoSPARC JPS1 Implementation Supplement: Fujitsu SPARC64V1Fujitsu Limited1Release 1.0, 1 July 20021Contents4Overview121.1 Navigating the SPARC64V Implementation Supplement121.2 Fonts and Notational Conventions121.3 The SPARC64V processor131.3.1 Component Overview151.3.2 Instruction Control Unit (IU)171.3.3 Execution Unit (EU)171.3.4 Storage Unit (SU)181.3.5 Secondary Cache and External Access Unit (SXU)19Definitions20Architectural Overview24Data Formats26Registers285.1 Nonprivileged Registers285.1.7 Floating-Point State Register (FSR)295.1.9 Tick (TICK) Register305.2 Privileged Registers305.2.6 Trap State (TSTATE) Register305.2.9 Version (VER) Register315.2.11 Ancillary State Registers (ASRs)315.2.12 Registers Referenced Through ASIs335.2.13 Floating-Point Deferred-Trap Queue (FQ)355.2.14 IU Deferred-Trap Queue35Instructions366.1 Instruction Execution366.1.1 Data Prefetch366.1.2 Instruction Prefetch376.1.3 Syncing Instructions386.2 Instruction Formats and Fields396.3 Instruction Categories406.3.3 Control-Transfer Instructions (CTIs)406.3.7 Floating-Point Operate (FPop) Instructions416.3.8 Implementation-Dependent Instructions416.4 Processor Pipeline426.4.1 Instruction Fetch Stages426.4.2 Issue Stages446.4.3 Execution Stages446.4.4 Completion Stages45Traps467.1 Processor States, Normal and Special Traps467.1.1 RED_state477.1.2 error_state477.2 Trap Categories487.2.2 Deferred Traps487.2.4 Reset Traps487.2.5 Uses of the Trap Categories487.3 Trap Control497.3.1 PIL Control497.4 Trap-Table Entry Addresses497.4.2 Trap Type (TT)497.4.4 Details of Supported Traps507.5 Trap Processing507.6 Exception and Interrupt Descriptions507.6.4 SPARC V9 Implementation-Dependent, Optional Traps That Are Mandatory in SPARC JPS1507.6.5 SPARC JPS1 Implementation-Dependent Traps50Memory Models528.1 Overview538.4 SPARC V9 Memory Model538.4.5 Mode Control538.4.6 Synchronizing Instruction and Data Memory53Instruction Definitions: SPARC64 V Extensions56A.4 Block Load and Store Instructions (VIS I)58A.12 Call and Link60A.24 Implementation-Dependent Instructions60A.24.1 Floating-Point Multiply-Add/Subtract61A.29 Jump and Link64A.30 Load Quadword, Atomic [Physical]65A.35 Memory Barrier66A.42 Partial Store (VIS I)68A.49 Prefetch Data68A.51 Read State Register69A.70 SHUTDOWN (VIS I)69A.70 Write State Register70A.71 Deprecated Instructions70A.71.10 Store Barrier70IEEE Std 754-1985 Requirements for SPARC V972B.1 Traps Inhibiting Results72B.6 Floating-Point Nonstandard Mode72B.6.1 fp_exception_other Exception (ftt=unfinished_FPop)73B.6.2 Operation Under FSR.NS = 176Implementation Dependencies80C.1 Definition of an Implementation Dependency80C.2 Hardware Characteristics81C.3 Implementation Dependency Categories81C.4 List of Implementation Dependencies81Formal Specification of the Memory Models92Opcode Maps94Memory Management Unit96F.1 Virtual Address Translation96F.2 Translation Table Entry (TTE)97F.3.3 TSB Organization99F.4.2 TSB Pointer Formation99F.5 Faults and Traps100F.8 Reset, Disable, and RED_state Behavior102F.10 Internal Registers and ASI operations103F.10.1 Accessing MMU Registers103F.10.4 I/D TLB Data In, Data Access, and Tag Read Registers104F.10.7 I/D TSB Extension Registers108F.10.9 I/D Synchronous Fault Status Registers (I-SFSR, D-SFSR)108F.11 MMU Bypass115F.11.10 TLB Replacement Policy116Assembly Language Syntax118Software Considerations120Extending the SPARC V9 Architecture122Changes from SPARC V8 to SPARC V9124Programming with the Memory Models126Address Space Identifiers128L.3 SPARC64 V ASI Assignments128L.3.2 Special Memory Access ASIs130L.4 Barrier Assist for Parallel Processing132L.4.1 Interface Definition132L.4.2 ASI Registers133Cache Organization136M.1 Cache Types136M.1.1 Level-1 Instruction Cache (L1I Cache)137M.1.2 Level-1 Data Cache (L1D Cache)138M.1.3 Level-2 Unified Cache (L2 Cache)138M.2 Cache Coherency Protocols139M.3 Cache Control/Status Instructions139M.3.1 Flush Level-1 Instruction Cache (ASI_FLUSH_L1I)140M.3.2 Level-2 Cache Control Register (ASI_L2_CTRL)141M.3.3 L2 Diagnostics Tag Read (ASI_L2_DIAG_TAG_READ)141M.3.4 L2 Diagnostics Tag Read Registers (ASI_L2_DIAG_TAG_READ_REG)142Interrupt Handling144N.1 Interrupt Dispatch144N.2 Interrupt Receive146N.3 Interrupt Global Registers147N.4 Interrupt-Related ASR Registers147N.4.2 Interrupt Vector Dispatch Register147N.4.3 Interrupt Vector Dispatch Status Register147N.4.5 Interrupt Vector Receive Register147Reset, RED_state, and error_state148O.1 Reset Types148O.1.1 Power-on Reset (POR)148O.1.2 Watchdog Reset (WDR)149O.1.3 Externally Initiated Reset (XIR)149O.1.4 Software-Initiated Reset (SIR)149O.2 RED_state and error_state150O.2.1 RED_state151O.2.2 error_state151O.2.3 CPU Fatal Error state152O.3 Processor State after Reset and in RED_state152O.3.1 Operating Status Register (OPSR)157O.3.2 Hardware Power-On Reset Sequence158O.3.3 Firmware Initialization Sequence158Error Handling160P.1 Error Classification160P.1.1 Fatal Error160P.1.2 error_state Transition Error161P.1.3 Urgent Error161P.1.4 Restrainable Error163P.2 Action and Error Control164P.2.1 Registers Related to Error Handling164P.2.2 Summary of Actions Upon Error Detection165P.2.3 Extent of Automatic Source Data Correction for Correctable Error168P.2.4 Error Marking for Cacheable Data Error168P.2.5 ASI_EIDR172P.2.6 Control of Error Action (ASI_ERROR_CONTROL)172P.3 Fatal Error and error_state Transition Error174P.3.1 ASI_STCHG_ERROR_INFO174P.3.2 Fatal Error Types175P.3.3 Types of error_state Transition Errors175P.4 Urgent Error176P.4.1 URGENT ERROR STATUS (ASI_UGESR)176P.4.2 Action of async_data_error (ADE) Trap179P.4.3 Instruction End-Method at ADE Trap181P.4.4 Expected Software Handling of ADE Trap182P.5 Instruction Access Errors184P.6 Data Access Errors184P.7 Restrainable Errors185P.7.1 ASI_ASYNC_FAULT_STATUS (ASI_AFSR)185P.7.2 ASI_ASYNC_FAULT_ADDR_D1188P.7.3 ASI_ASYNC_FAULT_ADDR_U2189P.7.4 Expected Software Handling of Restrainable Errors190P.8 Handling of Internal Register Errors192P.8.1 Register Error Handling (Excluding ASRs and ASI Registers)192P.8.2 ASR Error Handling193P.8.3 ASI Register Error Handling194P.9 Cache Error Handling199P.9.1 Handling of a Cache Tag Error199P.9.2 Handling of an I1 Cache Data Error201P.9.3 Handling of a D1 Cache Data Error201P.9.4 Handling of a U2 Cache Data Error203P.9.5 Automatic Way Reduction of I1 Cache, D1 Cache, and U2 Cache204P.10 TLB Error Handling206P.10.1 Handling of TLB Entry Errors206P.10.2 Automatic Way Reduction of sTLB207P.11 Handling of Extended UPA Bus Interface Error208P.11.1 Handling of Extended UPA Address Bus Error208P.11.2 Handling of Extended UPA Data Bus Error208Performance Instrumentation212Q.1 Performance Monitor Overview212Q.1.1 Sample Pseudocodes212Q.2 Performance Monitor Description214Q.2.1 Instruction Statistics215Q.2.2 Trap-Related Statistics217Q.2.3 MMU Event Counters218Q.2.4 Cache Event Counters219Q.2.5 UPA Event Counters221Q.2.6 Miscellaneous Counters222UPA Programmer’s Model224R.1 Mapping of the CPU’s UPA Port Slave Area224R.2 UPA PortID Register225R.3 UPA Config Register226Summary of Differences between SPARC64 V and UltraSPARC-III230Bibliography234General References234Tamanho: 3 MBPáginas: 255Language: EnglishAbrir o manual