On May 25, 2011, at 4:26 PM, Bruno Cardoso Lopes wrote:

> Jakob, I
> agree that regalloc stuff is gross, but since both instructions are
> only used by these intrinsic right now the impact isn't great. Also,
> I'm not sure how to make it cleaner, can you point to some code that
> model the even/odd pair constraint explicitly in a more elegant way?

Eventually, I would like to do something similar to the QQ register class: 
Model the constraint as pseudo-super-registers R0_R1, R2_R3, ...

So far, this requires pseudo-instructions and tedious register class 
definitions. It also affects register allocation compile time by creating more 
register aliases.

Until these problems can be resolved, your solution is fine.

/jakob

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to