MIPS (million instructions per second) platform data accessing method and device

A data access and data technology, applied in machine execution devices, concurrent instruction execution, etc., can solve problems such as program compilation efficiency and execution efficiency decline, memory utilization decline, system error data access, etc.

Active Publication Date: 2017-05-31
LOONGSON TECH CORP
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] However, in the prior art, because the data is forced to be aligned by inserting blank bytes in the memory, the memory utilization rate is severely reduced, and changing the offset address of the data may lead to wrong data access in the entire system, resulting in program compilation efficiency and execution efficiency is severely reduced

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
  • MIPS (million instructions per second) platform data accessing method and device
  • MIPS (million instructions per second) platform data accessing method and device
  • MIPS (million instructions per second) platform data accessing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 5

[0125] Embodiment five is another MIPS platform data access method of the present invention provided on the basis of embodiment one. The MIPS platform data access method provided by this embodiment may also include:

[0126] If the data to be accessed is aligned, the MIPS instruction corresponding to the storage attribute set is selected according to the storage attribute set, and the data to be accessed is loaded from the memory into the register or the data to be accessed is stored from the register to the memory.

[0127] Among them, MIPS instructions include: lbu instruction, lb instruction, lhu instruction, lh instruction, lwu instruction, lw instruction, ld instruction, lwc1 instruction, ldc1 instruction, sb instruction, sh instruction, sw instruction, sd instruction, swc1 instruction or sdc1 instruction .

[0128] In this embodiment, the specific meaning of each command is shown in Table 4.

[0129] Table 4

[0130] instruction meaning lbu single-by...

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 provides an MIPS (million instructions per second) platform data accessing method and device, wherein the MIPS platform data accessing method comprises: acquiring input parameters of memory access macroinstructions in a complier; acquiring a storage attribute set of data to be accessed according to the input parameters, wherein the storage attribute set includes data types and number of bytes; if the data to be accessed are incomplete, selecting an MIPS instruction corresponding to the storage attribute set according to the same, and loading the data to be accessed into a register, or storing the data to be accessed from the register to a memory. According to the MIPS platform data accessing method provided herein, when the data are incomplete, the corresponding MIPS instructions are selected through the storage attribute set of the data to access the data, system memory waste is avoided, and program compiling efficiency and executing efficiency are improved.

Description

technical field [0001] The invention relates to the field of computer data access, in particular to a data access method and device for a non-interlocked pipeline stage microprocessor (Million Instructions Per Second, MIPS for short) platform. Background technique [0002] Under the MIPS platform, there are corresponding access instructions for accessing data of different data types. For example, the lh instruction means to load a double-byte integer alignment data from the memory and sign-extend it to the entire register, and the lw instruction means to read from Loads a four-byte integer-aligned data in memory and sign-extends it into the entire register. Among them, aligned data means that the starting address of the data in the memory can be divisible by the number of bytes corresponding to the data type. Conversely, unaligned data means that the starting address of the data in the memory cannot be corresponding to the data type. divisible by the number of bytes. [00...

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/38
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