A non-transitory computer-readable recording medium for storing a memory access control program to be executed on a computer device to control access to a memory that stores data, said memory access control program causing said computer device to execute:
- a storage function which divides and stores said data in said different memory areas distinguished by one or more predetermined bits of an access address to a plurality of groups of said memory, and
- an access function which accesses said data stored in different memory areas of said plurality groups of the memory simultaneously in the same clock cycle of access to said memory,
- wherein said memory is formed with two groups, a first group and a second group,
- wherein the accessing of said data stored in said different memory areas comprises accessing said data stored in said different memory areas of said two groups of the memory simultaneously in the same clock cycle of access to said memory,
- wherein the dividing and storing of said data in different memory areas comprises:
- forming a plurality of blocks which form said data, each block comprising a plurality of unit data, said plurality of blocks formed in at least two arrangements among:
- an arrangement with two horizontally consecutive unit data, an arrangement with two vertically consecutive unit data, and an arrangement with two unit data on vertically alternate lines, and
- storing two of the unit data individually in said different memory areas of said two groups of the memory,
- wherein said data comprises two-dimensional unit data;
- and
- said memory access control program causes said computer device to further execute:
- selecting at least two odes from:
- a mode to access two horizontally consecutive unit data at a time, a mode to access two vertically consecutive unit data at a time, and a mode to access two unit data on vertically alternate lines at a time.