Unlock instant, AI-driven research and patent intelligence for your innovation.

Instruction conversion apparatus and instruction conversion method providing power control information, program and circuit for implementing the instruction conversion, and microprocessor for executing the converted instruction

a technology of instruction conversion and instruction, which is applied in the direction of program control, sustainable buildings, instruments, etc., can solve the problems of natural expansion of hardware to a large scale, increase the total power consumption of a microprocessor, and increase the power consumption of the decoding operation. , to achieve the effect of saving power consumption, increasing cycle counts, and reducing processing speed

Inactive Publication Date: 2007-09-06
PANASONIC CORP
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

"The present invention aims to provide a thorough power control without increasing hardware size or causing too much development burden to users. This is accomplished by an instruction conversion apparatus that statically analyzes a program and provides the program with an instruction regarding power control based on the analysis. The instruction conversion apparatus can be easily implemented by detecting which hardware resources are put into operation or not by an instruction and storing the information in a hardware resource table. The power control instruction can be inserted by replacing an instruction that does not contain a power control instruction or by inserting an instruction regarding power control. The processing speed may be slowed down when many instructions are inserted, but this can be improved by adjusting the number of inserted power control instructions. The instruction conversion circuit can also analyze an object program prior to decoding and provide an instruction regarding power control, offering a low power consumption solution. The microprocessor can execute a power-optimized object program generated by the instruction conversion apparatus without incurring an operation error, even when special processing such as interruption, branching, exception occurs."

Problems solved by technology

This naturally expands the size of hardware to a large scale, if a thorough power control is to be performed.
Furthermore, if there are many kinds of decodable instructions, power consumption needed for the decoding operation increases.
This might result in an increased total power consumption of a microprocessor.
Still further, since a power control information can only be extracted at each unit of instruction codes, it is not possible to perform an advanced power control to a succeeding instruction.
Thus, the development burden of a user is substantial.
Furthermore, when number of the point of control increases, it turns out to be difficult to write thorough instructions.
So, it is difficult to share a program in common, or use a program also for other applications.
Furthermore, when a number of the power control instructions are written at a point of multiloop or frequent execution, speed of program execution goes down.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Instruction conversion apparatus and instruction conversion method providing power control information, program and circuit for implementing the instruction conversion, and microprocessor for executing the converted instruction
  • Instruction conversion apparatus and instruction conversion method providing power control information, program and circuit for implementing the instruction conversion, and microprocessor for executing the converted instruction
  • Instruction conversion apparatus and instruction conversion method providing power control information, program and circuit for implementing the instruction conversion, and microprocessor for executing the converted instruction

Examples

Experimental program
Comparison scheme
Effect test

embodiment 2

[0068] A second exemplary embodiment of the present invention is described referring to the drawings.

[0069]FIG. 9 shows an instruction conversion apparatus in accordance with the second exemplary embodiment. In FIG. 9, those constituent components identical to those of FIG. 1 are represented by using the same symbols. When an instruction is inserted for the purpose of power control, it increases the code size of a machine language program, which is eventually mounted in a microprocessor. It also increases the instruction execution cycle to impair the processing speed of microprocessor. In some cases, a user may put preference on the code size or the processing speed to the low power consumption. A second embodiment of the present invention addresses the above-described issue; namely, a user is provided with an option to select a level of power control at the time when assembling or compiling is made. A user attaches an option, “−P1” or “-P2”, at the assembling or compiling. The opt...

embodiment 3

[0074] A third exemplary embodiment of the present invention is described referring to the drawings.

[0075]FIG. 10 shows an instruction conversion apparatus in accordance with the third exemplary embodiment. In FIG. 10, those constituent components identical to those of FIG. 1 are represented by using the same symbols. In the first embodiment, a power optimized instruction program 108 is generated by providing an instruction program described by a user with an instruction regarding the power control, by means of insertion or replacing. In the present embodiment, however, an instruction program 101 described by a user is first translated by an instruction translation unit 109 into an object program 1001, which being a row of machine language instruction for execution by a microprocessor. And then, a power optimized object program 110 is generated based on the object program 1001.

[0076] In this case, as shown in FIG. 11, an instruction code is provided with an instruction regarding t...

embodiment 4

[0082] A fourth exemplary embodiment of the present invention is described referring to the drawing.

[0083]FIG. 12 shows the structure of an instruction conversion circuit in accordance with the fourth exemplary embodiment of the present invention. In FIG. 12, an instruction code supply 1200 delivers a non-power optimized object program generated by a conventional method to an instruction storage unit 1205 in a microprocessor. Either a rewritable memory such as a flash memory, or a non-rewritable ROM may be used for the instruction storage unit 1205. The object program was conventionally delivered direct to the instruction storage unit 1205. In the present embodiment 4, however, it is delivered to the instruction storage unit 1205 after going through an instruction conversion circuit 1207 of the present invention and rewritten into a power optimized object program. The instruction conversion circuit 1207 comprises an instruction-wise hardware resource memory 1201, an instruction-wis...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An instruction conversion apparatus for optimizing an instruction program formed of a plurality of instructions to be suitable for execution by a microprocessor that has a plurality of hard ware resources. The apparatus includes a power control information analysis unit for detecting a power controllable hardware resource that does not operate for a certain specific instruction region in the instruction program while the microprocessor is at work, and a power control instruction providing unit for providing the instruction program with an instruction regarding the power control based on the result of the detection made by the power control information analysis unit.

Description

RELATED APPLICATIONS [0001] This application is a divisional of application Ser. No. 10 / 342,349, filed on Jan. 15, 2003, which claims priority of Japanese Application No. 2002-21479, filed Jan. 30, 2002, the contents of which are hereby incorporated by reference.BACKGROUND OF THE INVENTION [0002] (1) Field of the Invention [0003] The present invention relates to an instruction conversion apparatus and a method of converting an instruction which provide an object program with a power control information, a program and a circuit for implementing the instruction conversion, furthermore a microprocessor for executing the converted instruction; in microprocessors (including microcomputer, microcontroller and digital signal processor) which read an object program out of an instruction storage unit (instruction memory, instruction cache, etc.), decode it at a decoder to control the hardware resources (processing unit, input unit, output unit, memory unit, control unit, etc) in accordance w...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(United States)
IPC IPC(8): G06F1/00G06F9/45
CPCG06F1/3203G06F1/3287G06F8/4432Y02B60/181G06F9/30145Y02B60/1282G06F9/30083Y02D10/00
Inventor TANI, TAKENOBU
Owner PANASONIC CORP