US 12,386,669 B2
Methods and apparatus to determine execution cost
Niranjan Hasabnis, Fremont, CA (US); Justin Gottschlich, Santa Clara, CA (US); Jesmin Jahan Tithi, San Jose, CA (US); and Anand Venkat, San Jose, CA (US)
Assigned to Intel Corporation, Santa Clara, CA (US)
Filed by Intel Corporation, Santa Clara, CA (US)
Filed on Dec. 2, 2021, as Appl. No. 17/541,016.
Prior Publication US 2022/0091895 A1, Mar. 24, 2022
Int. Cl. G06F 9/50 (2006.01); G06F 9/30 (2018.01); G06F 9/38 (2018.01); G06F 9/455 (2018.01)
CPC G06F 9/5044 (2013.01) [G06F 9/30101 (2013.01); G06F 9/3836 (2013.01); G06F 9/4552 (2013.01); G06F 9/5016 (2013.01); G06F 9/5038 (2013.01)] 21 Claims
OG exemplary drawing
 
1. An apparatus to generate a mapping table based on execution cost, the apparatus comprising:
memory;
instructions included in the apparatus; and
processor circuitry to execute the instructions to:
convert a plurality of instructions into mnemonics and operands;
generate converted instructions by replacing the operands with corresponding tokens;
generate unique pairs by combining respective ones of the plurality of instructions with the corresponding converted instructions;
execute a portion of the plurality of instructions corresponding to a mnemonic, the portion of the plurality of instructions selected from the generated pairs;
determine an average execution cost of the portion of the plurality of instructions;
determine a standard deviation of execution costs of the portion of the plurality of instructions; and
generate a mapping table including an entry, the entry including the mnemonic in association with the average and the standard deviation.