Multimedia-instruction acceleration device for increasing efficiency and method for the same
AssigneeVIA Technologies, Inc.
InventorKo-Fang Wang
Life of this patent
Estimating the term…
Abstract
The present invention proposes a multimedia-instruction acceleration device for increasing efficiency and a method for the same, which uses instruction strings having a floating-point value check field to execute commands of single-instruction/multi-data format, and further transforms the floating-point value to a fixed one. The present invention can effectively save executing time and simplify numerical calculation process, and can fully exploit memory space to achieve the object of increasing acceleration operation and execution of multimedia instructions.
Claims20
A multimedia-instruction acceleration device for increasing efficiency comprising:
- a memory;
- an instruction-string generating device connected to said memory, said instruction-string generating device being used to access data and instructions in said memory and to encode said instructions;
- an instruction transfer interface connected to said instruction-string generating device and used to provide connection of each instruction transfer;
- an instruction decoding unit connected to an output of said instruction transfer interface and used to decode said encoded instructions, said instruction decoding unit including a decoder for providing a decoded instruction output of reading-control commands, an instruction array for collecting instruction data responsive to writing-control commands, and an AGP decoder coupled to an output of said instruction array for decoding instruction data therefrom;
- and
- an instruction executing unit connected to an output of said instruction decoding unit and used to execute the instruction output from said instruction decoding unit.
A multimedia-instruction acceleration device for increasing efficiency comprising:
- a memory;
- an instruction-string generating device connected to said memory, said instruction-string generating device being used to access data and instructions in said memory and to encode said instructions, a format of an instruction string generated and encoded by said instruction-string generating device is one of 32-bits or 64-bits long, at least a portion of a floating-point range-check field being contained therein, where the format of the instruction string is 32-bits long, Bit 23 to Bit 30 thereof corresponds to said floating-point range-check field, where the format is 64 bits long, Bit 52 to Bit 62 thereof corresponds to said floating-point range-check field;
- an instruction transfer interface connected to said instruction-string generating device and used to provide connection of each instruction transfer;
- an instruction decoding unit connected to an output of said instruction transfer interface and used to decode said encoded instructions;
- and
- an instruction executing unit connected to an output of said instruction decoding unit and used to execute the instruction output from said instruction decoding unit.
A multimedia-instruction acceleration device for increasing efficiency comprising:
- a memory;
- an instruction-string generating device connected to said memory, said instruction-string generating device being used to acces data and instructions in said memory and to encode said instructions, a format of an instruction string generated and encoded by said instruction-string generating device is one of 32-bits or 64-bits long and contains a control instruction mode field, at least a portion of a floating-point range-check field being contained therein, said control instruction mode field in the format of said instruction string corresponds to Bit 31 and Bit 28 to Bit 25 thereof;
- an instruction transfer interface connected to said instruction-string generating device and used to provide connection of each instruction transfer;
- an instruction decoding unit connected to an output of said instruction transfer interface and used to decode said encoded instructions;
- and
- an instruction executing unit connected to an output of said instruction decoding unit and used to execute the instruction output from said instruction decoding unit.
A decoding method for said instruction decoding unit of the multimedia-instruction acceleration device including a memory, an instruction-string generating device connected to said memory to access data and instructions in said memory and to encode said instructions, an instruction transfer interface connected to said instruction-string generating device and used to provide connection of each instruction transfer, an instruction decoding unit connected to an output of said instruction transfer interface and used to decode said encoded instructions, and an instruction executing unit connected to an output of said instruction decoding unit and used to execute the instruction output from said instruction decoding unit, comprising at least the steps of:
- (a). retrieving a 32-bit data;
- (b). judging whether said data contains a floating-point range-check field;
- if no, repeating said Step (a) until said data contains said floating-point range-check field;
- (c). judging whether said instruction contains other data;
- if no, executing said instruction and then repeating said Step (a);
- (d). retrieving another 32-bit data if said instruction contains other data, and then judging whether the floating-point value of said instruction is within the reasonable range;
- (e). judging whether said instruction contains said floating-point range-check field if the floating-point value of said instruction is not within the reasonable range;
- (f). using said data in said instruction if said instruction contains said floating-point range-check field and the judgement in said Step (d) is negative;
- (g). judging whether said data is the last data, jumping to said step (d) if said data is not the last data;
- (h). judging whether said data is finished if said data is the last data, jumping to said Step (a) to execute the next instruction if said data is finished;
- (i). retrieving another 32-bit data if said instruction is judged not to be the last data in said Step (h), and judging whether said instruction contains said floating-point range-check field;
- (j). jumping to said Step (d) if said instruction does not contain said floating-point range-check field;
- (k). judging whether said instruction contains other data if said instruction contains said floating-point range-check field, jumping to said Step (h) if said instruction does not contain other data;
- and
- (l). jumping to said Step (d) if said instruction contains other data.
A multimedia-instruction acceleration method for increasing efficiency characterized in that the format of data instruction uses instruction strings having a floating-point range-check field to execute commands of single-instruction/multi-data format, a mode instruction is insertable among multi-data pertaining to said single instruction so that other programs can be executed during the processing of an acceleration calculation program, said inserted mode instruction being a null instruction, said null instruction being one of an instruction writing data to a null address or an instruction of mode 3 or mode 4 whose counter value is set to be zero.
Dependencies are inferred from the claim text.