[xiph-commits] r17248 - experimental/derf/theora-ptalarbvorm/lib/x86

tterribe at svn.xiph.org tterribe at svn.xiph.org
Thu May 27 23:29:12 PDT 2010


Author: tterribe
Date: 2010-05-27 23:29:12 -0700 (Thu, 27 May 2010)
New Revision: 17248

Modified:
   experimental/derf/theora-ptalarbvorm/lib/x86/sse2trans.h
Log:
Fix 32-bit 8x8 SSE transpose, which I broke in r17247.


Modified: experimental/derf/theora-ptalarbvorm/lib/x86/sse2trans.h
===================================================================
--- experimental/derf/theora-ptalarbvorm/lib/x86/sse2trans.h	2010-05-28 05:35:32 UTC (rev 17247)
+++ experimental/derf/theora-ptalarbvorm/lib/x86/sse2trans.h	2010-05-28 06:29:12 UTC (rev 17248)
@@ -108,7 +108,7 @@
 #  define OC_TRANSPOSE_8x8 \
  "#OC_TRANSPOSE_8x8\n\t" \
  /*buf[0] = a7 a6 a5 a4 a3 a2 a1 a0*/ \
- "movdqa %%xmm0,"OC_ARRAY_OFFS(0x00,buf)"\n\t" \
+ "movdqa %%xmm0,"OC_MEM_OFFS(0x00,buf)"\n\t" \
  /*xmm0 is free.*/ \
  "movdqa %%xmm2,%%xmm0\n\t" \
  /*xmm2 = d7 c7 d6 c6 d5 c5 d4 c4*/ \
@@ -116,9 +116,9 @@
  /*xmm0 = d3 c3 d2 c2 d1 c1 d0 c0*/ \
  "punpcklwd %%xmm3,%%xmm0\n\t" \
  /*xmm3 = a7 a6 a5 a4 a3 a2 a1 a0*/ \
- "movdqa "OC_ARRAY_OFFS(0x00,buf)",%%xmm3\n\t" \
+ "movdqa "OC_MEM_OFFS(0x00,buf)",%%xmm3\n\t" \
  /*buf[1] = d7 c7 d6 c6 d5 c5 d4 c4*/ \
- "movdqa %%xmm2,"OC_ARRAY_OFFS(0x10,buf)"\n\t" \
+ "movdqa %%xmm2,"OC_MEM_OFFS(0x10,buf)"\n\t" \
  /*xmm2 is free.*/ \
  "movdqa %%xmm6,%%xmm2\n\t" \
  /*xmm6 = h3 g3 h2 g2 h1 g1 h0 g0*/ \
@@ -144,9 +144,9 @@
  /*xmm1 = h7 g7 f7 e7 h6 g6 f6 e6*/ \
  "punpckhdq %%xmm2,%%xmm1\n\t" \
  /*xmm2 = d7 c7 d6 c6 d5 c5 d4 c4*/ \
- "movdqa "OC_ARRAY_OFFS(0x10,buf)",%%xmm2\n\t" \
+ "movdqa "OC_MEM_OFFS(0x10,buf)",%%xmm2\n\t" \
  /*buf[0] = h7 g7 f7 e7 h6 g6 f6 e6*/ \
- "movdqa %%xmm1,"OC_ARRAY_OFFS(0x00,buf)"\n\t" \
+ "movdqa %%xmm1,"OC_MEM_OFFS(0x00,buf)"\n\t" \
  /*xmm1 is free.*/ \
  "movdqa %%xmm3,%%xmm1\n\t" \
  /*xmm3 = d3 c3 b3 a3 d2 c2 b2 a2*/ \
@@ -172,9 +172,9 @@
  /*xmm2 = h0 g0 f0 e0 d0 c0 b0 a0*/ \
  "punpcklqdq %%xmm0,%%xmm2\n\t" \
  /*xmm0 = h7 g7 f7 e7 h6 g6 f6 e6*/ \
- "movdqa "OC_ARRAY_OFFS(0x00,buf)",%%xmm0\n\t" \
+ "movdqa "OC_MEM_OFFS(0x00,buf)",%%xmm0\n\t" \
  /*buf[1] = h0 g0 f0 e0 d0 c0 b0 a0*/ \
- "movdqa %%xmm2,"OC_ARRAY_OFFS(0x10,buf)"\n\t" \
+ "movdqa %%xmm2,"OC_MEM_OFFS(0x10,buf)"\n\t" \
  /*xmm2 is free.*/ \
  "movdqa %%xmm3,%%xmm2\n\t" \
  /*xmm3 = h3 g3 f3 e3 d3 c3 b3 a3*/ \
@@ -194,7 +194,7 @@
  /*xmm7 = h7 g7 f7 e7 d7 c7 b7 a7*/ \
  "punpckhqdq %%xmm0,%%xmm7\n\t" \
  /*xmm0 = h0 g0 f0 e0 d0 c0 b0 a0*/ \
- "movdqa "OC_ARRAY_OFFS(0x10,buf)",%%xmm0\n\t" \
+ "movdqa "OC_MEM_OFFS(0x10,buf)",%%xmm0\n\t" \
 
 # endif
 



More information about the commits mailing list