aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/rtasm
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-10-10 14:35:56 -0600
committerBrian Paul <[email protected]>2008-10-10 14:36:18 -0600
commit78c67a726fff052abeb03417283504a5dd521665 (patch)
treed24d829f6a83de8e2cb2de2e6df67895f21bdbcf /src/gallium/auxiliary/rtasm
parent53ae243869a9e1ff0f2b1c559ec51adff867b970 (diff)
cell: fix assertions in spe_lqd(), spe_stqd()
Diffstat (limited to 'src/gallium/auxiliary/rtasm')
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_ppc_spe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_ppc_spe.c b/src/gallium/auxiliary/rtasm/rtasm_ppc_spe.c
index 9bf3b9bf0ca..5b0f6bdd482 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_ppc_spe.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_ppc_spe.c
@@ -559,7 +559,7 @@ void spe_lqd(struct spe_function *p, unsigned rT, unsigned rA, int offset)
const boolean pSave = p->print;
p->print = FALSE;
- assert(offset % 4 == 0);
+ assert(offset % 16 == 0);
emit_RI10(p, 0x034, rT, rA, offset >> 4, "spe_lqd");
p->print = pSave;
@@ -579,7 +579,7 @@ void spe_stqd(struct spe_function *p, unsigned rT, unsigned rA, int offset)
const boolean pSave = p->print;
p->print = FALSE;
- assert(offset % 4 == 0);
+ assert(offset % 16 == 0);
emit_RI10(p, 0x024, rT, rA, offset >> 4, "spe_stqd");
p->print = pSave;