×

Merge/mask, rotate/shift, and boolean operations from two instruction sets executed in a vectored mux on a dual-ALU

  • US 5,781,457 A
  • Filed: 05/14/1996
  • Issued: 07/14/1998
  • Est. Priority Date: 03/08/1994
  • Status: Expired due to Term
First Claim
Patent Images

1. A logic-instruction execution unit for executing Boolean operations and merge operations, the logic-instruction execution unit comprising:

  • a vectored mux for outputting a result of a Boolean operation or a merge operation, the vectored mux comprising a plurality of individual mux cells, each mux cell having data inputs and select control inputs and an output driving one bit-position of the result, the select control inputs controlling which data input is coupled to drive the output independently of other data inputs;

    a first operand input comprising a plurality of electrical signals representing a first operand;

    a second operand input comprising a plurality of electrical signals representing a second operand;

    operand-spread means, receiving the first operand input, for extending the first operand from a reduced-width operand to a full-width operand by duplicating the reduced-width operand to fill bit-positions in a full-width operand beyond the reduced-width operand, the operand-spread means outputting a spread first operand to a first data input of the vectored mux when the first operand is a reduced-width operand;

    Boolean control means for applying the first operand input and the second operand input to the select control inputs of the vectored mux when a Boolean operation is executed;

    truth-table inputs comprising electrical signals representing at truth table for the Boolean operation, the truth-table inputs varying for different Boolean operations;

    the Boolean control means including means for applying the truth-table inputs to the data inputs of the vectored mux when a Boolean operation is executed;

    merge control means for applying the spread first operand to the first data input on the vectored mux and for applying the second operand input to a second data input on the vectored mux when a merge operation is executed;

    a mask generator for generating a mask indicating a first portion of the result from the first operand and a second portion of the result from the second operand, the first portion and the second portion not overlapping;

    the merge control means including means for applying the mask to a select control input of the vectored mux when a merge operation is executed, wherein the mask causes the vectored mux to select the first portion of the first operand applied to the first data input and the second portion of the second operand applied to the second data input,whereby the vectored mux executes both merge operations and Boolean operations, the operands applied to the data inputs for merge operations but applied to the select control inputs for Boolean operations.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×