Patents
US 8,863,103 B2#50073122 Most CitedActiveUnited States (USPTO)Utility

Method and apparatus for implementing a bi-endian capable compiler

1Forward Citations (#50073122 Global)
0.1/yrCitation Velocity (#48915066 Global)
0.86Citation PageRank (#49825848 Global)
37Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

A method of compiling code includes assigning an endian type to data. An endian flip operation is performed based on the endian type of the data and a target system. Other embodiments are described and claimed.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 37 · Forward citations: 1.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method of compiling source code, comprising: assigning an endian type to data in the source code before the source code is converted to an intermediate representation; converting the source code to the intermediate representation; converting the intermediate representation to machine code; and inserting machine instructions to perform an endian flip operation based on the endian type of the data and a target system when the machine instructions are executed by a processor in the target system.

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising determining the endian type of the data from a declaration of the data in the source code.

  3. Claim 3Depends on #1

    The method of claim 1 , further comprising determining the endian type of the data in the source code based on implicit declaration criteria.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (37)

PatentTitleYearCitations
JP H04362738 AVariable control method—5
US 5,524,256 AMethod and system for reordering bytes in a data stream199692
US 5,630,085 AMicroprocessor with improved instruction cycle using time-compressed fetching19977
US 5,687,337 AMixed-endian computer system199752
US 5,778,406 AApparatus for delivering CPU independent data for little and big endian machines199818
US 5,781,763 AIndependent control of DMA and I/O resources for mixed-endian computing systems199844
US 5,828,884 AMethod for compiling a software program and executing on a system which converts data between different endian formats199889
US 5,867,690 AApparatus for converting data between different endian formats and system and method employing same199971
US 5,907,865 AMethod and data processing system for dynamically accessing both big-endian and little-endian storage schemes199974
US 5,948,099 AApparatus and method for swapping the byte order of a data item to effectuate memory format conversion199940
US 6,021,275 AObject code structure and method for translation of architecture independent program implementations200081
US 6,085,203 AMethod for converting data formats which differ from one another200073
US 6,341,345 B1Mixed-endian computer system that provides cross-endian data sharing200252
US 6,351,750 B1Dynamic conversion of byte ordering for use on different processor platforms200267
US 2002069339 A1MMU descriptor having big/little endian bit to control the transfer data between devices—30
US 6,411,395 B1Apparatus and method for conversion of data between different formats200212
US 2002124242 A1Bi-endian libraries—10
US 2003028866 A1Interpreter optimization for native endianness—8
US 2003033508 A1Endian transformation—3
US 6,578,193 B1Endian-neutral loader for interpretive environment200329
US 2004010676 A1Byte swap operation for a 64 bit operand—15
US 6,687,262 B1Distributed MUX scheme for bi-endian rotator circuit200430
US 2004030856 A1System and method for operating in endian independent mode—32
US 2004221274 A1Source-transparent endian translation—39
US 2005066146 A1Endian conversion—26
US 2005097127 A1Reordering data between a first predefined order and a second predefined order with secondary hardware—10
US 6,895,489 B2System and method for operating in endian independent mode200518
US 7,047,383 B2Byte swap operation for a 64 bit operand20064
US 2006125663 A1Method and apparatus for implementing a bi-endian capable compiler—31

Non-Patent Literature (5)

  • "Cultivating inspiration for programming", Special topic 2, Part 2, NIKKEI Software, Issue 12, Series 6, Nikkei Business Publications, Inc., Dec. 2003, pp. 72-79.
  • "Enterprise PL/I for z/OS Language Reference Version 3 Release 3.0", IBM Corporation, No. SC27-1460-03, XP7920048, pp. 221-256, Oct. 2003.
  • "Interface", CQ Publishing Co., Ltd., Issued on Mar. 1, 1990, vol. 6, Issue 3, 10 pages.
  • "Interface", CQ Publishing Co., Ltd., Issued on May 1, 1994, vol. 20, Issue 5, 10 pages.
  • "Language Processor", Maruzen Co. Ltd., ISBN: 4-621-03877-X, Sep. 30, 1993, 14 Pages.