首页> 外国专利> METHOD FOR GENERATING A SET OF INSTRUCTION COMPACTION SCHEMES, METHOD FOR COMPACTING A PROGRAM ACCORDING TO THE GENERATED SET, AND PROGRAMMABLE PROCESSOR CAPABLE OF EXECUTING A PROGRAM THUS COMPACTED

METHOD FOR GENERATING A SET OF INSTRUCTION COMPACTION SCHEMES, METHOD FOR COMPACTING A PROGRAM ACCORDING TO THE GENERATED SET, AND PROGRAMMABLE PROCESSOR CAPABLE OF EXECUTING A PROGRAM THUS COMPACTED

机译:生成一组指令紧缩方案的方法,用于根据该生成的组互补程序的方法以及能够执行该紧缩程序的可编程处理器

摘要

Method of generating respective instruction compaction schemes for subsets of instructions to be processed by a programmable processor, comprising the steps of a) receiving at least one input code sample representative for software to be executed on the programmable processor, the input code comprising a plurality of instructions defining a first set of instructions (S1), b) initializing a set of removed instructions as empty (S3), c) determining the most compact representation of the first set of instructions (S4) d) comparing the size of said most compact representation with a threshold value (S5), e) carrying out steps e1 to e3 if the size is larger than said threshold value, e1) determining which instruction of the first set of instructions has a highest coding cost (S6), e2) removing said instruction having the highest coding cost from the first set of instructions and (S7), e3) adding said instruction to the set of removed instructions (S8), f) repeating steps b-f, wherein the first set of instructions is formed by the set of removed instructions (S9, S10).
机译:为将由可编程处理器处理的指令的子集生成相应指令压缩方案的方法,包括以下步骤:a)接收至少一个表示将在可编程处理器上执行的软件的输入代码样本,该输入代码包括多个定义第一组指令的指令(S1),b)将一组已删除的指令初始化为空(S3),c)确定第一组指令的最紧凑表示(S4)d)比较所述最紧凑指令的大小用阈值表示(S5),e)如果大小大于所述阈值,则执行步骤e1至e3,e1)确定第一组指令中的哪条指令具有最高编码成本(S6),e2)删除所述指令具有来自第一指令集和(S7)的最高编码成本,e3)将所述指令添加到已去除指令集(S8),f)重复步骤bf,其中,第一组指令由一组已删除的指令(S9,S10)组成。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号