Runtime struct fields size reduction

US10678524B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10678524-B2
Application numberUS-201815922059-A
CountryUS
Kind codeB2
Filing dateMar 15, 2018
Priority dateMar 15, 2018
Publication dateJun 9, 2020
Grant dateJun 9, 2020

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.

An embodiment of a semiconductor package apparatus may include technology to identify a field of a data structure as a candidate for a size reduction, perform a runtime analysis on the field, and reduce the size of the field based on the runtime analysis. Other embodiments are disclosed and claimed.

First claim

Opening claim text (preview).

We claim: 1. An electronic processing system, comprising: a processor; memory communicatively coupled to the processor; and logic communicatively coupled to the processor to: identify a field of a data structure as a candidate for a size reduction, perform a runtime analysis on the field to determine a minimum value assigned to the field and a maximum value assigned to the field, determine whether the minimum value and the maximum value are fittable into a reduced size field, and based on the runtime analysis and in response to the minimum value and the maximum value being determined to be fittable into the reduced size field, reduce a size of the field to the reduced size field and clone or more functions to execute based on new offsets associated with the reduced size field. 2. The system of claim 1 , wherein the logic is further to: perform a runtime range analysis on one or more values assigned to the field. 3. The system of claim 2 , wherein the logic is further to: copy the field of the data structure to the reduced size field; and set a flag to indicate that the size of the field of the data structure was reduced. 4. The system of claim 1 , wherein the logic is further to: create a clone function with a reduced size data structure for a function with an identified candidate for the size reduction. 5. The system of claim 1 , wherein the field of the data structure comprises a struct field. 6. The system of claim 1 , wherein the logic is further to: in response to the minimum value and the maximum value being determined to not be fittable into the reduced size field, set a flag to a first value and clone one or more original functions to generate one or more cloned functions that are to include a call to the one or more original functions; and in response to the minimum value and the maximum value being determined to be fittable into the reduced size field, set the flag to a second value, wherein the second value is different from the first value. 7. A semiconductor package apparatus, comprising: one or more substrates; and logic coupled to the one or more substrates, wherein the logic is at least partly implemented in one or more of configurable logic or fixed-functionality logic hardware, the logic coupled to the one or more substrates to: identify a field of a data structure as a candidate for a size reduction, perform a runtime analysis on the field to determine a minimum value assigned to the field and a maximum value assigned to the field, determine whether the minimum value and the maximum value are fittable into a reduced size field, and based on the runtime analysis and in response to the minimum value and the maximum value being determined to be fittable into the reduced size field, reduce a size of the field to the reduced size field and clone or more functions to execute based on new offsets associated with the reduced size field. 8. The apparatus of claim 7 , wherein the logic is further to: perform a runtime range analysis on one or more values assigned to the field. 9. The apparatus of claim 8 , wherein the logic is further to: copy the field of the data structure to the reduced size field; and set a flag to indicate that the size of the field of the data structure was reduced. 10. The apparatus of claim 7 , wherein the logic is further to: create a clone function with a reduced size data structure for a function with an identified candidate for the size reduction. 11. The apparatus of claim 7 , wherein the field of the data structure comprises a struct field. 12. The apparatus of claim 7 , wherein the logic coupled to the one or more substrates includes transistor channel regions that are positioned within the one or more substrates. 13. The apparatus of claim 7 , wherein the logic is further to: in response to the minimum value and the maximum value being determined to not be fittable into the reduced size field, set a flag to a first value and clone one or more original functions to generate one or more cloned functions that are to include a call to the one or more original functions; and in response to the minimum value and the maximum value being determined to be fittable into the reduced size field, set the flag to a second value, wherein the second value is different from the first value. 14. A method of compiling, comprising: identifying a field of a data structure as a candidate for a size reduction; performing a runtime analysis on the field to determine a minimum value assigned to the field and a maximum value assigned to the field; determining whether the minimum value and the maximum value are fittable into a reduced size field; and based on the runtime analysis and in response to the minimum value and the maximum value being determined to be fittable into the reduced size field, reducing a size of the field to the reduced size field and cloning or more functions to execute based on new offsets associated with the reduced size field. 15. The method of claim 14 , further comprising: performing a runtime range analysis on one or more values assigned to the field. 16. The method of claim 15 , further comprising: copying the field of the data structure to the reduced size field; and setting a flag to indicate that the size of the field of the data structure was reduced. 17. The method of claim 14 , further comprising: creating a clone function with a reduced size data structure for a function with an identified candidate for the size reduction. 18. The method of claim 14 , wherein the field of the data structure comprises a struct field. 19. The method of claim 14 , further comprising: in response to the minimum value and the maximum value being determined to not be fittable into the reduced size field, setting a flag to a first value and cloning one or more original functions to generate one or more cloned functions that are to include a call to the one or more original functions; and in response to the minimum value and the maximum value being determined to be fittable into the reduced size field, setting the flag to a second value, wherein the second value is different from the first value. 20. At least one non-transitory computer readable medium, comprising a set of instructions, which when executed by a computing device, cause the computing device to: identify a field of a data structure as a candidate for a size reduction; perform a runtime analysis on the field to determine a minimum value assigned to the field and a maximum value assigned to the field; determine whether the minimum value and the maximum value are fittable into a reduced size field; and based on the runtime analysis and in response to the minimum value and the maximum value being determined to be fittable into the reduced size field, reduce a size of the field to the reduced size field and clone or more functions to execute based on new offsets associated with the reduced size field. 21. The at least one non-transitory computer readable medium of claim 20 , comprising a further set of instructions, which when executed by the computing device, cause the computing device to: perform a runtime range analysis on one or more values assigned to the field. 22. The at least one non-transitory computer readable medium of claim 21 , comprising a further set of instructions, which when executed by the computing device, cause the computing device to: copy the field of the data structure to the reduced size field; and

Assignees

Inventors

Classifications

  • Management thereof · CPC title

  • G06F8/4434Primary

    Reducing the memory space required by the program code · 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 US10678524B2 cover?
An embodiment of a semiconductor package apparatus may include technology to identify a field of a data structure as a candidate for a size reduction, perform a runtime analysis on the field, and reduce the size of the field based on the runtime analysis. Other embodiments are disclosed and claimed.
Who is the assignee on this patent?
Intel Corp
What technology area does this patent fall under?
Primary CPC classification G06F8/4434. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 09 2020 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 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).