Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 76927 Details for
Bug 104966
ffmpeg/xine-lib-1.1.0-r3 dies during compile on x86 w/ GCC 4 due to PIC
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Alternative patch for dsputil_mmx.c
dsputil_mmx_regstarve.patch (text/plain), 1.48 KB, created by
Kevin F. Quinn (RETIRED)
on 2006-01-12 11:33:26 UTC
(
hide
)
Description:
Alternative patch for dsputil_mmx.c
Filename:
MIME Type:
Creator:
Kevin F. Quinn (RETIRED)
Created:
2006-01-12 11:33:26 UTC
Size:
1.48 KB
patch
obsolete
>--- libavcodec/i386/dsputil_mmx.c.orig 2006-01-12 12:04:54.000000000 +0100 >+++ libavcodec/i386/dsputil_mmx.c 2006-01-12 12:59:02.000000000 +0100 >@@ -619,10 +619,22 @@ > > static inline void transpose4x4(uint8_t *dst, uint8_t *src, int dst_stride, int src_stride){ > asm volatile( //FIXME could save 1 instruction if done as 8x4 ... >- "movd %4, %%mm0 \n\t" >- "movd %5, %%mm1 \n\t" >- "movd %6, %%mm2 \n\t" >- "movd %7, %%mm3 \n\t" >+ "movd %0, %%mm0 \n\t" >+ "movd %1, %%mm1 \n\t" >+ >+ : >+ : "m" (*(uint32_t*)(src + 0*src_stride)), >+ "m" (*(uint32_t*)(src + 1*src_stride)) >+ ); >+ asm volatile( //FIXME could save 1 instruction if done as 8x4 ... >+ "movd %0, %%mm2 \n\t" >+ "movd %1, %%mm3 \n\t" >+ >+ : >+ : "m" (*(uint32_t*)(src + 2*src_stride)), >+ "m" (*(uint32_t*)(src + 3*src_stride)) >+ ); >+ asm volatile( //FIXME could save 1 instruction if done as 8x4 ... > "punpcklbw %%mm1, %%mm0 \n\t" > "punpcklbw %%mm3, %%mm2 \n\t" > "movq %%mm0, %%mm1 \n\t" >@@ -639,10 +651,6 @@ > "=m" (*(uint32_t*)(dst + 1*dst_stride)), > "=m" (*(uint32_t*)(dst + 2*dst_stride)), > "=m" (*(uint32_t*)(dst + 3*dst_stride)) >- : "m" (*(uint32_t*)(src + 0*src_stride)), >- "m" (*(uint32_t*)(src + 1*src_stride)), >- "m" (*(uint32_t*)(src + 2*src_stride)), >- "m" (*(uint32_t*)(src + 3*src_stride)) > ); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 104966
:
67837
|
67947
|
67980
|
67981
|
76927
|
77067
|
77071