Data processor changing an alignment of loaded data
AssigneeMitsubishi Denki Kabushiki Kaisha
InventorsHironobu Ito, Hisakazu Sato
Life of this patent
Estimating the term…
Abstract
A data processor in which a read operation, including misaligned data as operand data, can be performed in a single cycle. An alignment buffer having a register to hold data stored at one address in data memory is provided between the data memory and a data path unit. The alignment buffer outputs misaligned data by selecting misaligned data from data held in the register and data read from the data memory. The data held in the register is updated as word-aligned data is read out.
Claims11
A data processor receiving data from a memory, said memory being capable of storing N (≧2) words of data at each address, said data processor comprising:
- M (≧1) register devices, each configured to hold an address and N words of data;
- a selector configured to select and output N consecutive words of requested data specified on a word-by-word basis from among (1) data held in said M register devices, and (2) data read from said memory;
- and
- a controller configured (1) to determine whether said N consecutive words of requested data have a portion that is not held in any of said M register devices and, if so, to read out N words of data that includes said portion from said memory, and (2) to determine whether said M register devices include a free register device, which does not hold any of said N consecutive words of requested data, and, if so, to update said free register device with said N words of data read from said memory and with a corresponding address.
A data processor receiving data from a memory, said memory being capable of storing N (≧2) words of data at each address, said data processor comprising:
- a controller configured to read out N words of data, stored at an address and including a specified word, from said memory;
- and
- a selector configured to output N words in parallel, each word being said specified word included in said N words of data read from said memory.
Dependencies are inferred from the claim text.