All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mesa 0/5] nouveau: codegen: Make use of double immediates
@ 2015-11-05 13:32 Hans de Goede
  2015-11-05 13:32 ` [PATCH mesa 2/5] nouveau: codegen: emit_gm107: Add support for " Hans de Goede
       [not found] ` <1446730358-8867-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Hans de Goede @ 2015-11-05 13:32 UTC (permalink / raw)
  To: Ilia Mirkin, mesa-dev, nouveau

Hi All,

This series implements using double immediates in the nouveau codegen code.

This turns the following (nvc0) code:
      1: mov u32 $r2 0x00000000 (8)
      2: mov u32 $r3 0x3fe00000 (8)
      3: add f64 $r0d $r0d $r2d (8)
    
Into:
      1: add f64 $r0d $r0d 0.500000 (8)

This has been tested with the 2 double shader tests which I just send to
the piglet list. On a gk208 (gk110 / SM35) card, and by checking the output
of nouveau_compiler with both nvdisasm and envydis on gf100 / gk104 / gm107.

Regards,

Hans
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-11-08 11:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-05 13:32 [PATCH mesa 0/5] nouveau: codegen: Make use of double immediates Hans de Goede
2015-11-05 13:32 ` [PATCH mesa 2/5] nouveau: codegen: emit_gm107: Add support for " Hans de Goede
     [not found] ` <1446730358-8867-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-05 13:32   ` [PATCH mesa 1/5] nouveau: codegen: emit_nvc0: " Hans de Goede
2015-11-05 13:32   ` [PATCH mesa 3/5] nouveau: codegen: Add support for merge-s to the ConstantFolding pass Hans de Goede
2015-11-05 13:32   ` [PATCH mesa 4/5] nouveau: codegen: Teach insnCanLoad about double immediates Hans de Goede
2015-11-05 13:32   ` [PATCH mesa 5/5] nouveau: codegen: Add support for 64bit immediates to checkSwapSrc01 Hans de Goede
2015-11-07  0:59   ` [PATCH mesa 0/5] nouveau: codegen: Make use of double immediates Ilia Mirkin
     [not found]     ` <CAKb7UvjGAs+U7ocx4=se58tT9tUcnGtA_-HaDUWxgUpxJmcLKA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-11-08 11:58       ` Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.