Skip to content

[x86 / Refactor] PostPeepholeOptTestOr: two new instructions and debug messages updated

Summary

This merge request updates the new debug messages inserted by @FPK2 to be slightly different depending on what the previous instruction is. Also, BZHI and BEXTR have been added as valid previous instructions (although this doesn't have any affect yet since no optimisations currently produce these instructions, but this will change in future)

System

  • Processor architecture: i386, x86_64

What is the current bug behavior?

N/A

What is the behavior after applying this patch?

Under -dDEBUG_AOPTCPU, the output debug messages now give more information as to which optimizer code path was taken. Since BZHI and BEXTR aren't yet generated, generated code doesn't actually change.

Merge request reports