The application discloses a kind of based on the
instruction scheduling optimization method of Bisheng
compiler of Peng platform, storage medium, equipment and
computer program product, comprising: obtaining the source program to be scheduled by Bisheng
compiler on Peng platform, whether source program is legal using context-independent grammar judgment;The
power consumption required for scheduling illegal source program is calculated and sorted, and the sub-functions in the illegal source program are rearranged by
dependency graph construction
algorithm in turn to the illegal source program sorted from small to large;Illegal source program in sub-function is modified by log
analysis method in turn to the illegal source program sorted from large to small;Illegal source program is handled using the above two methods from two ends to middle, and then whether the source program is legal after
processing is judged;If still illegal, exchange two kinds of methods to
handle illegal source program, judge whether the source program is legal again, if legal, carry out
instruction scheduling by Bisheng
compiler;Otherwise, mark the illegal source program, and alarm.