-
公开(公告)号:US20140215432A1
公开(公告)日:2014-07-31
申请号:US14160047
申请日:2014-01-21
Applicant: GENERALPLUS TECHNOLOGY INC.
Inventor: YEN TSUN HUANG
IPC: G06F9/44
Abstract: A code generating system includes a code converting module and a linker. The code converting module is configured to generate a plurality of candidate instructions, in response to a source code. The candidate instructions are then saved in an object file. The linker comprises a selecting unit which is configured to select at least one instruction, in response to a sub-hardware condition of a hardware condition, from the plurality of candidate instructions. Moreover, the linker is configured to link the selected at least one instruction to generate a final code.
Abstract translation: 代码生成系统包括代码转换模块和链接器。 代码转换模块被配置为响应于源代码生成多个候选指令。 然后将候选指令保存在目标文件中。 链接器包括选择单元,其被配置为响应于硬件条件的子硬件状况从多个候选指令中选择至少一个指令。 此外,链接器被配置为链接所选择的至少一个指令以生成最终代码。