EP1557754B1

Mechanism in a microprocessor for executing native instructions directly from memory

Abstract

This record has no abstract on file.

EP1557754B1, drawing sheet 1
Sheet 1 of 8

Term

Term ended

Expired 15 September 2024, 2 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  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;characterized in that : each of said wrapper macro instructions comprises a macro instruction according to architectural specifications having a native instruction encoded therein;and said wrapper macro instructions are existing macro instructions which are translated by said instruction translation logic according to architectural specifications if said native bypass mode has not been enabled.
  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, characterised in that : the corresponding plurality of wrapper instructions are existing macro instructions according to said architectural specifications having a native instruction encoded therein, such that said wrapper instruction may be translated by instruction translation logic according to architectural specifications when said native instruction bypass mode is not enabled.