Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

106 results about "Addressing mode" patented technology

Addressing modes are an aspect of the instruction set architecture in most central processing unit (CPU) designs. The various addressing modes that are defined in a given instruction set architecture define how machine language instructions in that architecture identify the operand(s) of each instruction. An addressing mode specifies how to calculate the effective memory address of an operand by using information held in registers and/or constants contained within a machine instruction or elsewhere.

Prefetch instruction conversion optimization method based on memory access mode virtualization

The invention discloses a prefetch instruction conversion optimization method based on memory access mode virtualization, which comprises the following steps of: when an executable file is executed in a dynamic instruction conversion mode, acquiring an address memory access mode of a prefetch instruction of x86 architecture, and analyzing an operand and an offset calculation mode of the prefetch instruction; according to an address memory access mode, an operand and an offset calculation mode, an instruction or an instruction sequence of an ARM architecture capable of completing memory address calculation and a prefetching function is constructed, a prefetching instruction of an x86 architecture is replaced with a corresponding ARM instruction or instruction sequence to complete instruction dynamic conversion, and conversion of the prefetching instruction of a complex address mode under the x86 architecture is achieved. And the execution reliability of the executable file in the dynamic instruction conversion mode is improved.
Owner:北京麟卓信息科技有限公司

Automatic device address allocation method, address allocation circuit and communication device

The invention relates to the technical field of communication and automation control, and discloses an equipment address automatic allocation method, an address allocation circuit and communication equipment, the allocation method is applied to cascaded communication equipment, and the allocation method comprises the following steps: responding to an addressing trigger operation, reading an address input signal, and determining own equipment attribute according to the address input signal; determining an addressing mode and carrying out addressing according to own equipment attributes; after addressing is completed, a first addressing instruction carrying equipment addressing information is issued to the existing next-level communication equipment; the first addressing instruction is used for instructing the next-level communication equipment to perform addressing. According to the invention, the device address can be automatically addressed, and the correctness and reliability of address allocation are improved.
Owner:SUNWODA ENERGY TECHNOLOGY CO LTD

ALU, processor, chip, device and texel index calculation method

The invention discloses an ALU, a processor, a chip, equipment and a texel index calculation method, and belongs to the technical field of chips. The ALU comprises a first comparator, a first divider, a first summator and a texel adjusting unit. A first comparator to determine a first value, the first value being determined based on a smaller value of the integer portion of the input texture coordinate and the maximum offset; the first divider is used for calculating a ratio between the input offset and the first divisor to obtain a first ratio; the first summator is used for calculating the quotient of the first ratio and the sum of the first numerical value and the second numerical value to obtain a first calculation result; and the texel adjusting unit is used for determining a target texel index corresponding to the input texture coordinate according to at least one of the first calculation result and the addressing mode. According to the method, the first calculation result can be determined based on the smaller value in the two, and the value of the integer part of the input texture coordinate can be reduced within a certain limit, so that the bit width of the calculation unit is reduced.
Owner:MOORE THREADS TECHNOLOGY (SHANGHAI) CO LTD

Kernel indirect control flow transfer dynamic verification method based on eBPF

According to the kernel indirect control flow transfer dynamic verification method based on the eBPF, an eBPF attachment point of an indirect call instruction is positioned, a verification program is dynamically attached, a source address and a target address are captured to generate a compound key, and the legality of a control flow is verified in a pre-constructed BPF hash table; and meanwhile, three indirect addressing modes of a differential strategy adaptive register, an immediate operand and a memory are adopted. Based on an eBPF technology, an EV program can be dynamically loaded into a running kernel as required during running, and the characteristic of dynamic expansion of a modern kernel can be perfectly adapted; all the capabilities are constructed on a universal software mechanism of a Linux kernel and do not depend on any hardware extension; while powerful security defense is provided, extremely low overhead during operation is realized. Benefited from an innovative hybrid verification strategy and an efficient CFG storage scheme, control flow hijacking attacks in the real world can be effectively defended with extremely low performance loss.
Owner:CHANGSHU INSTITUTE OF TECHNOLOGY

Simulation verification model capable of flexibly configuring addressing mode based on I2C interface IP verification

