Apparatus and method for checking floating point stack overflow on non-CISC processor

An overflow check and stack overflow technology, applied in the direction of electrical digital data processing, digital data processing components, instruments, etc., can solve problems such as difficult to find errors, inconvenient data status, loss, etc., to improve efficiency, enhance compatibility, reduce workload effect

Active Publication Date: 2008-04-09
LOONGSON TECH CORP
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] If the floating-point stack overflow exception is not found during the running of multiple virtual machine programs, the program may perform wrong operations and continue along the wrong path, and the error is more difficult to find until it causes a relatively large loss
Therefore, when the virtual machine simulates X86, it is often necessary to maintain an overflow check mechanism to monitor the status of the floating-point stack in real time, but this check mechanism has a certain performance impact on the virtual machine, and it is not convenient for the program to check the data status in the stack. understanding of

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
  • Apparatus and method for checking floating point stack overflow on non-CISC processor
  • Apparatus and method for checking floating point stack overflow on non-CISC processor
  • Apparatus and method for checking floating point stack overflow on non-CISC processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, a device and method for checking floating-point stack overflow on a non-complex instruction set computer processor of the present invention will be further detailed below in conjunction with the accompanying drawings and embodiments illustrate. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0036] In the embodiment of the present invention, to provide a device and method for checking floating-point stack overflow on a non-complex instruction set computer processor, it is applied in a collaborative design virtual machine, and supports a CISC architecture on a RISC processor, such as The special floating-point stack in X86 and the method and system for preventing overflow of the floating-point stack are taken as examples for illustration, but it should be understood tha...

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 discloses a device and a method conducting floating-point stack overflow check on a non-complex instruction set computer processor. The device comprises a floating-point register stack, which comprises a plurality of stack registers, which can conduct floating-point calculation; an overflow check register used for stack overflow exceptional check when conducting floating-point access, which comprises a plurality of bits corresponding to the stack registers, and all the bits separately indicate the states of corresponding stack registers; a stack overflow judge module, which is used for checking the stack registers in the specified floating-point register stack, conducting operation to the overflow check register in accordance with the values of the stack registers, and carry out the floating-point stack overflow check. The invention can greatly reduce the workload and improve efficiency of a virtual machine.

Description

technical field [0001] The invention relates to the technical field of microprocessors, in particular to a non-complex instruction set computer processor that supports a floating point stack in a complex instruction set computer (CISC), performs floating point stack overflow checks, and prevents the floating point stack from overflowing Apparatus and methods. Background technique [0002] The central processing unit (CPU), referred to as the microprocessor, is the core unit of the computer. The instruction set and design specification (architecture) adopted by the microprocessor are the primary characteristics of the computer, which determine the types of peripheral equipment and application software that the computer needs to adopt. [0003] The two architectures that are more popular in the world today are: the Reduced Instruction Set Computing (RISC) architecture represented by MIPS32 / 64 of MIPS Corporation and the Complex Instruction Set Computer (RISC) architecture rep...

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): G06F7/499
Inventor 苏孟豪刘哲源
Owner LOONGSON TECH CORP
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