发明名称 OBJECT GENERATION SYSTEM OF 2N INTEGER RESIDUE
摘要 PURPOSE:To efficiently execute the integer residue calculation of 2<n> especially by converting an argument and 2<n>-1 into a binary number, and generating an AND instruction to take the logic AND of both numbers, and executing the integer residue calculation containing the AND instruction. CONSTITUTION:It is a method to be carried out as follows. The integer residue calculation of 2<n> is set in a source program 1, and in a FORTRAN compiler 2, the AND of M, i.e., 2<n>-1, converted into the binary number, and N, i.e., the argument (a), expressed by the binary number, is taken, and the lowest digit, i.e., the residue is left. An AND instruction code generation system is given. The shift instruction code of an operation processing which makes an object program 3 execute an efficient processing is generated according to said AND instruction code and the object program 3 containing the generated AND instruction is executed. Thus, since the integer residue calculation processing through 2<n> can be processed by generating the AND instruction code, an execution object performance is improved.
申请公布号 JPS63259728(A) 申请公布日期 1988.10.26
申请号 JP19870093018 申请日期 1987.04.17
申请人 HITACHI LTD 发明人 HAMAGUCHI NOBUYUKI
分类号 G06F9/45;G06F9/44 主分类号 G06F9/45
代理机构 代理人
主权项
地址