CA1297591C

Exception reporting mechanism for a vector processor

Abstract

ABSTRACT OF THE DISCLOSUREA data processing system capable of executing vector in-structions and scalar instructions detects the occurrence ofarithmetic exception conditions and allows subsequent scalar in-struction processing until execution of the next vector instruc-tion is required.

CA1297591C, drawing sheet 1
Sheet 1 of 15

Term

Term ended

Expired 17 March 2009, 17.5 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

26 claims: 3 independent, 23 dependent

  1. 1
    66822-91 THE EMBODIMENTS OF THE INVENTION IN WHICH AN EXCLUSIVE PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS: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 nonvector 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 processing 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, coupled to the scalar processing means and the vector processing means, for identifying and routing scalar instructions and vector instructions to said scalar processing means and said vector processing means, respectively;and control disabling means, coupled to said instruction decoding means and said disablement indicating means, for preventing said instruction decoding means from routing vector instructions 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 continue routing instructions to said scalar processing means regardless of the state of said 43 66822-91 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 nonvector quantities, said data processing system comprising:scalar processing means for executing scalar instructions;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 processing means in response to an exception condition, said exception control means including means for identifying arithmetic exception conditions and memory management 46 66822-91 exception conditions, and exception selection means for identifying certain types of arithmetic exception conditions for which said exception control means will not disable said vector processing 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 processing vector arithmetic exceptions, and vector storage means for storing vector processing information indicative of an execution state of said vector processing means;control logic means, coupled to said scalar processing means, for examining the vector processing information stored by said vector storage means;instruction decoding means for identifying and routing vector instructions and scalar instructions to said scalar processing means and said vector processing means, respectively;and control disabling means, coupled to said instruction decoding means and said disablement indicating means, for preventing said instruction decoding means from routing vector instructions 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 continue routing instructions to said scalar processing means regardless 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. 47 66822-91
  3. 16
    A method for processing vector instructions and scalar instructions by a data processing system, said vector instructions involving data processing operations on vector quantities and said scalar instructions involving data processing operations on nonvector quantities, said method comprising the steps of:storing said vector instructions and said scalar instructions in a memory;routing vector instructions and scalar instructions from the memory to a vector processor and a scalar processor, respectively;executing scalar instructions in said scalar processor;executing vector instructions in said vector processor simultaneously with the execution of scalar instructions in the absence of a disablement condition in said vector processor;detecting the presence of an exception condition during the execution of said vector instructions;placing the vector processor into said disablement condition when the presence of the exception condition is detected without interrupting execution of said scalar instructions in said scalar processor;and indicating a vector processor disabled fault condition when said vector processor attempts to execute a vector instruction at the same time that said vector processor is disabled.
  4. 23
    The data processing system of claim 15, wherein said vector storage means includes a plurality of state registers, and wherein said disablement indicating means includes a bit in one of said state registers.