[Mesa-dev] [PATCH v2] R600/SI: Add pattern for AMDGPUurecip

Michel Dänzer michel at daenzer.net
Wed Apr 10 03:21:40 PDT 2013


On Mit, 2013-04-10 at 12:07 +0200, Christian König wrote: 
> Am 10.04.2013 11:46, schrieb Michel Dänzer:
> > From: Michel Dänzer <michel.daenzer at amd.com>
> >
> > 21 more little piglits with radeonsi.
> >
> > Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> You figured it out, great!

I figured out what? :) This is the same patch I sent out a couple of
weeks ago as a followup in one of your patch series.


> But why the heck is multiplying with 0x4f800000 fixing the result?

I'm afraid I can't explain how it works, I basically copied it from the
Cayman section in R600Instructions.td... 

-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the llvm-commits mailing list