Method and device suitable for CPU floating point operation theoretical value extraction
A floating-point operation, floating-point operation unit technology, applied in the direction of computing, electrical digital data processing, digital data processing components, etc., can solve the problems of complex technology, long calculation time, etc., to achieve strong operability, convenient theoretical value Extract, extract the quick effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] The floating-point operation unit is a processing unit dedicated to floating-point operations. There are dozens of floating-point instructions in the floating-point operation unit. What the embodiment of the present invention extracts is the theoretical value of the floating-point instructions in the floating-point operation unit.
[0037] An embodiment of the present invention provides a method suitable for extracting theoretical values of CPU floating-point operations, as shown in Figure 1, including the following steps:
[0038] Step S1. Obtain the instructions in the CPU floating-point unit, the instruction codes of all instructions are identified by opcode, and the opcode command line interface is provided.
[0039] Step S2. Extract the instruction code of the instruction, and determine the function for executing the instruction according to the instruction code.
[0040] Step S3. Execute the function according to the source operand file and the instruction code ...
Embodiment 2
[0055] The embodiment of the present invention provides a device suitable for extracting theoretical values of CPU floating-point operations, such as Figure 10 As shown, an instruction acquisition module 10 is included, configured to acquire instructions in the CPU floating-point unit; for details, refer to the relevant description of step S1 in the above method embodiment.
[0056] The function determination module 20 is used to extract the instruction code of the instruction, and determine the function for executing the specific instruction according to the instruction code; for details, please refer to the relevant description of step S2 in the above method embodiment.
[0057] The theoretical value extraction module 30 is used to execute the function according to the source operand file and the instruction code to obtain the theoretical value. For details, refer to the related description of step S3 in the above method embodiment.
[0058] The device suitable for extr...
Embodiment 3
[0063] This embodiment provides a computer device, such as Figure 14 As shown, the computer device mainly includes one or more processors 51 and memory 52, image 3 A processor 51 is taken as an example.
[0064] The computer device may also include: an input device 53 and an output device 54 .
[0065] Processor 51, memory 52, input device 53 and output device 54 can be connected by bus or other ways, Figure 14 Take connection via bus as an example.
[0066] The processor 51 may be a central processing unit (Central Processing Unit, CPU). Processor 51 can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or Other chips such as programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above-mentioned types of c...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com