mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 02:30:24 +01:00
gallium: added ppc_vnmsubfp()
This commit is contained in:
parent
54d684f23d
commit
7640264064
2 changed files with 12 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -97,10 +97,14 @@ ppc_vminfp(struct ppc_function *p, uint vD, uint vA, uint vB);
|
|||
extern void
|
||||
ppc_vmaxfp(struct ppc_function *p, uint vD, uint vA, uint vB);
|
||||
|
||||
/** vector float mult add */
|
||||
/** vector float mult add: vD = vA * vB + vC */
|
||||
extern void
|
||||
ppc_vmaddfp(struct ppc_function *p, uint vD, uint vA, uint vB, uint vC);
|
||||
|
||||
/** vector float negative mult subtract: vD = vA - vB * vC */
|
||||
extern void
|
||||
ppc_vnmsubfp(struct ppc_function *p, uint vD, uint vA, uint vB, uint vC);
|
||||
|
||||
/** vector float compare greater than */
|
||||
extern void
|
||||
ppc_vcmpgtfpx(struct ppc_function *p, uint vD, uint vA, uint vB);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue