Subregister support #1141
Labels
bugzilla
Issues migrated from bugzilla
duplicate
Resolved as duplicate
enhancement
Improving things as opposed to bug fixing, e.g. new or missing feature
llvm:codegen
Extended Description
This bug is to cover the work necessary in tablegen and the common code generator to support
subregisters. This will intially be used by PowerPC for condition registers, but will be extended to be
used by x86 for 8 and 16 bit (and 32 bit?) subregs.
An pseudocode example of this will basically look like:
virtual reg 1024, 1025 = CRField register class
virtual reg 1026 = CRBits register class
1024 = seteq X, Y
1025 = seteq W, Z
1026 = crand 1024.subreg(EQ), 1025.subreg(EQ)
br_cc 1026, mbb5
where EQ will be the subreg number of the "EQ" field in the CRField register class.
The text was updated successfully, but these errors were encountered: