Invention Grant
- Patent Title: Compiler method for generating instructions for vector operations in a multi-endian instruction set
-
Application No.: US14576710Application Date: 2014-12-19
-
Publication No.: US10169014B2Publication Date: 2019-01-01
- Inventor: Michael Karl Gschwind , Jin Song Ji , Ronald I. McIntosh , 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: G06F8/41
- IPC: G06F8/41 ; 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, along with at least one memory access instruction with a contrary endian bias. The compiler uses a code generation endian preference that matches the inherent computer system endian bias. The compiler generates instructions for vector instructions by determining whether the vector instruction has an endian bias that matches the code generation endian preference. When the endian bias of the vector instruction matches the code generation endian preference, the compiler generates one or more instructions for the vector instruction as normal. When the endian bias of the vector instruction does not match the code generation endian preference, the compiler generates instructions that include one or more vector element reverse instructions to fix the mismatch.
Public/Granted literature
- US20160179525A1 COMPILER METHOD FOR GENERATING INSTRUCTIONS FOR VECTOR OPERATIONS IN A MULTI-ENDIAN INSTRUCTION SET Public/Granted day:2016-06-23
Information query