US 12,436,750 B2
Selecting an epilogue vectorization factor for use in computer processing
Bardia Mahjour, Newmarket (CA); Ettore Tiotto, Whitby (CA); and Wai Hung Tsang, Markham (CA)
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed by INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed on Nov. 24, 2021, as Appl. No. 17/456,411.
Prior Publication US 2023/0161573 A1, May 25, 2023
Int. Cl. G06F 8/41 (2018.01)
CPC G06F 8/4441 (2013.01) 20 Claims
OG exemplary drawing
 
1. A computer program product for facilitating processing within a computing environment, the computer program product comprising:
one or more computer readable storage media and program instructions collectively stored on the one or more computer readable storage media to perform a method comprising:
determining a likely epilogue trip count for an epilogue loop in program code, the determining the likely epilogue trip count including using an equation that is based on a maximum epilogue trip count for the epilogue loop;
automatically selecting a vectorization factor to be used in vectorization of the epilogue loop in the program code, wherein the automatically selecting includes selecting the vectorization factor from a plurality of candidate vectorization factors based on one or more considerations relating to vectorizing the epilogue loop, wherein selection of the plurality of candidate vectorization factors uses the likely epilogue trip count; and
using the vectorization factor that is automatically selected in vectorizing the epilogue loop.