US 10719323
Systems and methods for performing matrix compress and decompress instructions
Granted 2020-07-21 · Filed 2018-09-27 · Application 16/144,902 · Utility · Kind B2 · Prior publication US 2019/0042257 A1, 2019-02-07
- Assignee as printed
- Intel Corporation, Santa Clara, CA (US)
- Inventors
- Dan Baum, Haifa (IL); Michael Espig, Newberg, OR (US); James D. Guilford, Northborough, MA (US); Wajdi K. Feghali, Boston, MA (US); Raanan Sade, Migdal HaEmek (IL); Christopher J. Hughes, Santa Clara, CA (US); Robert Valentine, Kiryat Tivon (IL); Bret L. Toll, Hillsboro, OR (US); Elmoustapha Ould-Ahmed-Vall, Chandler, AZ (US); Mark J. Charney, Lexington, MA (US); Vinodh Gopal, Westborough, MA (US); Ronen Zohar, Sunnyvale, CA (US); Alexander Heinecke, San Jose, CA (US)
- CPC, current
- G06F9/30178; G06F9/30025; G06F9/30032; G06F9/30036; G06F9/30038; G06F9/3013; G06F9/30145; G06F9/3802
Abstract
Disclosed embodiments relate to matrix compress/decompress instructions. In one example, a processor includes fetch circuitry to fetch a compress instruction having a format with fields to specify an opcode and locations of decompressed source and compressed destination matrices, decode circuitry to decode the fetched compress instructions, and execution circuitry, responsive to the decoded compress instruction, to: generate a compressed result according to a compress algorithm by compressing the specified decompressed source matrix by either packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in a header, or using fewer bits to represent one or more elements and using the header to identify matrix elements being represented by fewer bits; and store the compressed result to the specified compressed destination matrix.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A processor comprising:
- Claim 1, element e1fetch circuitry to fetch a compress instruction having a format with fields to specify an opcode and locations of decompressed source and compressed destination matrices; 27–196
- Claim 1, element e2decode circuitry to decode the fetched compress instructions; and 198–258
- Claim 1, element e3execution circuitry, responsive to the decoded compress instruction, to: 264–335
- Claim 1, element e4generate a compressed result according to a compress algorithm by compressing the specified decompressed source matrix by either packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in a header, or using fewer bits to represent one or more elements and using the header to identify matrix elements being represented by fewer bits; and 337–719
- Claim 1, element e5store the compressed result to the specified compressed destination matrix.725–799
6 dependent claims: 2 to 7 (2, 3, 4, 5, 6, 7 on claim 1)
Claim 2
Depends on claim 1.
2. The processor of claim 1 , wherein
- Claim 2, element e1the execution circuitry is further to perform an arithmetic or logical operation on elements of the compressed result before storing the compressed result to the specified compressed destination matrix.38–239
Claim 3
Depends on claim 1.
3. The processor of claim 1 , wherein
- Claim 3, element e1the specified decompressed source and compressed destination matrices are each located in any of a collection of floating-point registers, a collection of vector registers, a collection of tile registers, and memory.38–253
Claim 4
Depends on claim 1.
4. The processor of claim 1 , wherein:
- Claim 4, element e1the fetch circuitry is further to fetch a decompress instruction specifying locations of compressed source and decompressed destination matrices, 39–183
- Claim 4, element e2wherein the compressed result is specified as the compressed source matrix, the compressed result having been generated by packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in the header; 185–427
- Claim 4, element e3the decode circuitry is further to decode the fetched decompress instruction; and 429–505
- Claim 4, element e4the execution circuitry is further to respond to the decoded decompress instruction by writing each of the non-zero-valued elements of the specified compressed source matrix to its associated position within the specified decompressed destination matrix, the associated position being determined by the header.511–820
Claim 5
Depends on claim 1.
5. The processor of claim 1 , wherein
- Claim 5, element e1when the compressed result is generated by packing non-zero-valued elements together, the header comprises a multi-bit value having a bit for each element position of the specified decompressed source matrix, the bit to identify non-zero-valued elements of the decompressed source matrix.38–325
Claim 6
Depends on claim 1.
6. The processor of claim 1 , wherein
- Claim 6, element e1when the compressed result is generated by using fewer bits to represent one or more elements, the header comprises a multi-bit value having a bit for each element position of the specified decompressed source matrix, the bit to identify elements of the compressed result being represented by fewer bits.38–341
Claim 7
Depends on claim 1.
7. The processor of claim 1 , wherein
- Claim 7, element e1when the execution circuitry is to generate the compressed result by using fewer bits to represent one or more elements, the one or more elements are replaced with a pointer to a dictionary of values, the pointer using fewer bits than the specified uncompressed source matrix element.38–321
Claim 8
Independent claim.
8. A processor comprising:
- Claim 8, element e1fetch circuitry to fetch a decompress instruction whose format has fields to specify an opcode and locations of compressed source and decompressed destination matrices; 27–194
- Claim 8, element e2decode circuitry to decode the fetched decompress instructions; and 196–258
- Claim 8, element e3execution circuitry, responsive to the decoded decompress instruction, to: 264–337
- Claim 8, element e4generate a decompressed result according to a decompress algorithm by, when the specified compressed source matrix comprises packed non-zero-valued elements, copying each element of the specified source matrix to its associated position within the specified decompressed destination matrix, the associated position being identified by a multi-bit header having one bit per element of the specified decompressed destination matrix, with bits corresponding to non-zero-valued elements being set; and 339–831
- Claim 8, element e5store the decompressed result to the specified decompressed destination matrix.837–915
4 dependent claims: 9 to 12 (9, 10, 11, 12 on claim 8)
Claim 9
Depends on claim 8.
9. The processor of claim 8 , wherein
- Claim 9, element e1the execution circuitry is further to perform an arithmetic or logical operation on elements of the decompressed result before storing the decompressed result to the specified decompressed destination matrix.38–245
Claim 10
Depends on claim 8.
10. The processor of claim 8 , wherein
- Claim 10, element e1the specified compressed source and decompressed destination matrices are each located in any of a collection of floating-point registers, a collection of vector registers, a collection of tile registers, and memory.39–254
Claim 11
Depends on claim 8.
11. The processor of claim 8 , wherein:
- Claim 11, element e1the fetch circuitry is further to fetch a compress instruction specifying locations of decompressed source and compressed destination matrices; 40–182
- Claim 11, element e2wherein the generated decompressed result is specified as the decompressed source matrix; 184–272
- Claim 11, element e3the decode circuitry is further to decode the fetched compress instruction; and 274–348
- Claim 11, element e4the execution circuitry is further to respond to the decoded compress instruction according to a compress algorithm by compressing the specified compressed source matrix by either packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in a header, or using fewer bits to represent one or more elements and using the header to identify matrix elements being represented by fewer bits.354–787
Claim 12
Depends on claim 8.
12. The processor of claim 8 , wherein
- Claim 12, element e1when the execution circuitry is to generate the compressed result by using fewer bits to represent one or more elements, the one or more elements are replaced with a pointer to a dictionary of values, the pointer using fewer bits than the specified uncompressed source matrix element.39–322
Claim 13
Independent claim.
13. A method to be performed by a processor, the processor to: fetch, using fetch circuitry, a compress instruction having
- Claim 13, element e1a format with fields to specify an opcode and locations of decompressed source and compressed destination matrices; 123–237
- Claim 13, element e2decode, using decode circuitry, the fetched compress instructions; and 239–304
- Claim 13, element e3respond, using execution circuitry, to the decoded compress instruction, by: 310–385
- Claim 13, element e4generating a compressed result according to a compress algorithm by compressing the specified decompressed source matrix by either packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in a header, or using fewer bits to represent one or more elements and using the header to identify matrix elements being represented by fewer bits; and 387–771
- Claim 13, element e5storing the compressed result to the specified compressed destination matrix.777–853
4 dependent claims: 14 to 17 (14, 15, 16, 17 on claim 13)
Claim 14
Depends on claim 13.
14. The method of claim 13 , wherein
- Claim 14, element e1the execution circuitry is further to perform an arithmetic or logical operation on elements of the compressed result before storing the compressed result to the specified compressed destination matrix.37–238
Claim 15
Depends on claim 13.
15. The method of claim 13 , wherein
- Claim 15, element e1the specified decompressed source and compressed destination matrices are each located in any of a collection of floating-point registers, a collection of vector registers, a collection of tile registers, and memory.37–252
Claim 16
Depends on claim 13.
16. The method of claim 13 , wherein:
- Claim 16, element e1the fetch circuitry is further to fetch a decompress instruction specifying locations of compressed source and decompressed destination matrices, 38–182
- Claim 16, element e2wherein the compressed result is specified as the compressed source matrix, the compressed result having been generated by packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in the header; 184–426
- Claim 16, element e3the decode circuitry is further to decode the fetched decompress instruction; and 428–504
- Claim 16, element e4the execution circuitry is further to respond to the decoded decompress instruction by writing each of the non-zero-valued elements of the specified compressed source matrix to its associated position within the specified decompressed destination matrix, the associated position being determined by the header.510–819
Claim 17
Depends on claim 13.
17. The method of claim 13 , wherein
- Claim 17, element e1when the compressed result is generated by packing non-zero-valued elements together, the header comprises a multi-bit value having a bit for each element position of the specified decompressed source matrix, the bit to identify non-zero-valued elements of the decompressed source matrix.37–324
Claim 18
Independent claim.
18. A non-transitory computer-readable medium containing instructions, when executed by a processor, cause the processor to: fetch, using fetch circuitry, a decompress instruction whose format has fields to specify an opcode and locations of compressed source and decompressed destination matrices; decode, using decode circuitry, the fetched decompress instructions; and respond, using execution circuitry, to the decoded decompress instruction, to: generate a decompressed result according to a decompress algorithm by, when the specified compressed source matrix comprises
- Claim 18, element e1packed non-zero-valued elements, copying each element of the specified source matrix to its associated position within the specified decompressed destination matrix, the associated position being identified by a multi-bit header having one bit per element of the specified decompressed destination matrix, with bits corresponding to non-zero-valued elements being set; and 576–943
- Claim 18, element e2store the decompressed result to the specified decompressed destination matrix.949–1027
2 dependent claims: 19 and 20 (19, 20 on claim 18)
Claim 19
Depends on claim 18.
19. The non-transitory computer-readable medium of claim 18 , wherein
- Claim 19, element e1the execution circuitry is further to perform an arithmetic or logical operation on elements of the decompressed result before storing the decompressed result to the specified decompressed destination matrix.70–277
Claim 20
Depends on claim 18.
20. The non-transitory computer-readable medium of claim 18 , wherein:
- Claim 20, element e1the fetch circuitry is further to fetch a compress instruction specifying locations of decompressed source and compressed destination matrices; 71–213
- Claim 20, element e2wherein the generated decompressed result is specified as the decompressed source matrix; 215–303
- Claim 20, element e3the decode circuitry is further to decode the fetched compress instruction; and 305–379
- Claim 20, element e4the execution circuitry is further to respond to the decoded compress instruction according to a compress algorithm by compressing the specified compressed source matrix by either packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in a header, or using fewer bits to represent one or more elements and using the header to identify matrix elements being represented by fewer bits.385–818
1. A processor comprising: fetch circuitry to fetch a compress instruction having a format with fields to specify an opcode and locations of decompressed source and compressed destination matrices; decode circuitry to decode the fetched compress instructions; and execution circuitry, responsive to the decoded compress instruction, to: generate a compressed result according to a compress algorithm by compressing the specified decompressed source matrix by either packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in a header, or using fewer bits to represent one or more elements and using the header to identify matrix elements being represented by fewer bits; and store the compressed result to the specified compressed destination matrix.
2. The processor of claim 1 , wherein the execution circuitry is further to perform an arithmetic or logical operation on elements of the compressed result before storing the compressed result to the specified compressed destination matrix.
3. The processor of claim 1 , wherein the specified decompressed source and compressed destination matrices are each located in any of a collection of floating-point registers, a collection of vector registers, a collection of tile registers, and memory.
4. The processor of claim 1 , wherein: the fetch circuitry is further to fetch a decompress instruction specifying locations of compressed source and decompressed destination matrices, wherein the compressed result is specified as the compressed source matrix, the compressed result having been generated by packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in the header; the decode circuitry is further to decode the fetched decompress instruction; and the execution circuitry is further to respond to the decoded decompress instruction by writing each of the non-zero-valued elements of the specified compressed source matrix to its associated position within the specified decompressed destination matrix, the associated position being determined by the header.
5. The processor of claim 1 , wherein when the compressed result is generated by packing non-zero-valued elements together, the header comprises a multi-bit value having a bit for each element position of the specified decompressed source matrix, the bit to identify non-zero-valued elements of the decompressed source matrix.
6. The processor of claim 1 , wherein when the compressed result is generated by using fewer bits to represent one or more elements, the header comprises a multi-bit value having a bit for each element position of the specified decompressed source matrix, the bit to identify elements of the compressed result being represented by fewer bits.
7. The processor of claim 1 , wherein when the execution circuitry is to generate the compressed result by using fewer bits to represent one or more elements, the one or more elements are replaced with a pointer to a dictionary of values, the pointer using fewer bits than the specified uncompressed source matrix element.
8. A processor comprising: fetch circuitry to fetch a decompress instruction whose format has fields to specify an opcode and locations of compressed source and decompressed destination matrices; decode circuitry to decode the fetched decompress instructions; and execution circuitry, responsive to the decoded decompress instruction, to: generate a decompressed result according to a decompress algorithm by, when the specified compressed source matrix comprises packed non-zero-valued elements, copying each element of the specified source matrix to its associated position within the specified decompressed destination matrix, the associated position being identified by a multi-bit header having one bit per element of the specified decompressed destination matrix, with bits corresponding to non-zero-valued elements being set; and store the decompressed result to the specified decompressed destination matrix.
9. The processor of claim 8 , wherein the execution circuitry is further to perform an arithmetic or logical operation on elements of the decompressed result before storing the decompressed result to the specified decompressed destination matrix.
10. The processor of claim 8 , wherein the specified compressed source and decompressed destination matrices are each located in any of a collection of floating-point registers, a collection of vector registers, a collection of tile registers, and memory.
11. The processor of claim 8 , wherein: the fetch circuitry is further to fetch a compress instruction specifying locations of decompressed source and compressed destination matrices; wherein the generated decompressed result is specified as the decompressed source matrix; the decode circuitry is further to decode the fetched compress instruction; and the execution circuitry is further to respond to the decoded compress instruction according to a compress algorithm by compressing the specified compressed source matrix by either packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in a header, or using fewer bits to represent one or more elements and using the header to identify matrix elements being represented by fewer bits.
12. The processor of claim 8 , wherein when the execution circuitry is to generate the compressed result by using fewer bits to represent one or more elements, the one or more elements are replaced with a pointer to a dictionary of values, the pointer using fewer bits than the specified uncompressed source matrix element.
13. A method to be performed by a processor, the processor to: fetch, using fetch circuitry, a compress instruction having a format with fields to specify an opcode and locations of decompressed source and compressed destination matrices; decode, using decode circuitry, the fetched compress instructions; and respond, using execution circuitry, to the decoded compress instruction, by: generating a compressed result according to a compress algorithm by compressing the specified decompressed source matrix by either packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in a header, or using fewer bits to represent one or more elements and using the header to identify matrix elements being represented by fewer bits; and storing the compressed result to the specified compressed destination matrix.
14. The method of claim 13 , wherein the execution circuitry is further to perform an arithmetic or logical operation on elements of the compressed result before storing the compressed result to the specified compressed destination matrix.
15. The method of claim 13 , wherein the specified decompressed source and compressed destination matrices are each located in any of a collection of floating-point registers, a collection of vector registers, a collection of tile registers, and memory.
16. The method of claim 13 , wherein: the fetch circuitry is further to fetch a decompress instruction specifying locations of compressed source and decompressed destination matrices, wherein the compressed result is specified as the compressed source matrix, the compressed result having been generated by packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in the header; the decode circuitry is further to decode the fetched decompress instruction; and the execution circuitry is further to respond to the decoded decompress instruction by writing each of the non-zero-valued elements of the specified compressed source matrix to its associated position within the specified decompressed destination matrix, the associated position being determined by the header.
17. The method of claim 13 , wherein when the compressed result is generated by packing non-zero-valued elements together, the header comprises a multi-bit value having a bit for each element position of the specified decompressed source matrix, the bit to identify non-zero-valued elements of the decompressed source matrix.
18. A non-transitory computer-readable medium containing instructions, when executed by a processor, cause the processor to: fetch, using fetch circuitry, a decompress instruction whose format has fields to specify an opcode and locations of compressed source and decompressed destination matrices; decode, using decode circuitry, the fetched decompress instructions; and respond, using execution circuitry, to the decoded decompress instruction, to: generate a decompressed result according to a decompress algorithm by, when the specified compressed source matrix comprises packed non-zero-valued elements, copying each element of the specified source matrix to its associated position within the specified decompressed destination matrix, the associated position being identified by a multi-bit header having one bit per element of the specified decompressed destination matrix, with bits corresponding to non-zero-valued elements being set; and store the decompressed result to the specified decompressed destination matrix.
19. The non-transitory computer-readable medium of claim 18 , wherein the execution circuitry is further to perform an arithmetic or logical operation on elements of the decompressed result before storing the decompressed result to the specified decompressed destination matrix.
20. The non-transitory computer-readable medium of claim 18 , wherein: the fetch circuitry is further to fetch a compress instruction specifying locations of decompressed source and compressed destination matrices; wherein the generated decompressed result is specified as the decompressed source matrix; the decode circuitry is further to decode the fetched compress instruction; and the execution circuitry is further to respond to the decoded compress instruction according to a compress algorithm by compressing the specified compressed source matrix by either packing non-zero-valued elements together and storing the matrix position of each non-zero-valued element in a header, or using fewer bits to represent one or more elements and using the header to identify matrix elements being represented by fewer bits.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 10719323 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2039-01-02 (20 years from filing, plus 97 days of patent term adjustment), a date not yet passed (data version 20261117.2).
- Basis
- term_20y · pta_days:97 (20 years from filing, plus 97 days of patent term adjustment)
- Term end
- 2039-01-02 Computed from the dates in the USPTO record
- Fee lapse
- none on record
- Reinstatement
- none on record; reinstatement_possible: false, not lapsed
- As of
- 2026-11-17
- Data version
- 20261117.2
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 5 US patent documents · Cited by: 47 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10719323/ (needs a free key, as the links under Get this as data)
Family outside the US
Publications outside the US that Google Patents Public Datasets lists in the same patent family as US 10719323 (read 2026-10-15). Their legal status is not shown here.
| Office | Number | Kind | Published |
|---|---|---|---|
| CN | 110955453 | A | 2020-04-03 |
| CN | 120407019 | A | 2025-08-01 |
| EP | 3629153 | A2 | 2020-04-01 |
| EP | 3629153 | A3 | 2020-04-29 |
| EP | 3629153 | B1 | 2021-07-21 |
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "10719323",
"status": "active",
"basis": [
"term_20y",
"pta_days:97"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2039-01-02",
"lapse_date": null,
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/10719323?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/10719323?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/10719323/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=10719323",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/10719323/ - Status record
/api/v1/lapse/status/10719323/ - Claim tree
/api/v1/structure/claims/10719323/ - Brief
/api/v1/structure/brief/10719323/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.