Re: [Mesa-dev] [PATCH 4/4] R600: Fold immediates into ALU instructions when possible

2012-11-13 Thread Tom Stellard
On Tue, Nov 13, 2012 at 07:41:20AM -0800, Vincent Lejeune wrote: > > > > > - Mail original - > > De : Tom Stellard > > À : mesa-dev@lists.freedesktop.org > > Cc : Tom Stellard > > Envoyé le : Vendredi 9 novembre 2012 21h47 > > Objet : [Mes

Re: [Mesa-dev] [PATCH 4/4] R600: Fold immediates into ALU instructions when possible

2012-11-13 Thread Vincent Lejeune
- Mail original - > De : Tom Stellard > À : mesa-dev@lists.freedesktop.org > Cc : Tom Stellard > Envoyé le : Vendredi 9 novembre 2012 21h47 > Objet : [Mesa-dev] [PATCH 4/4] R600: Fold immediates into ALU instructions > when possible > > From: Tom Stellar

[Mesa-dev] [PATCH 4/4] R600: Fold immediates into ALU instructions when possible

2012-11-09 Thread Tom Stellard
From: Tom Stellard --- lib/Target/AMDGPU/R600ISelLowering.cpp | 65 ++--- lib/Target/AMDGPU/R600InstrInfo.cpp | 40 +++ lib/Target/AMDGPU/R600InstrInfo.h | 12 + test/CodeGen/R600/fcmp-cnd.ll | 4 +- test/C