INTERRUPTS
11-35
11
11.9.1
Interrupt Service Latency
The established measure of interrupt performance is the time required to perform an interrupt task
switch, which is known as interrupt service latency. Latency is the time measured between
activation of an interrupt source and execution of the first instruction for the accompanying
interrupt-handling procedure.
Interrupt latency depends on interrupt controller configuration and the instruction being executed
at the time of the interrupt. The processor also has a number of cache options that reduce interrupt
latency. In the discussion that follows, interrupt latency is expressed as a number of bus clock
cycles, and reflects differences between the 80960JA/JF, the 80960JD due to the 80960JD
processor’s clock-doubled core, and the 80960JT due to the processor’s clock-tripled core.
11.9.2
Features to Improve Interrupt Performance
The i960 Jx processor implementation employs four methods to reduce interrupt latency:
•
Caching interrupt vectors on-chip
•
Caching of interrupt handling procedure code
•
Reserving register frames in the local register cache
•
Caching the interrupt stack in the data cache
11.9.2.1
Vector Caching Option
To reduce interrupt latency, the i960 Jx processors allow some interrupt table vector entries to be
cached in internal data RAM. When the vector cache option is enabled and an interrupt request has
a cached vector to be serviced, the controller fetches the associated vector from internal RAM
rather than from the interrupt table in memory.
Interrupts with a vector number with the four least-significant bits equal to 0010
2
can be cached.
The vectors that can be cached coincide with the vector numbers that are selected with the mapping
registers and assigned to dedicated-mode inputs. The vector caching option is selected when
programming the ICON register; software must explicitly store the vector entries in internal RAM.
Since the internal RAM is mapped to the address space directly, this operation can be performed
using the core’s store instructions.
Table 11-2
shows the required vector mapping to specific
locations in internal RAM. For example, the vector entry for vector number 18 must be stored at
RAM location 04H, and so on.
The NMI vector is also shown in
Table 11-2
. This vector is always cached in internal data RAM at
location 0000H. The processor automatically loads this location at initialization with the value of
vector number 248 in the interrupt table.
Содержание i960 Jx
Страница 1: ...Release Date December 1997 Order Number 272483 002 i960 Jx Microprocessor Developer s Manual ...
Страница 24: ......
Страница 25: ...1 INTRODUCTION ...
Страница 26: ......
Страница 35: ...2 DATA TYPES AND MEMORY ADDRESSING MODES ...
Страница 36: ......
Страница 46: ......
Страница 47: ...3 PROGRAMMING ENVIRONMENT ...
Страница 48: ......
Страница 73: ...4 CACHE AND ON CHIP DATA RAM ...
Страница 74: ......
Страница 85: ...5 INSTRUCTION SET OVERVIEW ...
Страница 86: ......
Страница 111: ...6 INSTRUCTION SET REFERENCE ...
Страница 112: ......
Страница 195: ...INSTRUCTION SET REFERENCE 6 83 6 Opcode mov 5CCH REG movl 5DCH REG movt 5ECH REG movq 5FCH REG See Also LOAD STORE lda ...
Страница 233: ...7 PROCEDURE CALLS ...
Страница 234: ......
Страница 256: ......
Страница 257: ...8 FAULTS ...
Страница 258: ......
Страница 291: ...9 TRACING AND DEBUGGING ...
Страница 292: ......
Страница 309: ...10 TIMERS ...
Страница 310: ......
Страница 324: ......
Страница 325: ...11 INTERRUPTS ...
Страница 326: ......
Страница 369: ...12 INITIALIZATION AND SYSTEM REQUIREMENTS ...
Страница 370: ......
Страница 412: ......
Страница 413: ...13 MEMORY CONFIGURATION ...
Страница 414: ......
Страница 429: ...14 EXTERNAL BUS ...
Страница 430: ......
Страница 468: ......
Страница 469: ...15 TEST FEATURES ...
Страница 470: ......
Страница 493: ...A CONSIDERATIONS FOR WRITING PORTABLE CODE ...
Страница 494: ......
Страница 502: ......
Страница 503: ...B OPCODES AND EXECUTION TIMES ...
Страница 504: ......
Страница 515: ...C MACHINE LEVEL INSTRUCTION FORMATS ...
Страница 516: ......
Страница 523: ...D REGISTER AND DATA STRUCTURES ...
Страница 524: ......
Страница 550: ......
Страница 551: ...GLOSSARY ...
Страница 552: ......
Страница 561: ...INDEX ...
Страница 562: ......
Страница 578: ......