Release 1.0, 1 July 2002
F. Chapter P
Error Handling
171
TABLE P-14
defines each instruction end-method after an
ADE
trap.
P.4.4
Expected Software Handling of
ADE
Trap
The expected software handling of an
ADE
trap is described by the pseudo C code
below. The main purpose of this flow is to recover from the following errors as much
as possible:
■
An error in the CPU internal RAM or register file
■
An error in the accumulator
■
An error in the CPU internal temporary registers and data bus
TABLE P-14
Instruction End-Method After
async_data_error
Exception
Precise
Retryable But Not Precise
Not Retryable
Instructions executed after
the last
ADE
,
IAE
, or
DAE
trap and before the trapped
instruction referenced by
TPC
.
Ended (Committed).
The instructions without
UGE
complete as defined in the architecture. The
instruction with
UGE
was unpredictable value to its output (destination register or,
in the case of a store instruction, destination memory location).
The trapped instruction
referenced by
TPC
Not executed. The output of the instruction is
incomplete.
Part of the output may be
changed, or the invalid value
may be written to the instruction
output. However, the
modification to the invalid target
that is not defined as instruction
output is not executed.
The following modifications are
not executed:
• Store to the cacheable area
including cache.
• Store to the noncacheable area.
• Output to the source register of
the instruction (destructive
overlap)
The output of the instruction is
incomplete.
Part of the output may be
changed, or the invalid value
may be written to the instruction
output. However, the
modification to the invalid target
that is not defined as instruction
output is not executed.
A store to an invalid address is
not executed. (Store to a valid
address with uncorrected data
may be executed.)
Instructions to be executed
after the instruction
referenced by
TPC
Not executed. Not executed.
Not executed.
The possibility of resuming
the trapped program by
executing the
RETRY
instruction to the
%tpc
when the trapped program
is not damaged at the
single-
ADE
trap
Possible.
Possible.
Impossible.
Summary of Contents for SPARC JPS1
Page 3: ...3 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 11: ...viii SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 23: ...12 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 25: ...14 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 26: ...15 F CHAPTER 4 Data Formats Please refer to Chapter 4 Data Formats in Commonality ...
Page 27: ...16 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 55: ...44 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 71: ...60 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 79: ...68 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 93: ...82 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 95: ...84 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 118: ...F APPENDIX 107 G Assembly Language Syntax Please refer to Appendix G of Commonality ...
Page 119: ...108 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 120: ...F APPENDIX 109 H Software Considerations Please refer to Appendix H of Commonality ...
Page 121: ...110 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 123: ...112 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 124: ...F APPENDIX 113 J Changes from SPARC V8 to SPARC V9 Please refer to Appendix K of Commonality ...
Page 125: ...114 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 126: ...F APPENDIX 115 K Programming with the Memory Models Please refer to Appendix J of Commonality ...
Page 127: ...116 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 143: ...132 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 159: ...148 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 211: ...200 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 223: ...212 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 229: ...218 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 233: ...222 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...
Page 234: ...223 F CHAPTER Bibliography General References Please refer to Bibliography in Commonality ...
Page 235: ...224 SPARC JPS1 Implementation Supplement Fujitsu SPARC64 V Release 1 0 1 July 2002 ...