summaryrefslogtreecommitdiffstats
path: root/contrib/patch-x264-macintel.patch
blob: 93bc4193f45db95709dcd6e89fb1125437e80104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
--- x264/common/i386/i386inc.asm-old.asm     2007-05-01 16:45:02.000000000 -0400
+++ x264/common/i386/i386inc.asm     2007-05-02 11:48:52.000000000 -0400
@@ -42,12 +42,12 @@
 ; is unable to compute address offsets outside of .text so we use the .text
 ; section instead until NASM is fixed.
 %macro SECTION_RODATA 0
-    %ifidn __OUTPUT_FORMAT__,macho
-        SECTION .text align=16
-        fakegot:
-    %else
+;    %ifidn __OUTPUT_FORMAT__,macho
+;        SECTION .text align=16
+;        fakegot:
+;    %else
         SECTION .rodata align=16
-    %endif
+;    %endif
 %endmacro
 
 ; PIC support macros. All these macros are totally harmless when __PIC__ is
--- x264/common/i386/predict-a.asm	2006-09-23 14:01:05.000000000 -0400
+++ x264-patched/common/i386/predict-a.asm	2006-09-24 09:21:27.000000000 -0400
@@ -191,7 +191,6 @@
 %assign Y (Y-1)
     movq        [edx + Y*FDEC_STRIDE], mm1
 
-    picpop      ebx
     ret
 
 ;-----------------------------------------------------------------------------
@@ -228,7 +227,6 @@
 %assign Y (Y-1)
     movq        [edx + Y*FDEC_STRIDE], mm0
 
-    picpop      ebx
     ret
 
 ;-----------------------------------------------------------------------------
@@ -269,8 +267,7 @@
 %endrep
     movq        [edx +  Y   *FDEC_STRIDE], mm3
     movq        [edx + (Y+1)*FDEC_STRIDE], mm0
-
-    picpop      ebx
+    
     ret
 
 ;-----------------------------------------------------------------------------