dotnet/runtime

Consider adding a stress mode which prefers registers with different encoding characteristics

Open

#10.647 aperta il 9 lug 2018

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)C# (5445 fork)batch import
area-CodeGen-coreclrhelp wantedtest-enhancement

Metriche repository

Star
 (17.886 star)
Metriche merge PR
 (Merge medio 12g 11h) (661 PR mergiate in 30 g)

Descrizione

On various architectures there exist registers that require different encoding characteristics. For example, on x64 there are additional registers available (R8-R15 and XMM8-XMM15), which require the use of the REX prefix (or a VEX-encoded instruction).

Given that these change how the instruction is encoded, it would be beneficial if there was a stress-mode that would prefer these registers in order to help validate that the emitter has them properly handled.

category:testing theme:register-allocator skill-level:beginner cost:small

Guida contributor