mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 05:50:11 +01:00
nv50/ir/gk110: add postfactor support for fmul
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
d8e0d1e882
commit
c8309cde30
1 changed files with 2 additions and 0 deletions
|
|
@ -489,6 +489,8 @@ CodeEmitterGK110::emitFMUL(const Instruction *i)
|
|||
assert(i->postFactor == 0);
|
||||
} else {
|
||||
emitForm_21(i, 0x234, 0xc34);
|
||||
code[1] |= ((i->postFactor > 0) ?
|
||||
(7 - i->postFactor) : (0 - i->postFactor)) << 12;
|
||||
|
||||
RND_(2a, F);
|
||||
FTZ_(2f);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue