共查询到20条相似文献,搜索用时 46 毫秒
1.
Cobol到Java翻译中的数据类型转换方法 总被引:2,自引:0,他引:2
将Cobol代码迁移到新的平台,如Java是减轻Cobol代码维护负担的一个有效方法.怎样将Cobol数据平滑迁移到新平台则是必须解决的基本问题之一.以前的大部分研究工作都直接将Cob01数据映射到现代程序设计语言中的基本数据类型,比如int,float等.但是,这种简单映射并不能保持原来的Cobol语义,从而导致目标码并不能与原来的代码运行一致.首先利用数据抽象技术对Cobol数据进行初步建模,在此基础上进一步提出了一个纯Java的功能等价的封装方法,可以有效地将Cobol数据描述映射到Java类型系统.该方法已经在一个Cobol2Java翻译系统——C2J翻译器中得到实现,并且应用于一个近400万行的真实银行商用系统.实验结果表明,此方法可以在保持功能等价的情况下,将Cobol数据无需手工干预地迁移到Java平台. 相似文献
2.
3.
通常,PowerShell可以自动将数据转换为正确的数据类型。理解PowerShell处理数据类型的方式将帮助你了解何时需要控制和显式分配数据类型。 相似文献
4.
本文基于数据驱动机制,提出了一种描述数据流程图DFD的中间语言并实现了对它的编译,提出了关系矩阵,行列向量表示法等,采用双缓冲,递归下降子程序等方法实现了各种必需的编译分析及目标代码的生成,是一种有效的辅助MIS开发的工具。 相似文献
5.
编译器由于程序分析能力不足,无法自动实现循环向量化或者会造成盲目自动向量化。为此,提出一种基于编译指示的向量化方法。通过在代码中插入向量化编译指示语句,指导自动向量化编译工具的处理过程,自动生成高效的向量化代码。测试结果表明,该方法能够有效提高目标代码的运行性能。 相似文献
6.
本文简要分析了高校学生在Java语言数据类型学习时出现的问题,重点则对Java语言中会出现的各种数据类型进行了恰当分类,并对数据转换进行了细致、全面的探讨。 相似文献
7.
本文简要分析了高校学生在Java语言数据类型学习时出现的问题,重点则对Java语言中会出现的各种数据类型进行了恰当分类,并对数据转换进行了细致、全面的探讨. 相似文献
8.
异构数据库数据类型转换模型 总被引:6,自引:1,他引:6
近年来,异构数据的转换和集成是企业应用集成(EAI)一个重要部分.对异构数据库之间的数据转换和共享也成为其主要研究方向之一.在参考了其他数据转换模型的基础上,提出了基于XML文件的数据转换模型DCMHD(Data Conversion Model of HeterogeneousDatabase).通过模型自定义数据类型,数据库和数据库之间的数据转换可以简化为数据库与系统之间的数据转换,显著提高了系统的稳定性和可扩展性;并且采用XML作为传输介质,易于异构数据的传输和共享,最后给出了模型的主要实现. 相似文献
9.
支持模糊数据类型表示的模糊描述逻辑F-SHOIQ(G) 总被引:2,自引:1,他引:2
分析了现有描述逻辑在模糊知识和数据类型表示方面存在的问题,提出了一种新的模糊描述逻辑F-SHOIQ(G).F-SHOIQ(G)不仅能够表示模糊知识,而且能够表示含有自定义模糊数据类型及自定义模糊数据类型谓词的模糊数据信息.首先,给出了模糊数据类型域的概念和模糊数据类型表示的一般形式,在此基础上,定义了F-SHOIQ(G)的语法、语义及相应的知识库,进而给出了基于模糊Tableaux的F-SHOIQ(G)概念的可满足性推理算法.其次,将经典描述逻辑中的推理结构(该结构将Tableaux扩展规则推理和数据类型推理相分离)用于F-SHOIQ(G)的推理问题,设计了相应的模糊数据类型推理机.最后,详细证明了F-SHOIQ(G)概念的可满足性推理问题是可判定的.在数据类型表示方面,F-SHOIQ(G)具备比FSHOIQ更强的表达能力和推理能力,为语义Web表示和推理模糊数据信息提供了理论基础. 相似文献
10.
BWDSP是一款自主设计的国产VLIW(超长指令字)数字信号处理器,支持SIMD技术,其SIMD指令可以在4个宏上同时执行4个32位计算,对寄存器使用有特殊规则,Open64编译器的寄存器分配策略并不适用于这种规则.本文对BWDSP SIMD指令的寄存器分配优化技术进行了研究,并在BWDSP的编译器OCC上得以实现. 相似文献
11.
The Sethi-Ullman algorithm for register allocation finds an optimal ordering of a computation tree. Two simple generalizations of the algorithm increase its applicability without significantly increasing its cost. 相似文献
12.
Sunita Chandrasekaran Shilpa Shanbagh Ramkumar Jayaraman Douglas L. Maskell Hui Yan Cheah 《Journal of Parallel and Distributed Computing》2013
In this paper, we present a design methodology that uses a combined graphical and scheduling technique to map C-based high level language (HLL) based applications to FPGA. Although there are a number of approaches addressing the mapping from HLL to hardware, many of these existing solutions either require a steep learning curve or do not produce an appropriate mapping pattern for the hardware platform. We provide a solution to this problem, by analyzing the data flow and data dependencies in the given code and proposing a scheduling patterns for the given algorithm. We then provide a suitable mapping pattern for the hardware platform. We use the mapping pattern to deliver synthesizable HDL (Verilog) code. We demonstrate our design methodology with results from different real-time case studies that are based on different algorithms. 相似文献
13.
The problem of tracking data flow across procedure boundaries has a long history of theoretical study by people who believed that such information would be useful for code optimization. Building upon previous work, an algorithm for interprocedural data flow analysis has been implemented. The algorithm produces three flow-insensitive summary sets: MOD, USE and ALIASES. The utility of the resulting information was investigated using an optimizing Pascal compiler. Over a sampling of 27 bench-marks, new optimizations performed as a result of interprocedural summary information contributed almost nothing to program execution speed. Finally, related optimization techniques of possibly greater potential are discussed. 相似文献
14.
15.
L.M. Patnaik Prabal Bhattacharya R. Ganesh 《Computer Languages, Systems and Structures》1984,9(2):97-106
Many novel computer architectures like array and multiprocessors which achieve high performance through the use of concurrency exploit variations of the von Neumann model of computation. The effective utilization of the machines makes special demands on programmers and their programming languages, such as the structuring of data into vectors or the partitioning of programs into concurrent processes. In comparison, the data flow model of computation demands only that the principle of structured programming be followed. A data flow program, often represented as a data flow graph, is a program that expresses a computation by indicating the data dependencies among operators. A data flow computer is a machine designed to take advantage of concurrency in data flow graphs by executing data independent operations in parallel. In this paper, we discuss the design of a high level language (DFL: Data Flow Language) suitable for data flow computers. Some sample procedures in DFL are presented. The implementation aspects have not been discussed in detail since there are no new problems encountered. The language DFL embodies the concepts of functional programming, but in appearance closely resembles Pascal. The language is a better vehicle than the data flow graph for expressing a parallel algorithm. The compiler has been implemented on a DEC 1090 system in Pascal. 相似文献
16.
软件流水是一种重要的指令调度技术,通过重叠地执行不同的循环体来提高指令级并行性。模调度是一类重要的软件流水调度算法,保守的相关性分析可能会引入较多的模糊相关,这阻碍了模调度生成高效的调度结果。数据猜测能克服保守的相关性分析带来的调度限制,开发潜在的并行性。本文提出了模调度中的一种数据猜测方法,在开放源代码编译器ORC上实现了该方法,并用SPEC2000基准程序进行了测试,实验结果表明,该方法收到了较好的效果。 相似文献
17.
Emerging peephole optimizers can relieve code generators of much case analysis, but delaying code generation decisions requires register allocation algorithms that accept object code instead of the more usual intermediate code. This paper describes two programs that implement such algorithms for a retargetable optimizing compiler. In a machine-independent fashion, they allocate and assign registers, eliminate common subexpressions (including often-missed machine-specific ones), identify dead variables, and define windows for the companion peephole optimizer. Their techniques for handling machine-specific data should generalize to other optimizations as well. 相似文献
18.
19.
针对现有磁盘功率管理方法无法处理高能耗并行应用的短空闲周期、大规模的代码更改和能耗开销较大等问题,提出了一种面向编译器的数据访问调度技术。该技术包括两个阶段:在第一阶段,编译器分析并行应用程序,提取磁盘访问模式,然后生成调度表;在第二阶段,\"数据访问调度器\"根据调度表进行数据访问。与先前基于软件的策略相比,所提方法不需要改变代码或数据结构。实验评估结果表明,对于数据密集型工作负载,所提方法可以有效提升节能效果,节能率从5.5%上升到11.8%,从而增加了磁盘降速策略对数据密集型高性能计算的可行性。此外,它也将多速磁盘的节能效果从12.7%增加到了27.6%。 相似文献
20.
代码干扰变换在软件保护中的使用 总被引:2,自引:0,他引:2
付剑晶 《计算机应用与软件》2008,25(4):103-105
阐述了两种代码干扰变换:基于不透明谓词基础上变换、降级高级控制结构的变换.它们是对软件源代码做保持语义的变换,使得软件的反向工程实现困难,从而保护软件知识产权. 相似文献