The document describes an automatic approach to generating peephole superoptimizers. It discusses: 1) Using an enumerator to exhaustively generate candidate instruction sequences to find optimal replacements for harvested target sequences from training programs. 2) A design that includes canonicalization to handle register/constant renaming, fingerprinting to map sequences to targets, and an equivalence test comprising execution and boolean checks. 3) Experimental results showing the approach finds significant optimizations, improving optimized code by 1-10x, with some rules used over 1000 times.