Re: [Mesa-dev] [PATCH] R600: Relax some vector constraints on Dot4.

2013-03-15 Thread Christian König
registers with this patch. Vincent - Mail original - De : Christian König À : Vincent Lejeune Cc : llvm-comm...@cs.uiuc.edu; mesa-dev@lists.freedesktop.org Envoyé le : Vendredi 15 mars 2013 11h18 Objet : Re: [Mesa-dev] [PATCH] R600: Relax some vector constraints on Dot4. Hi Vincent, while I r

Re: [Mesa-dev] [PATCH] R600: Relax some vector constraints on Dot4.

2013-03-15 Thread Vincent Lejeune
gt; Cc : llvm-comm...@cs.uiuc.edu; mesa-dev@lists.freedesktop.org > Envoyé le : Vendredi 15 mars 2013 11h18 > Objet : Re: [Mesa-dev] [PATCH] R600: Relax some vector constraints on Dot4. > > Hi Vincent, > > while I really appreciate your work, I think you're development is

Re: [Mesa-dev] [PATCH] R600: Relax some vector constraints on Dot4.

2013-03-15 Thread Christian König
Hi Vincent, while I really appreciate your work, I think you're development is going into the wrong direction here. Those copies you're trying to avoid (not only with this patch, but also with the previous REG_SEQUENCE patches), shouldn't happen in the first place. I'm not so deeply into the R

[Mesa-dev] [PATCH] R600: Relax some vector constraints on Dot4.

2013-03-14 Thread Vincent Lejeune
Dot4 now uses 8 scalar operands instead of 2 vectors one which allows register coalescer to remove some unneeded COPY. This patch also defines some structures/functions that can be used to handle every vector instructions (CUBE, Cayman special instructions...) in a similar fashion. --- lib/Target/