Invention Grant
US09588746B2 Compiler method for generating instructions for vector operations on a multi-endian processor
有权
用于在多端处理器上生成向量操作指令的编译器方法
- Patent Title: Compiler method for generating instructions for vector operations on a multi-endian processor
- Patent Title (中): 用于在多端处理器上生成向量操作指令的编译器方法
-
Application No.: US14576391Application Date: 2014-12-19
-
Publication No.: US09588746B2Publication Date: 2017-03-07
- Inventor: Michael Karl Gschwind , Jin Song Ji , William J. Schmidt
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Martin & Associates, LLC
- Agent Derek P. Martin
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/30

Abstract:
A compiler includes a vector instruction processing mechanism that generates instructions for vector instructions in a way that assures correct operation in a bi-endian environment, wherein the processor architecture contains instructions with an inherent endian bias. The compiler uses a code generation endian preference that is specified by the user, and that determines a natural element order. When the compiler processes a computer program, it generates instructions for vector operations by determining whether the vector instruction has an endian bias that matches the specified endian preference (i.e., the inherent element order of the vector instruction matches the natural element order). When the vector instruction has no endian bias, or when the endian bias of the vector instruction matches the specified endian preference, the compiler generates one or more instructions for the vector instruction as it normally does. When the endian bias of the vector instruction does not match the specified endian preference, the compiler generates instructions to fix the mismatch.
Public/Granted literature
- US20160179524A1 COMPILER METHOD FOR GENERATING INSTRUCTIONS FOR VECTOR OPERATIONS ON A MULTI-ENDIAN PROCESSOR Public/Granted day:2016-06-23
Information query