ActiveCN119248586AMeet verification requirementsDetecting faulty computer hardwareMemory addressComputer architecture
The invention discloses a simulation verification model with a flexibly configurable addressing mode based on I2C interface IP verification in the technical field of IP design verification in a semiconductor integrated circuit, and the model comprises a data response sending / receiving module which is used for responding to a device address and a memory address; the data response sending / receiving module contains an I2C protocol transmission state machine which is used for state skipping of I2C write transmission and read transmission and controlling the sending or receiving state of the data response sending / receiving module; the I2C protocol generally transmits addressing bytes firstly, that is, addressing is carried out on devices mounted on a bus, two addressing modes specified by the I2C protocol are provided, the addressing modes are 7 bit and 10 bit, and data transmission can be started after the corresponding devices respond to addresses. The I2C interface simulation of a 7-bit addressing mode and a 10-bit addressing mode is supported, so that the system-level simulation of the I2C module is more convenient and faster, and wider verification requirements are met.
Owner:SUZHOU R&D CENT OF NO 214 RES INST OF CHINA NORTH IND GRP

Initialization method for LPDDR5, electronic equipment and medium

The invention relates to the technical field of storage and provides an initialization method for an LPDDR5, electronic equipment and a medium. In order to deal with the problem of abnormal command identification, improvement on an initialization process of a low-power fifth-generation double-rate memory is provided, before command bus training is carried out, optimization design is carried out on an operation step of initializing a configuration mode register to write a command, and a delay training module is used for carrying out delay training on the command bus. Frequency division is performed on the clock signal on the clock signal link, the command address mode and the chip selection mode are widened, the clock signal after frequency division is delayed, the first numerical value is used as an adjustable parameter, and the accuracy and the stability of mode register write commands are improved. The method is beneficial for ensuring that the time sequence diagram of the write command of the mode register meets the time sequence requirement of the particles of the memory, and is beneficial for ensuring that the particles of the memory can be correctly configured and initialized before command bus training is started.
Owner:XIN YAOHUI TECH CO LTD

Non-blocking vector instruction dispatch with micro-operations

A processor core is coupled to a memory hierarchy. The processor core is configured to execute vector instructions, scalar instructions, and micro-operations. A dispatch unit within the processor core receives a vector memory operation. The dispatch unit sends the vector memory operation to a first vector input queue of multiple vector input queues. The sending is based on the memory addressing mode. A micro-operation sequencer splits the vector memory operation into one or more memory micro-operations, which includes forwarding each micro-operation within the one or more micro-operations to a first memory queue within multiple memory queues. A memory operation is then issued to a load-store unit within the processor core. The issuing includes selecting, from the multiple memory queues, the memory operation. The vector memory operation comprises either a vector load operation or a vector store operation.
Owner:AKEANA INC

Quantum random access memory architecture, quantum computer operating system and quantum computer

ActiveCN118607650AReduce execution error rateprocessing speedQuantum computersOperational systemBinary tree
The invention discloses a quantum random access memory architecture, a quantum computer operating system and a quantum computer, the quantum random access memory architecture comprises a pre-constructed binary tree module, an address routing module, a data extraction module and an address switching module, the address routing module is used for determining a path corresponding to an address according to the address by using a preset addressing mode; the data extraction module is used for copying each bit of binary data of the address from a current target layer subtree node to a root node according to the path and reading the binary data; the address exchange module is used for performing exchange operation on one-bit binary data on the address bit and the data bit by using a preset quantum circuit; the address routing module, the data extraction module and the address exchange module are executed in a parallel mode, and a parallel mode quantum random access memory architecture is provided, so that a basis is provided for subsequently realizing a QRAM-based data parallel reading method, accelerating the data processing speed and reducing the execution error rate of the QRAM architecture.
Owner:ORIGIN QUANTUM COMPUTING TECH (HEFEI) CO LTD

Processor supporting self-relative addressing modes

A processor may implement self-relative memory addressing by providing load and store instructions that include self-relative addressing modes. A memory address may contain a self-relative pointer, where the memory address stores a memory offset that, when added to the memory address, defines another memory address. The self-relative addressing mode may also support invalid memory addresses using a reserved offset value, where a load instruction providing the self-relative addressing mode may return a NULL value or generate an exception when determining that the stored offset value is equal to the reserved offset value and where a store instruction providing the self-relative addressing mode may store the reserved offset value when determining that the pointer is an invalid or NULL memory address.
Owner:ORACLE INT CORP

User programmable method for mapping address of multi-channel instrument communication register

