FIELD: information technology.
SUBSTANCE: invention discloses a method of constructing a program for running in a computer system comprising a central processing unit, memory and an instruction cache, comprising steps on which the initial program code is constructed using the central processing unit, a report on frequency of use of each program line is formed and that report is stored in memory, the most frequently run cycles in the initial program code are determined from the said report, the initial program code is modified, whereby marks are made not by a generating compiler, but by transfer from the initial code in the programming language to the initial code in assembler, frequently run cycles, the modified program code is stored in memory, the modified program code is compiled into the initial program code in assembler for the intended device, procedure addresses are levelled according to the size of the cache line, marked cycles in the initial program code in assembler are determined and classified into several predefined types, addresses for the onset of marked cycles are levelled if that is needed for the cycle of the given type by adding assembler instructions and storing the initial code in assembler in memory, a modified assembler code for the intended device is constructed by compiling and assembling.
EFFECT: faster execution of constructed program.
7 cl, 6 dwg
Title | Year | Author | Number |
---|---|---|---|
METHOD FOR AUTOMATIC CREATION OF A PARALLEL PROGRAM WITH TEMPORAL PARAMETERIZATION OF MULTIPROCESSOR COMPUTING SYSTEMS WITH THE SAME MEMORY ACCESS | 2022 |
|
RU2786347C1 |
METHOD FOR DISTRIBUTING DATA OVER MEMORY LEVELS OF A COMPUTING SYSTEM WITH MULTI-LEVEL SHARED MEMORY | 2022 |
|
RU2802777C1 |
METHOD FOR TIME SYNCHRONIZATION OF OPERATION OF MASSIVELY PARALLEL COMPUTING SYSTEM WITH DISTRIBUTED MEMORY | 2022 |
|
RU2815189C1 |
METHOD FOR PARALLEL PROGRAMMING | 2021 |
|
RU2771739C1 |
METHOD OF DISTRIBUTING DATA ON MULTIFUNCTIONAL PROCESSOR UNITS WITH VERY LONG COMMAND LINE | 2024 |
|
RU2818498C1 |
SCHEME FOR VARIABLE PACKING AND BINDING IN GRAPHICS SYSTEMS | 2008 |
|
RU2448369C2 |
METHODS AND DEVICE FOR ENSURING CORRECT PRE-DECODING | 2006 |
|
RU2405188C2 |
DEBUGGING NATIVE CODE BY TRANSITIONING FROM EXECUTION IN NATIVE MODE TO EXECUTION IN INTERPRETED MODE | 2014 |
|
RU2668973C2 |
MULTIPROCESSOR ARCHITECTURE OPTIMISED FOR TRAFFIC | 2008 |
|
RU2450339C2 |
CACHING RUNTIME GENERATED CODE | 2009 |
|
RU2520344C2 |
Authors
Dates
2010-12-10—Published
2008-10-28—Filed