EP1557754A2

Mechanism in a microprocessor for executing native instructions directly from memory

Abstract

An microprocessor apparatus and method are provided for executing native instructions directly from memory. The apparatus includes instruction translation logic and bypass logic. The instruction translation logic retrieves macro instructions provided via an external instruction bus, and translates each of the macro instructions into associated native instructions for execution. If a first form of a first macro instruction is retrieved, the instruction translation logic directs the microprocessor to enable a native bypass mode and indicates such by asserting a first bit within a control register. The bypass logic is coupled to the instruction translation logic. The bypass logic accesses the first bit within the control register to determine if the native bypass mode has been enabled, and detects wrapper macro instructions and, upon detection of the wrapper macro instructions, disables the instruction translation logic, and provides the native instructions for execution by the microprocessor, thereby bypassing the instruction translation logic.

EP1557754A2, drawing sheet 1
Sheet 1 of 9

Term

Term ended

Projected expiry passed 15 September 2024, 2 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

13 claims: 2 independent, 11 dependent

  1. 1
    An apparatus in a microprocessor for executing native instructions that are provided directly to the microprocessor via an external instruction bus, the apparatus comprising:instruction translation logic, configured to retrieve macro instructions provided via the external instruction bus, and configured to translate each of said macro instructions into associated native instructions for execution, wherein, if a first form of a first macro instruction is retrieved, said instruction translation logic directs the microprocessor to enable a native bypass mode and indicates such by asserting a first bit within a control register;and bypass logic, coupled to said instruction translation logic, configured to access said first bit within said control register to determine if said native bypass mode has been enabled, and to detect wrapper macro instructions and, upon detection of said wrapper macro instructions, to disable said instruction translation logic, and to provide the native instructions for execution by the microprocessor, thereby bypassing said instruction translation logic.
  2. 8
    A method for providing a plurality of native instructions stored in a memory directly to a microprocessor for execution, the method comprising:enabling a native instruction bypass mode within the microprocessor;embedding the plurality of native instructions within a corresponding plurality of wrapper instructions and providing the corresponding plurality of wrapper instructions to the microprocessor;and within the microprocessor, detecting the native instruction bypass mode and extracting the plurality of native instructions from within the corresponding plurality of wrapper instructions.