The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Feb. 26, 2019
Filed:
Apr. 18, 2018
International Business Machines Corporation, Armonk, NY (US);
Motohiro Kawahito, Kanagawa-ken, JP;
International Business Machines Corporation, Armonk, NY (US);
Abstract
Method, program and system for code optimization. A sign assignment instruction with input and output operands identical in size, which assigns a value of zero to a packed decimal data value that has a value of negative zero, is detected in source code or an executable program. A first instruction that checks for a possibility that the input operand is negative zero is generated based on that detection. The first instruction skips the sign assignment instruction when the input and output operand have identical addresses when and there is no possibility that the input value is negative zero; and executes a copy instruction copying the input value in the input operand to the output operand when the input and output operands have different addresses and are not overlapping. The first instruction is inserted into one of the source code or the binary executable program that is output.