EP0335514A2

Exception reporting mechanism for a vector processor.

Abstract

A data processing system capable of executing vector in­structions and scalar instructions detects the occurrence of arithmetic exception conditions and allows subsequent scalar in­struction processing until execution of the next vector instruc­tion is required.

EP0335514A2, drawing sheet 1
Sheet 1 of 16

Term

Term ended

Projected expiry passed 6 March 2009, 17.6 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

16 claims: 3 independent, 13 dependent

  1. 1
    A data processing system capable of executing vector instructions and scalar instructions, said vector instructions involving data processing operations on vector quantities and said scalar instructions involving data processing operations on non-vector quantities, said data processing system comprising:scalar processing means for executing scalar instructions;vector processing means for executing vector instructions simultaneously with the execution of scalar instructions by said scalar processing means, said vector processing means including exception control means for disabling said vector pro­cessing means in response to an exception condition, and disablement indicating means, coupled to said exception control means, for indicating that the vector processing means is disabled;instruction decoding means for identifying and routing scalar instructions and vector instructions to said scalar pro­cessing means and said vector processing means, respectively;and control disabling means, coupled to said instruction decoding means and said disablement indicating means, for pre­venting said instruction decoding means from routing vector in­structions to said vector processing means when said disablement indicating means indicates that said vector processing means is disabled and for allowing said instruction decoding means to con­tinue routing instructions to said scalar processing means re­gardless of the state of said disablement indicating means, whereby said scalar processing means continues execution of said scalar instructions despite the occurrence of an exception condition in said vector processor means.
  2. 15
    A data processing system capable of executing vector instructions and scalar instructions, said vector instructions involving data processing operations on vector quantities and said scalar instructions involving data processing operations on non-vector quantities, said data processing system comprising:scalar processing means for executing scalar instructions, said scalar processing means including control logic means;vector processing means, coupled to said scalar processing means, for executing vector instructions simultaneously with the execution of scalar instructions by said scalar processing means, said vector processing means including exception control means for disabling said vector pro­cessing means in response to an exception condition, said exception control means including means for identifying arithmetic exception conditions and memory management exception conditions, said exception control means further including exception selection means for identifying certain types of arithmetic exception conditions for which said exception control means will not disable said vector pro­cessing means, disablement indicating means, coupled to said exception control means, for indicating that the vector processing means is disabled, vector arithmetic exception processing means for pro­cessing vector arithmetic execptions, and storage means for saving vector processing information, and instruction decoding means for decoding vector instruc­tions received from said scalar processing means;control logic means, coupled to said scalar processing means, for examining vector processing information stored by said vector storage means;instruction decoding means for identifying and routing vector instructions and scalar instructions to said scalar pro­cessing means and said vector processing means, respectively;and control disabling means, coupled to said instruction decoding means and said disablement indicating means, for pre­venting said instruction decoding means from routing vector in­structions to said vector processing means when said disablement indicating means indicates that said vector processing means is disabled and for allowing said instruction decoding means to con­tinue routing instructions to said scalar processing means re­gardless of the state of said disablement indicating means, whereby said scalar processing means continues execution of said scalar instructions despite the occurrence of an exception condition in said vector processing means, and whereby said control disabling means reenables said instruc­tion decoding means to route vector instructions to said vector processing means after said data processing system processes said vector arithmetic exception condition.
  3. 16
    A method for processing vector instructions and scalar instructions by a data processing system, said vector instruc­tions involving data processing operations on vector quantities and said scalar instructions involving data processing operations on non-vector quantities, said method ccmprising the steps of:routing vector instructions and scalar instructions to be processed by a vector processing and a scalar processor, respec­tively;executing scalar instructions in said scalar processor;executing vector instructions in said vector processor si­multaneously with the execution of scalar instructions when the vector processor is enabled;detecting and indicating the presence of an exception condi­tion during the execution of said vector instruction;storing an indication of the occurrence of said exception condition by disabling the vector processor without interrupting execution of said scalar instructions;and taking a vector processor disabled fault when said vector processor attempts to execute a vector instruction when said vector processor is disabled.