发明名称 |
Method and apparatus for implementing a bi-endian capable compiler |
摘要 |
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. |
申请公布号 |
US8863103(B2) |
申请公布日期 |
2014.10.14 |
申请号 |
US200912454005 |
申请日期 |
2009.05.11 |
申请人 |
Intel Corporation |
发明人 |
Adiletta Matthew J.;Wilkinson Hugh;Kushlis Robert J. |
分类号 |
G06F9/45 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
Cho L. |
主权项 |
1. 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. |
地址 |
Santa Clara CA US |