Add helper for generating padding instructions
Improve code generation to avoid redundant context switches

Also remove remaining stack swapping logic by instead avoiding the red-
zone.
Enable performance test
Explicitly set trust threshold to 0 for the performance test