The invention discloses a user programmable method of a multi-channel instrument communication register mapping address, relates to the technical field of multi-channel data access, and solves the problem that in the prior art, a fixed communication register mapping address mode limits the flexibility and efficiency of data acquisition by a user. And the communication process is tedious and time-consuming in a multi-loop instrument. The invention provides a user programmable method of a multi-channel instrument communication register mapping address, which can break through a traditional fixed mapping address mode and allows a user to carry out personalized configuration on the multi-channel instrument communication register mapping address according to own specific requirements. Through the dynamic mapping address defined by the user, the system can intelligently integrate a plurality of data requests into fewer communication instructions, so that the number of the communication instructions is remarkably reduced. The optimization not only improves the efficiency of data acquisition, but also reduces the delay caused by communication, so that the whole industrial control system is more agile and efficient.
Owner:TOKY ELECTRICAL CO LTD

Processing-in-memory memory device and method for performing indirect addressing in the same

An embodiment of the present invention provides a processing-in-memory memory device comprising: a memory bank including a memory array for receiving a memory request from a memory controller, and a PIM engine for executing processing-in-memory according to the PIM instruction; and a processing-in-memory (PIM) control unit for controlling the processing-in-memory of the PIM engine by identifying a PIM instruction corresponding to the memory request, and storing addressing mode selection information for selecting one among an indirect address and a direct address according to the identified PIM instruction, wherein when the indirect address is used, the PIM control unit uses a register value of the processing-in-memory control unit as a base register value, reads an immediate value in the PIM instruction, a register value of the PIM engine, or an offset value of the memory bank, and generates an effective address for the processing-in-memory in an indirect addressing mode.
Owner:KOREA UNIV RES & BUSINESS FOUND

Method and system for automatically distributing addresses of parallel direct-current power supply modules of transformer substation

The invention relates to the technical field of electric communication technology, and discloses an automatic distribution method and system for parallel DC power supply module addresses of a transformer substation, a monitor broadcasts an addressing start command through a CAN bus, and all power supply modules enter an addressing mode; starting from the first power supply module, each module is activated according to an addressing line level, sequentially distributes incremental addresses and generates topological feature codes for storage; after the last module completes addressing, the monitor sends an addressing ending command, and all the modules exit the addressing mode; when the module is replaced, the new module generates the current topological feature code according to the current addressing line state and the adjacent module identifier, and the original address is automatically recovered after the pre-stored feature library is matched. The problems that in the prior art, manual code dialing is low in efficiency, the address sequence is disordered, and replacement modules are reset are solved, and the purposes of accurate automatic addressing, intelligent topology recognition and permanent address keeping are achieved.
Owner:HANGZHOU ONLY POWER SUPPLY EQUIP CO LTD

Intermingling memory resources using multiple addressing modes

Systems and techniques enable intermingled use of disparate addressing modes for memory access requests directed to system memory resources. Within a processing system, a memory access request indicating a multi-bit physical memory address is received. Based on a bit pattern indicated by a first subset of bits of the multi-bit physical memory address, an addressing mode to be used for fulfilling the memory access request is determined, such as by selecting an addressing mode table entry that is keyed to the bit pattern. The memory access request is fulfilled in accordance with the determined addressing mode.
Owner:ATI TECHNOLOGIES ULC +1

Method and device for controlling electric and / or electronic components of a motor vehicle module

The invention relates to a device for controlling bus nodes (BK1 to BKn) with a differential communication bus (DB) and a bus master (ECU), wherein the serial, bidirectional, differential communication bus (DB) comprises a first single-wire bus (DBa) and a second single-wire bus (DBb). Each bus node (BKj) has a differential interface (IFj), an address recognition unit (ADRj), and a bus node address register (BKADRj). The communication bus (DB) can be in at least a first differential logical state (z1) and a second differential logical state (z2). The interface (IFj) is connected to the communication bus (DB) to send and / or receive data via it. The bus master (ECU) transmits data to be sent as sequences of bits in bitstream packets (frames, BP). The bit stream packets (BP) sent by the bus master (ECU) contain data information (DATA).The data information (DATA) comprises address information (ADRD) and user information (INFO). The address recognition units (ADR1 to ADRn) evaluate the address information (ADRD) of the bit stream packets (BP) and only allow the bus node (BKj) to use the contained user information (INFO) if the content of the address information (ADRD) corresponds to the content of the bus node address register (BKADRj). The bus node (BKj) has means to perform an auto-addressing procedure to populate the bus node address register (BAKDRj) with a logical bus node address that corresponds to the physical position of this bus node (BKj) among the n bus nodes (BK1 to BKn) within the differential two-wire communication bus (DB). Clock synchronization information is also transmitted. The addressing mode is initiated by a signal from the bus master (ECU).
Owner:ELMOS SEMICON AG

