-
公开(公告)号:US08578357B2
公开(公告)日:2013-11-05
申请号:US12643216
申请日:2009-12-21
IPC分类号: G06F9/45
摘要: In one embodiment of the invention code (e.g., compiler, tool) may generate information so a first code portion, which includes a pointer value in a first endian format (e.g., big endian), can be properly initialized and executed on a platform having a second endian format (e.g., little endian). Also, various embodiments of the invention may identify problematic regions of code (e.g., source code) where a particular byte order is cast away through void pointers.
摘要翻译: 在本发明的一个实施例中,代码(例如,编译器,工具)可以生成信息,从而可以在具有第一端格式(例如,大端序号)的指针值的第一代码部分适当地初始化和执行第一代码部分, 第二个字符串格式(例如,小尾数)。 此外,本发明的各种实施例可以标识出有问题的代码区域(例如,源代码),其中通过void指针丢弃特定字节顺序。
-
公开(公告)号:US20110154306A1
公开(公告)日:2011-06-23
申请号:US12643006
申请日:2009-12-21
IPC分类号: G06F9/45
CPC分类号: A61K31/197 , A61K38/26 , A61K38/38 , A61K39/39533 , G06F8/51 , G06F8/76
摘要: An embodiment of the invention includes code, such as a compiler, that enables byte order dependent code to execute on opposite byte order dependent architectures or systems. The compiler analyzes source code and produces diagnostic reports that indicate where source code changes are desirable to produce “endian neutral” source code versions that are compatible with opposite byte order dependent architectures or systems. Such source code changes may be desirable for code portions that will produce implicit byte order changes or byte order border crossings. The modified source code that is generated may include the semantics of the desired endian conversion, as opposed to generated executable code that includes proper endian formats but which may limit the architectures to which the code is applicable.
摘要翻译: 本发明的实施例包括诸如编译器的代码,其使得能够在相反的与字节顺序有关的体系结构或系统上执行字节顺序相关代码。 编译器分析源代码并生成诊断报告,指示源代码更改是否需要产生与字节顺序相反的体系结构或系统兼容的“端序中性”源代码版本。 对于将产生隐式字节顺序改变或字节顺序交叉的代码部分,这样的源代码改变可能是期望的。 所生成的修改的源代码可以包括期望的端序转换的语义,而不是生成包括适当的端格式的可执行代码,但是这可以限制代码适用的架构。
-
公开(公告)号:US20060125663A1
公开(公告)日:2006-06-15
申请号:US11010490
申请日:2004-12-13
申请人: Matthew Adiletta , Hugh Wilkinson , Robert Kushlis
发明人: Matthew Adiletta , Hugh Wilkinson , Robert Kushlis
IPC分类号: H03M7/34
摘要: 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.
-
公开(公告)号:US08661421B2
公开(公告)日:2014-02-25
申请号:US12643006
申请日:2009-12-21
IPC分类号: G06F9/45
CPC分类号: A61K31/197 , A61K38/26 , A61K38/38 , A61K39/39533 , G06F8/51 , G06F8/76
摘要: An embodiment of the invention includes code, such as a compiler, that enables byte order dependent code to execute on opposite byte order dependent architectures or systems. The compiler analyzes source code and produces diagnostic reports that indicate where source code changes are desirable to produce “endian neutral” source code versions that are compatible with opposite byte order dependent architectures or systems. Such source code changes may be desirable for code portions that will produce implicit byte order changes or byte order border crossings. The modified source code that is generated may include the semantics of the desired endian conversion, as opposed to generated executable code that includes proper endian formats but which may limit the architectures to which the code is applicable.
摘要翻译: 本发明的实施例包括诸如编译器的代码,其使得能够在相反的与字节顺序有关的体系结构或系统上执行字节顺序相关代码。 编译器分析源代码并生成诊断报告,指示源代码更改是否需要产生与字节顺序相反的体系结构或系统兼容的“端序中性”源代码版本。 对于将产生隐式字节顺序改变或字节顺序交叉的代码部分,这样的源代码改变可能是期望的。 所生成的修改的源代码可以包括期望的端序转换的语义,而不是生成包括适当的端格式的可执行代码,但是这可以限制代码适用的架构。
-
公开(公告)号:US07653069B2
公开(公告)日:2010-01-26
申请号:US11322993
申请日:2005-12-30
CPC分类号: H04L47/621 , H04L47/50 , H04L47/60 , H04L47/6215
摘要: In a node to forward data on a switch fabric, a method that includes scheduling the forwarding of data associated with one of a plurality of traffic classes. The data is to be transmitted through one of a plurality of ports coupled to the switch fabric, each port to be associated with a queue to store data to be forwarded from that port. The scheduling is to include a two stage arbitration scheme. The first stage is to select one queue associated for each traffic class. The second stage is to select one queue from among the queues selected for each traffic class selected in the first stage.
摘要翻译: 在用于在交换结构上转发数据的节点中,包括调度与多个业务类中的一个相关联的数据的转发的方法。 数据将通过耦合到交换结构的多个端口中的一个发送,每个端口与队列相关联,以存储要从该端口转发的数据。 调度是包括两阶段仲裁方案。 第一阶段是选择与每个流量类相关联的一个队列。 第二阶段是从在第一阶段中选择的每个流量类别选择的队列中选择一个队列。
-
26.
公开(公告)号:US20090222800A1
公开(公告)日:2009-09-03
申请号:US12454005
申请日:2009-05-11
IPC分类号: G06F9/45
摘要: 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.
摘要翻译: 一种编译代码的方法包括将端序类型分配给数据。 根据数据的末端类型和目标系统执行端序翻转操作。 描述和要求保护其他实施例。
-
-
-
-
-