diff options
author | Brian Paul <[email protected]> | 2008-10-29 11:03:51 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-10-29 11:03:51 -0600 |
commit | 7640264064c2cbc9922f7f3df51f7caa7b449e8e (patch) | |
tree | 8286abb37f9503de0a8e85e01b2b8d33fe323c96 /src/gallium/auxiliary/rtasm/rtasm_ppc.c | |
parent | 54d684f23d3fb723d7f226b5ce093248476ab26a (diff) |
gallium: added ppc_vnmsubfp()
Diffstat (limited to 'src/gallium/auxiliary/rtasm/rtasm_ppc.c')
-rw-r--r-- | src/gallium/auxiliary/rtasm/rtasm_ppc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_ppc.c b/src/gallium/auxiliary/rtasm/rtasm_ppc.c index 7dd82637494..a90b5587b0f 100644 --- a/src/gallium/auxiliary/rtasm/rtasm_ppc.c +++ b/src/gallium/auxiliary/rtasm/rtasm_ppc.c @@ -505,6 +505,13 @@ ppc_vmaddfp(struct ppc_function *p, uint vD, uint vA, uint vB, uint vC) emit_va(p, 46, vD, vA, vC, vB); /* note arg order */ } +/** vector float negative mult subtract: vD = vA - vB * vC */ +void +ppc_vnmsubfp(struct ppc_function *p, uint vD, uint vA, uint vB, uint vC) +{ + emit_va(p, 47, vD, vB, vA, vC); /* note arg order */ +} + /** vector float compare greater than */ void ppc_vcmpgtfpx(struct ppc_function *p, uint vD, uint vA, uint vB) |