Signal generation circuit, test circuit and memory

The present disclosure provides a signal generation circuit, a test circuit, and a memory, relating to the field of semiconductor technology. The signal generation circuit includes a counting circuit, which includes n+1 counting units cascaded in sequence, wherein the first output end of the counting unit of the previous stage is connected to the first input end of the counting unit of the next stage, and the first output end of the counting unit of the n+1 stage is connected to the first input end of the counting unit of the first stage; the counting units of the first to m stages each include a selector, each selector including a first selection signal input end; the counting units of the first to n stages are configured to: based on the selection signals received by the selectors in the counting units of the first to m stages, output a first counting signal with an n-bit step or a second counting signal with an n-bit jump. The counting signal output by the above-mentioned signal generation circuit can be used for various addressing modes such as address ascending addressing or address jump ascending addressing, which can better meet the testing requirements of the memory.
Owner:CHANGXIN STORAGE TECH (XIAN) CO LTD

Processing-in-memory memory device and method for performing indirect addressing in the same

An embodiment of the present invention provides a processing-in-memory memory device comprising: a memory bank including a memory array for receiving a standard memory request from a memory controller through a global bus, and a PIM engine for directly executing processing-in-memory according to the PIM instruction within the memory bank; and a processing-in-memory (PIM) control unit for controlling the processing-in-memory of the PIM engine by identifying a PIM instruction corresponding to a request received from the memory controller, and storing addressing mode selection information for selecting one among an indirect address and a direct address according to the identified PIM instruction, wherein when the indirect address is used, the PIM control unit uses a register value of the processing-in-memory control unit as a base register value, reads an immediate value in the PIM instruction, a register value of the PIM engine, or an offset value of the memory bank, and generates an effective address for the processing-in-memory in an indirect addressing mode.
Owner:KOREA UNIVERSITY RESEARCH & BUSINESSFOUNDATION

Node address allocation method and device for vehicle, vehicle device, and storage medium

This application discloses a method, apparatus, vehicle equipment, and storage medium for allocating node addresses in a vehicle. The method includes: obtaining a node with a currently assigned address from a node set according to a first addressing mode, wherein the node set includes multiple nodes connected to a first bus of the vehicle; obtaining the address of the node based on the number of addressing instruction frames in the addressing instruction sequence, the address carried in the addressing instruction frame currently issued to the node, and the frame number of the addressing instruction frame currently issued to the node; and allocating an address to the node based on the address of the node. This method allows for precise control over node address allocation, thereby meeting preset requirements.
Owner:ZHEJIANG GEELY HLDG GRP CO LTD +1

A prefetch instruction conversion optimization method based on memory access mode virtualization

The present invention discloses a prefetch instruction conversion optimization method based on memory access mode virtualization. When an executable file is executed in a dynamic instruction conversion mode, the address memory access mode of the prefetch instruction of the x86 architecture is obtained, and the operand and offset calculation method of the prefetch instruction are analyzed. According to the address memory access mode, the operand and the offset calculation method, an instruction or instruction sequence of the ARM architecture capable of completing the memory address calculation and prefetching functions is constructed. The prefetch instruction of the x86 architecture is replaced with a corresponding ARM instruction or instruction sequence to complete the dynamic conversion of the instruction, thereby realizing the conversion of the prefetch instruction of the complex address mode under the x86 architecture and improving the reliability of the execution of the executable file in the dynamic instruction conversion mode.
Owner:北京麟卓信息科技有限公司

Processor supporting position-independent addressing

A processor may implement position-independent memory addressing by providing load and store instructions that include position-independent addressing modes. A memory address may contain a normalized pointer, where the memory address stores a normalized memory address that, when added to an offset previously determined for the memory address, defines another memory address. The position-independent addressing mode may also support invalid memory addresses using a reserved value, where a load instruction providing the position-independent addressing mode may return a NULL value or generate an exception when determining that the stored normalized memory address is equal to the reserved value and where a store instruction providing the position-independent addressing mode may store the reserved value when determining that the memory address is an invalid or NULL memory address.
Owner:ORACLE INT CORP

Non-blocking unit stride vector instruction dispatch with micro-operations

Disclosed techniques enable vector instruction processing. A processor core is accessed. The processor core is coupled to a memory hierarchy, and is configured to execute vector operations, scalar operations, and micro-operations. A decode unit decodes a vector memory operation. The vector memory operation is associated with a unit stride addressing mode. The decoding includes dividing the vector memory operation into one or more vector memory micro-operations. A dispatch unit sends at least one vector micro-operation within the one or more vector micro-operations to a scalar request queue within a plurality of request queues. The at least one vector micro-operation is issued to a load-store unit within the processor core. The issuing includes selecting, from the plurality of request queues, the at least one vector memory micro-operation.
Owner:AKEANA INC

Inter-environment use of java virtual machines for multiple address modes

Described techniques enable inter-environment communication between a first runtime environment and a second runtime environment of an operating system. A function requested by an application executing in the first runtime environment may require execution by a second application running in a virtual machine in the second runtime environment. An address mode (AMODE) of the virtual machine may be determined from among at least two AMODEs. The second runtime environment may be launched from the first runtime environment, and the virtual machine may be launched within the second runtime environment, using the AMODE. The function may then be executed using the second application.
Owner:BMC SOFTWARE INC

Initialization method, electronic device and medium for LPDDR5

The present application relates to the field of storage technology and provides an initialization method, electronic device and medium for LPDDR5. In order to deal with the problem of abnormal command recognition, an improvement is provided for the initialization process of low-power fifth-generation double-rate memory. Before command bus training, the operation steps of initializing the configuration mode register write command are optimized and designed. Through the delay training module, the clock signal on the clock signal link is divided, the command address mode and chip selection mode are widened, and the clock signal after delay division is delayed. The first value is used as an adjustable parameter, which increases the accuracy and stability of the mode register write command, which is conducive to ensuring that the timing diagram of the mode register write command meets the timing requirements of the memory particles, and helps to ensure that the memory particles can be correctly configured and initialized before starting the command bus training.
Owner:XIN YAOHUI TECH CO LTD

Method and device for controlling electric and / or electronic components of a motor vehicle module

The invention relates to a device for controlling bus nodes (BK1 to BKn) with a differential communication bus (DB) and a bus master (ECU), wherein the serial, bidirectional, differential communication bus (DB) comprises a first single-wire bus (DBa) and a second single-wire bus (DBb). Each bus node (BKj) has a differential interface (IFj), an address recognition unit (ADRj), and a bus node address register (BKADRj). The communication bus (DB) can be in at least a first differential logical state (z1) and a second differential logical state (z2). The interface (IFj) is connected to the communication bus (DB) to send and / or receive data via it. The bus master (ECU) transmits data to be sent as sequences of bits in bitstream packets (frames, BP). The bit stream packets (BP) sent by the bus master (ECU) contain data information (DATA).The data information (DATA) comprises address information (ADRD) and user information (INFO). The address recognition units (ADR1 to ADRn) evaluate the address information (ADRD) of the bit stream packets (BP) and only allow the bus node (BKj) to use the contained user information (INFO) if the content of the address information (ADRD) corresponds to the content of the bus node address register (BKADRj). The bus node (BKj) has means to perform an auto-addressing procedure to populate the bus node address register (BAKDRj) with a logical bus node address that corresponds to the physical position of this bus node (BKj) among the n bus nodes (BK1 to BKn) within the differential two-wire communication bus (DB). Clock synchronization information is also transmitted. The addressing mode is initiated by a signal from the bus master (ECU).
Owner:ELMOS SEMICON AG

Processor-oriented data transfer instruction implementation method and system

The application provides a processor-oriented data transfer instruction implementation method and system, and the method comprises the following steps: step S1: a RISC special processor decodes a read memory instruction, and data of a specific length byte is moved from a memory to a plurality of specified registers according to a memory address and a register first address given in the instruction; step S2: the RISC special processor decodes a write memory instruction, and data of a specific length byte is moved from a register to a specified memory address according to a memory address and a register first address given in the instruction. The application realizes fast moving operation of multiple data, has the advantages of flexible addressing mode, and thus improves the operation efficiency of the multiple data transfer instruction, which is beneficial to the multiple data moving operation in the application of the special processor, especially in the field of network processor, and the instruction greatly improves the operation efficiency of the special processor.
Owner:EAST CHINA INST OF COMPUTING TECH

A software and hardware cooperative memory access operation optimization method, device, equipment and medium

