gallium: added ppc_lvewx()

This commit is contained in:
Brian Paul 2008-10-22 11:06:39 -06:00
parent 3aea9c463b
commit 049f57f86a
2 changed files with 11 additions and 0 deletions

View file

@ -582,6 +582,13 @@ ppc_lvx(struct ppc_function *p, uint vR, uint vA, uint vB)
emit_x(p, 31, vR, vA, vB, 103);
}
/** load vector element word: vR = mem_word[vA+vB] */
void
ppc_lvewx(struct ppc_function *p, uint vR, uint vA, uint vB)
{
emit_x(p, 31, vR, vA, vB, 71);
}
/**

View file

@ -153,6 +153,10 @@ ppc_stvx(struct ppc_function *p, uint vR, uint vA, uint vB);
extern void
ppc_lvx(struct ppc_function *p, uint vR, uint vA, uint vB);
/** load vector element word: vR = mem_word[vA+vB] */
extern void
ppc_lvewx(struct ppc_function *p, uint vR, uint vA, uint vB);
/**