We don't currently reject r8-r15 or xmm8-32 in 32-bit mode.
I think we're probably also missing blocking sil/dil/spl/bpl but that probably requires a different fix strategy.
Differential D44031
[X86] Reject registers that require a REX prefix in inline asm constraints in 32-bit mode craig.topper on Mar 2 2018, 10:39 AM. Authored by
Details We don't currently reject r8-r15 or xmm8-32 in 32-bit mode. I think we're probably also missing blocking sil/dil/spl/bpl but that probably requires a different fix strategy.
Diff Detail
Event TimelineComment Actions Fix spl/bpl/sil/dil as well Use existing isX86_64ExtendedReg and isX86_64NonExtLowByteReg to detect the registers we need to flag. |