-
公开(公告)号:CA2794154C
公开(公告)日:2019-09-10
申请号:CA2794154
申请日:2012-11-01
Applicant: IBM CANADA LTD IBM CANADA LIMITEE
Inventor: VASILEVSKIY ALEXANDER , TIAN YE
Abstract: An illustrative embodiment of a computer-implemented process for generating short displacement instructions comprises performing code generation by a compiler to generate an instruction, determining, by a computer, whether the generated instruction supports long displacement and responsive to a determination that the generated instruction does not support long displacement, determining whether a short displacement budget is full. Responsive to a determination that the short displacement budget is not full, mark data associated with the instruction in a symbol table maintained by the compiler, increment the short displacement budget using a size of the marked data associated with the instruction and responsive to a determination that the short displacement budget is full, perform a low cost fix up.
-
公开(公告)号:CA2794154A1
公开(公告)日:2014-05-01
申请号:CA2794154
申请日:2012-11-01
Applicant: IBM CANADA
Inventor: VASILEVSKIY ALEXANDER , TIAN YE
Abstract: An illustrative embodiment of a computer-implemented process for generating short displacement instructions comprises performing code generation by a compiler to generate an instruction, determining, by a computer, whether the generated instruction supports long displacement and responsive to a determination that the generated instruction does not support long displacement, determining whether a short displacement budget is full. Responsive to a determination that the short displacement budget is not full, mark data associated with the instruction in a symbol table maintained by the compiler, increment the short displacement budget using a size of the marked data associated with the instruction and responsive to a determination that the short displacement budget is full, perform a low cost fix up.
-