hottub.patents
US 12,288,071 B2#2231222 Most CitedActiveUnited States (USPTO)Utility

Register addressing information for data transfer instruction

1Forward Citations (#2231222 Global)
1.0/yrCitation Velocity (#2231222 Global)
0.17Citation PageRank (#2231222 Global)
12Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A data transfer instruction is provided which specifies register addressing information for identifying a target portion of the register storage. In response to the data transfer instruction, instruction decoding circuitry controls processing circuitry to perform a data transfer operation to transfer data to or from the target portion of the register storage. The register addressing information includes at least: a base register identifier identifying a base register of the register storage for storing a base value; and an immediate value specified in an encoding of the data transfer instruction, the immediate value representing a value to be added to the base value to provide an index value for selecting the target portion of the register storage. This can be useful to provide an instruction set architecture which supports code that is scalable to variable data structure sizes, and which supports loop unrolling.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 1.

Claims (8)

  1. Claim 1Independent Claim

    An apparatus comprising: instruction decoding circuitry configured to decode instructions; register storage configured to store data; and processing circuitry configured to perform data processing in response to an instruction decoded by the instruction decoding circuitry, to generate a processing result to be written to at least one register of the register storage; in which: in response to a data transfer instruction specifying register addressing information for identifying a target portion of the register storage, the instruction decoding circuitry is configured to control the processing circuitry to perform a data transfer operation to transfer data to or from the target portion of the register storage; and the register addressing information includes at least: a base register identifier identifying a base register of the register storage for storing a base value; and an immediate value specified in an encoding of the data transfer instruction, the immediate value representing a v

  2. Claim 2Depends on #1

    The apparatus according to claim 1, in which the register storage comprises two-dimensional (2D) array register storage configured to store at least one 2D array of data; and the target portion of the register storage comprises a target portion of the 2D array register storage.

  3. Claim 3Depends on #2

    The apparatus according to claim 2, in which the data transfer operation comprises transferring a sub-portion of a target 2D array to or from the target portion of the 2D array register storage, the index value identifying which sub-portion of the target 2D array is to be transferred.

  4. Claim 4Depends on #3

    The apparatus according to claim 3, in which the sub-portion comprises a single horizontal group of elements sharing a same vertical position within the target 2D array or a single vertical group of elements sharing a same horizontal position within the target 2D array.

  5. Claim 5Depends on #3

    The apparatus according to claim 3, in which the data transfer instruction specifies an array direction identifier identifying one of a horizontal direction and a vertical direction; when the array direction identifier identifies the horizontal direction, the sub-portion of the target 2D array comprises at least one horizontal group of elements of the target 2D array identified by the index value, each horizontal group of elements comprising elements sharing a same vertical position within the target 2D array; and when the array direction identifier identifies the vertical direction, the sub-portion of the target 2D array comprises at least one vertical group of elements of the target 2D array identified by the index value, each vertical group of elements comprising elements sharing a same horizontal position within the target 2D array.

  6. Claim 6Depends on #3

    The apparatus according to claim 3, in which the data transfer instruction is associated with a current data element size E specified for the data transfer instruction from among a plurality of data element sizes supported by the processing circuitry, the current data element size E identifying a data element size associated with each element of the target 2D array.

  7. Claim 7Depends on #6

    The apparatus according to claim 6, in which the immediate value is encoded using N imm bits of an instruction encoding of the data transfer instruction, where N imm is variable depending on the current data element size E, with N imm increasing as E decreases.

  8. Claim 8Depends on #3

    The apparatus according to claim 3, in which the 2D array register storage comprises N R vector registers each comprising MVL bits; the instruction decoding circuitry is configured to decode instructions according to an instruction set architecture supporting a variable vector length MVL for the N R vector registers of the 2D array register storage, where a minimum vector length supported by the instruction set architecture is MVL min; and for the data transfer instruction for which elements of the target 2D array have a data element size E, a number of different numeric values capable of being encoded as the immediate value in the instruction encoding of the data transfer instruction is less than MVL min /E.

Technical Overview & Description

The present technique relates to the field of data processing. Data transfer instructions may be used in data processing to control transfer of data to or from register storage. At least some examples provide an apparatus comprising: instruction decoding circuitry to decode instructions; register storage to store data; and processing circuitry to perform data processing in response to an instruction decoded by the instruction decoding circuitry, to generate a processing result to be written to at least one register of the register storage; in which: in response to a data transfer instruction specifying register addressing information for identifying a target portion of the register storage, the instruction decoding circuitry is configured to control the processing circuitry to perform a data transfer operation to transfer data to or from the target portion of the register storage; and the register addressing information includes at least: a base register identifier identifying a base register of the register storage for storing a base value; and an immediate value specified in an encoding of the data transfer instruction, the immediate value representing a value to be added to the base value to provide an index value for selecting the target portion of the register storage. At least some examples provide a method comprising: decoding an instruction; and in response to the decoded instruction, controlling processing circuitry to perform data processing to generate a processing result to be written to at least one register of register storage; in which: in response to a data transfer instruction specifying register addressing information for identifying a target portion of the register storage, the processing circuitry is controlled to perform a data transfer operation to transfer data to or from the target portion of the register storage; and the register addressing information includes at least: a base register identifier identifying a base register of the register

Cited By — Indexed Forward Citations (1 of 1 total)

Non-Patent Literature (10)

  • Office Action for GB Application No. 2011874.1 dated Jun. 29, 2023, 6 pages.
  • Electrical Engineering Stack Exchange,
  • “
  • Microprocessors/Microcontrollers
  • —
  • Do registers have addresses?
  • ”
  • 2013, https://electronics.stackexchange.com/questions/60176/microprocessors-microcontrollers-do-registers-have-addresses, 5 pages.
  • J. Navaridas,
  • “