The application discloses a software and hardware cooperative memory access operation optimization method and device, equipment and medium, and relates to the technical field of computers. The method comprises the following steps: traversing the operation type of a target memory reading operation corresponding to a current memory reading operation code in target code; if the operation type is a non-direct addressing mode, a cache query instruction is executed to replace the target memory reading operation; if the operation type is a direct addressing mode, a reuse distance corresponding to the current memory reading operation code is calculated, and it is determined whether the reuse distance is greater than a preset distance threshold; if the reuse distance is greater than the preset distance threshold, a preset direct memory access instruction is executed to replace the target memory reading operation; if the reuse distance is not greater than the preset distance threshold, a target cache instruction is executed to replace the target memory reading operation; and code traversal is continued until all memory reading operation codes in the target code are traversed. Thus, the cache pollution can be reduced by combining the software and hardware memory access instruction optimization method.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Fetching vector data elements with padding

A streaming engine employed in a digital data processor specifies a fixed read only data stream defined by plural nested loops. An address generator produces address of data elements for the nested loops. A steam head register stores data elements next to be supplied to functional units for use as operands. A stream template register specifies a circular address mode for the loop, first and second block size numbers and a circular address block size selection. For a first circular address block size selection the block size corresponds to the first block size number. For a first circular address block size selection the block size corresponds to the first block size number. For a second circular address block size selection the block size corresponds to a sum of the first block size number and the second block size number.
Owner:TEXAS INSTRUMENTS INC

Instruction execution method and apparatus and processor

The present disclosure relates to an instruction execution method and device and a processor, comprising: identifying whether an instruction to be executed comprises an extended instruction prefix; if yes, extracting a first field for mapping an operation code of the instruction to be executed from the instruction to be executed; judging whether a second field related to a variable length vector register and a third field related to a variable length mask register are extracted from the instruction to be executed according to the first field; if yes, executing the instruction to be executed according to the first field, the second field, the third field, an operation code comprised by the instruction to be executed and an addressing mode field; if not, executing the instruction to be executed according to the first field, the operation code and the addressing mode field. Thus, the portability of software can be improved and the x86 instruction can be easily extended.
Owner:VIA ALLIANCE SEMICON CO LTD

FPGA implementation method of LDPC decoder based on CCDSD standard

The invention relates to an FPGA (Field Programmable Gate Array) implementation method of an LDPC (Low Density Parity Check) decoder based on a CCDSD standard, belonging to the technical field of information. The method comprises the following steps: storing a code stream into a channel RAM top layer module, initializing node information, and setting a check matrix; corresponding node information is taken out and transmitted to a check node updating module for check node updating, and the updated node information is stored in a corresponding check RAM block; variable node information is obtained in the variable RAM module according to the variable node updating addressing mode, the variable node information is updated, and the updated variable node information is stored in a variable RAM block according to the same addressing mode; a sign bit of each code word is taken out and transmitted to a hard decision module for LDPC verification, and if verification is passed, decoding is ended; and if the verification is not passed, carrying out iterative updating on the verification node and the variable node until the end. According to the invention, the accuracy of a decoding result can be ensured.
Owner:CHONGQING AEROSPACE ROCKET ELECTRONIC TECH CO LTD

Data access method and device and storage medium

The invention relates to a data access method and device and a storage medium. The data access method comprises the steps that the addressing mode of an operation system of the electronic equipment is determined, the addressing mode of a memory is determined, and the addressing mode is the minimum data unit of each time of data access; and according to the addressing mode of the operating system and the addressing mode of the memory, reconfiguring the addressing mode of the memory, and performing data access according to the reconfigured addressing mode. Through the method and the device, the memory can adapt to operating systems and application programs with different addressing modes, and better performance can be provided for each operating system.
Owner:BEIJING XIAOMI MOBILE SOFTWARE CO LTD

CPU implicit initialization method

The invention discloses a CPU implicit initialization method. The method comprises the following steps: defining an initialization function; outputting an address of an initialization function to an independent section, and arranging the address according to a set sequence; mapping the initialization function pointers into the corresponding segments; the mapping information is checked; defining a function inistartFunc for searching a starting position of the segment; a function iniendfunc is defined and used for judging the end position of the segment; the method comprises the following steps of: mapping an address of a function inistartFunc into a segment'inifn.0 ', mapping an address of the iniendFunc into the segment'inifn.0', and mapping an address of the iniendFunc into a segment'inifn.z '; and performing address self-increasing operation, traversing to take out pointer data in a section area, copying the pointer data to the Funcptrnum, and running the function in a function addressing mode. According to the method, an initialization function address is output to an independent segment through an ARMGCC compiler instruction, a starting address and an ending address are marked through an null function address, a function between the starting address and the ending address of the operation segment is traversed in a main function, and operation work of the initialization function is completed.
Owner:TIANJIN JINHANG COMP TECH RES INST