search for: generatememoryfolding

Displaying 2 results from an estimated 2 matches for "generatememoryfolding".

2017 Jul 23
2
[X86] Memory folding tables in x86 backend
...uctions with a > flag? I.e. for the rm variant, add a flag that says "this has an > equivalent register operand version". Given that a lot of the instruction > patterns are created via multi-classes, I would expect that to require a > lot less than 5200 updates. +1 An opt-in ‘GenerateMemoryFolding’ style flag (defaulting to false) seems safer to me than than trying to ensure you’ve correctly flagged all illegal instruction fold. You could then enable the flag on individual groups of instructions/multi-classes, testing and removing them from the manual tables in a relatively controlled fashi...
2017 Jul 23
2
[X86] Memory folding tables in x86 backend
Hi all, Memory fold tables: Two way mapping of each register-form instruction to its corresponding memory-form instruction. E.g. Mapping 'X86::ADD32rr' to 'X86::ADD32rm'. Few months ago I started an effort to auto-generate the X86 memory folding tables currently held under lib/Target/X86/X86InstInfo.cpp as huge manually-maintained static arrays. Automating the tables would reduce