Vector operations with operand base system conversion and re-conversion

US9965276B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9965276-B2
Application numberUS-201615141786-A
CountryUS
Kind codeB2
Filing dateApr 28, 2016
Priority dateJun 29, 2012
Publication dateMay 8, 2018
Grant dateMay 8, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Methods and apparatuses relating to vector operations with operand base system conversion and re-conversion are described. In one embodiment, a method includes executing a single instruction by receiving a vector element of a first input vector and a vector element of a second input vector expressed in a first base system, converting the vector elements into a second lower base system to form a converted vector element of the first input vector and a converted vector element of the second input vector, performing an operation on the converted vector element of the first input vector and the converted vector element of the second input vector to form a result, accumulating in a register a portion of the result with a portion of a result of a prior operation expressed in the second lower base system, and converting contents of the register into the first base system.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: decoding a single instruction with a hardware decoder of a hardware processor; and executing the single instruction with a hardware execution unit of the hardware processor by: receiving a vector element of a first input vector and a vector element of a second input vector expressed in a first base system; converting the vector element of the first input vector and the vector element of the second input vector into a second lower base system to form a converted vector element of the first input vector and a converted vector element of the second input vector; performing an operation on the converted vector element of the first input vector and the converted vector element of the second input vector to form a result; accumulating in a register a portion of the result with a portion of a result of a prior operation expressed in the second lower base system; and converting contents of the register into the first base system. 2. The method of claim 1 , wherein the executing the single instruction with the hardware execution unit of the hardware processor further comprises selecting a size of the register to store any carry over within the register. 3. The method of claim 1 , wherein the first base system corresponds to a maximum digit size of 64 bits and the second lower base system corresponds to a maximum digit size of 52 bits. 4. The method of claim 1 , wherein the contents of the register include a digit that is larger than the second lower base system's largest digit. 5. The method of claim 1 , wherein the executing further comprises iteratively performing operation and accumulation sequences to effect a complete operation on the first input vector and the second input vector. 6. The method of claim 5 , wherein the iterative operation and accumulation sequences include a shift operation that shifts elements of the first input vector to a neighboring vector element location. 7. A hardware processor comprising: a hardware decoder to decode a single instruction; and a hardware execution unit to execute the single instruction to: receive a vector element of a first input vector and a vector element of a second input vector expressed in a first base system; convert the vector element of the first input vector and the vector element of the second input vector into a second lower base system to form a converted vector element of the first input vector and a converted vector element of the second input vector; perform an operation on the converted vector element of the first input vector and the converted vector element of the second input vector to form a result; accumulate in a register a portion of the result with a portion of a result of a prior operation expressed in the second lower base system; and convert contents of the register into the first base system. 8. The hardware processor of claim 7 , wherein the hardware execution unit is to execute the single instruction to select a size of the register to store any carry over within the register. 9. The hardware processor of claim 7 , wherein the first base system corresponds to a maximum digit size of 64 bits and the second lower base system corresponds to a maximum digit size of 52 bits. 10. The hardware processor of claim 7 , wherein the contents of the register include a digit that is larger than the second lower base system's largest digit. 11. The hardware processor of claim 7 , wherein the hardware execution unit is to execute the single instruction by iteratively performing operation and accumulation sequences to effect a complete operation on the first input vector and the second input vector. 12. The hardware processor of claim 11 , wherein the iterative operation and accumulation sequences include a shift operation to shift elements of the first input vector to a neighboring vector element location. 13. A non-transitory machine readable medium that stores code that when executed by a machine causes the machine to perform a method comprising: decoding a single instruction with a hardware decoder of a hardware processor; and executing the single instruction with a hardware execution unit of the hardware processor by: receiving a vector element of a first input vector and a vector element of a second input vector expressed in a first base system; converting the vector element of the first input vector and the vector element of the second input vector into a second lower base system to form a converted vector element of the first input vector and a converted vector element of the second input vector; performing an operation on the converted vector element of the first input vector and the converted vector element of the second input vector to form a result; accumulating in a register a portion of the result with a portion of a result of a prior operation expressed in the second lower base system; and converting contents of the register into the first base system. 14. The non-transitory machine readable medium of claim 13 , wherein the executing the single instruction with the hardware execution unit of the hardware processor further comprises selecting a size of the register to store any carry over within the register. 15. The non-transitory machine readable medium of claim 13 , wherein the first base system corresponds to a maximum digit size of 64 bits and the second lower base system corresponds to a maximum digit size of 52 bits. 16. The non-transitory machine readable medium of claim 13 , wherein the contents of the register include a digit that is larger than the second lower base system's largest digit. 17. The non-transitory machine readable medium of claim 13 , wherein the executing further comprises iteratively performing operation and accumulation sequences to effect a complete operation on the first input vector and the second input vector. 18. The non-transitory machine readable medium of claim 17 , wherein the iterative operation and accumulation sequences include a shift operation that shifts elements of the first input vector to a neighboring vector element location. 19. A non-transitory machine readable medium that stores code that when executed by a machine causes the machine to perform a method comprising: decoding a single instruction with a hardware decoder of a hardware processor; and executing the single instruction with a hardware execution unit of the hardware processor by: receiving a vector element multiplicand and a vector element multiplier expressed in a first base system; converting the vector element multiplicand and vector element multiplier into a second lower base system to form a converted vector element multiplicand and a converted vector element multiplier; multiplying the converted vector element multiplicand and the converted vector element multiplier to form a multiplication result; accumulating in a register a portion of the multiplication result with a portion of a result of a prior multiplication of operands expressed in the second lower base system; and converting contents of the register into the first base system. 20. The non-transitory machine readable medium of claim 19 , wherein the executing the single instruction with the hardware execution unit of the hardware processor further comprises selecting a size of the register to store any carry over within the register. 21. The non-transitory machine readable medium of claim 19 , wherein the first base system corresponds to a maximum digit size of 64 bits and the secon

Assignees

Inventors

Classifications

  • Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00) · CPC title

  • G06F17/16Primary

    Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)} · CPC title

  • Register arrangements · CPC title

  • Arithmetic instructions · CPC title

  • Instructions to perform operations on packed data, e.g. vector, tile or matrix operations · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9965276B2 cover?
Methods and apparatuses relating to vector operations with operand base system conversion and re-conversion are described. In one embodiment, a method includes executing a single instruction by receiving a vector element of a first input vector and a vector element of a second input vector expressed in a first base system, converting the vector elements into a second lower base system to form a…
Who is the assignee on this patent?
Intel Corp
What technology area does this patent fall under?
Primary CPC classification G06F17/16. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 08 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).