Access method of bit zone in control register

A technology for controlling registers and access methods, applied in the direction of machine execution devices, etc., can solve the problems of frequent, tedious, and complicated manual description of flag bits, and achieve the effect of easy modification and maintenance, strong expression ability, and high description quality.

Active Publication Date: 2013-08-21
TSINGHUA UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] However, no work has been done to introduce object-oriented mechanisms into ADL for flag bits in access control registers
Flag bits in control registers affect frequent and routine patterns, manual description is complex and tedious, and prone to problems such as redundancy and information inconsistency

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
  • Access method of bit zone in control register
  • Access method of bit zone in control register
  • Access method of bit zone in control register

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The instructions of the target computer of the present invention can have a syntax form, which can be understood as: writing some instructions with very similar behaviors but only some routine behaviors as the same instruction, and adding a specific suffix Represents different routine behaviors; suppose the target machine instruction set has four instruction formats: "*", "*.", "*o", and "*o.", and the semantics of each instruction format are the same: "*" format has no effect, The "*." format affects the comparison flags LT, GT, EQ and SO in the CR0 control register, the "*o" format affects the overflow flags SO and OV in the fixed-point exception register (XER), and the "*o." format affects All of the above;

[0060] In order to describe instructions with four instruction formats, it is traditionally necessary to define four for each instruction, which is not only redundant and tedious. The present invention discloses an access method that affects the flag bits in the co...

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 an access method of a comparative bit zone in a control register, belonging to the technical field of architecture description language (ADL). The invention is characterized in that an ADL description file and an ADL analysis program are arranged on an object machine; the ADL description file conducts order format description and order description in sequence; an order format analysis module, an order analysis module and an order processing module describe architecture information to a class, attribute and an object; order formats respectively represent orders which have extremely similar behaviors and only have different routine behaviors, attributes of the order formats of the formatted orders and information of the orders, postfixes added to the order formats onthe basic represent different inherence mechanisms of different order formats. The invention has high conciseness and expressiveness, has redundancy less than that of other ADL description files, andgenerates higher quality description and less program error.

Description

Technical field [0001] The present invention belongs to the field of computer architecture, and particularly relates to an architecture description language ADL. Background technique [0002] As embedded processors become more and more complex and introduce a variety of new features, compilers continue to develop new optimization techniques to describe the processor and architecture information in detail for the compiler more and more complex, embedded processors and compilers The gap between devices is also growing. High-quality architecture description language with strong expressive ability, concise and extensible has become an urgently needed tool. [0003] Many compilers are difficult to redirect, they require a lot of coding and error debugging work and in-depth understanding of the compiler. On the other hand, many architecture description languages ​​(ADL) are designed for simulators, and it is difficult to extract semantic information for compiler redirection. Although ...

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 Patents(China)
IPC IPC(8): G06F9/30
Inventor 董渊王生原曹震
Owner TSINGHUA 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