×

Automatic generation of cache-optimized code

  • US 8,949,532 B1
  • Filed: 03/31/2014
  • Issued: 02/03/2015
  • Est. Priority Date: 09/28/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving information associated with an application,the receiving being performed by a computing device;

    receiving information associated with related sections of code of the application,the receiving the information associated with the related sections of the code of the application being performed by the computing device;

    aligning the related sections of the code of the application to one or more cache line boundaries,the aligning the related sections of the code of the application to the one or more cache line boundaries reducing thrashing with respect to a quantity of thrashing occurring absent aligning the related sections of the code of the application to the one or more cache line boundaries, andthe aligning the related sections of the code of the application to the one or more cache line boundaries being performed by the computing device;

    grouping, based on align the related sections of the code of the application to the one or more cache line boundaries, the related sections of the code of the application to create grouped sections of code,the grouping being performed by the computing device;

    distributing the grouped sections of code to a section of memory,the distributing being performed by the computing device;

    determining one or more particular sections of the grouped sections of code,the determining being performed by the computing device; and

    performing, based on a size of the section of the memory, an operation on the determined one or more particular sections of the grouped sections of code,the performing being performed by the computing device.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×