Byte code buffer device for improving instruction fetch bandwidth of Java processor and using method thereof

A buffer device, bytecode technology, applied in the direction of architecture with a single central processing unit, machine execution device, general-purpose stored program computer, etc. Problems such as the complete length of instructions to achieve the effect of increasing instruction fetch bandwidth and reducing the number of memory accesses

Inactive Publication Date: 2010-04-28
JIANGNAN UNIV
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Computer instruction sets are generally divided into two categories: one is a fixed-length instruction set, that is, regardless of the instruction type, it maintains the same length, and its advantage is that it can judge and fetch a complete instruction while fetching instructions. , which is convenient for the pipeline execution of instructions. The disadvantage is that the instructions occupy the same length, which is not conducive to saving instruction storage space. Fixed-length instruction sets are mostly used in simple instruction set computer (RISC) systems; the other type is variable-length instructions. Set, that is, different instructions have different lengths. Its advantage is that it can reduce the instruction length as much as possible, which is conducive to saving instruction storage space. Its disadvantage is that it cannot determine the complete length of the instruction while fetching the instruction. After decoding the opcode part, the subsequent part can be determined and read, which is not conducive to the pipeline execution of instructions, so it is mostly used in complex instruction set computer (CISC) systems
The feature of this method is that when the register set is large, it can provide better instruction prefetch performance, but instruction transfer will cause its utilization rate to drop, so it is necessary to determine the appropriate register set size, so that it can better satisfy the decoding requirements. Instruction fetching requirements for components can reduce the amount of hardware equipment

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
  • Byte code buffer device for improving instruction fetch bandwidth of Java processor and using method thereof
  • Byte code buffer device for improving instruction fetch bandwidth of Java processor and using method thereof
  • Byte code buffer device for improving instruction fetch bandwidth of Java processor and using method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] like figure 1 As shown, the device of the present invention includes a bytecode register 2, a multiplexing module 3, a bytecode buffer 4 and a control module 1, and the bytecode register 2, the multiplexing module 3 and the bytecode buffer 4 are connected in sequence. The input end of the bytecode register 2 is connected with the instruction memory, and the output end of the bytecode buffer 4 is connected with the decoding segment of the Java processor; the input end of the control module 1 is connected with the decoding segment of the Java processor, and the control module 1 The output ends of the bytecode register 2, the multiplexer module 3 and the bytecode buffer 4 are respectively connected for logic control.

[0024] The byte code register 2 is 32 bits, and is used to store the byte code read from the instruction memory in units of 32 bits. The bytecode buffer 4 is 64 bits, and its upper 4 bytes are connected to the decoding segment of the Java processor to provi...

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

The invention relates to a byte code buffer device for improving the instruction fetch bandwidth of a Java processor and a using method thereof. In the invention, a byte code register, a multi-path selection module and a byte code buffer are sequentially connected; the input end of the byte code register is connected with an instruction memory, and the output end of the byte code buffer is connected with a decoding section of the Java processor; the input end of a control module is connected with the decoding section of the Java processor, and the output end of the control module is respectively connected with the byte code register, the multi-path selection module and the byte code buffer; and the byte code register has 32 bits, the byte code buffer has 64 bits, and high 4-bit bytes of the byte code buffer are connected with the decoding section of the Java processor. When the available space of the byte code buffer is not less than 4 bytes, the byte code buffer device of the invention reads 4 bytes from the register and transfers the 4 bytes to the correct position of the buffer through the multi-path selection module to enable the byte code to be executed to be always in high bytes completely, thereby reducing the access and storage times and improving the instruction fetch bandwidth.

Description

(1) Technical field [0001] The invention relates to a Java processor, in particular to a bytecode buffer device for improving the instruction fetch bandwidth of the Java processor and a method for using the same. (2) Background technology [0002] Computer instruction sets are generally divided into two categories: one is a fixed-length instruction set, that is, regardless of the instruction type, it maintains the same length, and its advantage is that it can judge and fetch a complete instruction while fetching instructions. , which is convenient for the pipeline execution of instructions. The disadvantage is that the instructions occupy the same length, which is not conducive to saving instruction storage space. Fixed-length instruction sets are mostly used in simple instruction set computer (RISC) systems; the other type is variable-length instructions. Set, that is, different instructions have different lengths. Its advantage is that it can reduce the instruction length ...

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(China)
IPC IPC(8): G06F9/30G06F15/78
Inventor 柴志雷张平梁久祯任小龙
Owner JIANGNAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products