首页> 外国专利> Apparatus and method for marking start and end bytes of instructions in a stream of instruction bytes in a microprocessor having an instruction set architecture in which instructions may include a length-modifying prefix

Apparatus and method for marking start and end bytes of instructions in a stream of instruction bytes in a microprocessor having an instruction set architecture in which instructions may include a length-modifying prefix

机译:在具有指令集体系结构的微处理器中标记指令字节流中指令的开始和结束字节的设备和方法,其中指令可以包括长度修改前缀

摘要

An apparatus in a microprocessor that has an instruction set architecture in which instructions may include a length-modifying prefix used to select an address/operand size other than a default address/operand size, wherein the apparatus marks the start byte and the end byte of each instruction in a stream of instruction bytes. Decode logic decodes each instruction byte of a predetermined number of instruction bytes to determine whether the instruction byte specifies a length-modifying prefix and generates a start mark and an end mark for each of the instruction bytes based on an address/operand size. Operand/address size logic provides the default operand/address size to the decode logic to use to generate the start and end marks during a first clock cycle during which the decode logic decodes the predetermined number of instruction bytes. If during the first clock cycle and any of N subsequent clock cycles the decode logic indicates that one of the predetermined number of instruction bytes specifies a length-modifying prefix, the operand/address size logic provides to the decode logic on the next clock cycle the address/operand size specified by the length-modifying prefix to use to generate the start and end marks.
机译:具有指令集体系结构的微处理器中的设备,其中指令可以包括长度修改前缀,用于选择默认地址/操作数大小以外的地址/操作数大小,其中该设备标记的起始字节和结束字节为指令字节流中的每个指令。解码逻辑对预定数量的指令字节中的每个指令字节进行解码,以确定该指令字节是否指定了长度修改前缀,并根据地址/操作数大小为每个指令字节生成一个开始标记和一个结束标记。操作数/地址大小逻辑将默认的操作数/地址大小提供给解码逻辑,以用于在解码逻辑对预定数量的指令字节进行解码的第一个时钟周期内生成起始标记和结束标记。如果在第一个时钟周期和N个后续时钟周期中的任何一个期间,解码逻辑指示预定数量的指令字节之一指定了长度修改前缀,则操作数/地址大小逻辑在下一个时钟周期向解码逻辑提供由长度修改前缀指定的地址/操作数大小,用于生成开始标记和结束标记。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号