packages: ffcall/ffcall-sparc64.patch - updated
tommat
tommat at pld-linux.org
Mon Jun 29 23:18:26 CEST 2009
Author: tommat Date: Mon Jun 29 21:18:26 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- updated
---- Files affected:
packages/ffcall:
ffcall-sparc64.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/ffcall/ffcall-sparc64.patch
diff -u packages/ffcall/ffcall-sparc64.patch:1.1 packages/ffcall/ffcall-sparc64.patch:1.2
--- packages/ffcall/ffcall-sparc64.patch:1.1 Mon Jun 29 23:10:29 2009
+++ packages/ffcall/ffcall-sparc64.patch Mon Jun 29 23:18:21 2009
@@ -216,3 +216,1831 @@
iret;
});
+--- avcall/avcall-sparc64.S.orig 2005-05-23 12:17:21.000000000 +0200
++++ avcall/avcall-sparc64.S 2008-10-09 22:10:17.000000000 +0200
+@@ -1,937 +1,907 @@
+ #include "asmsparc.h"
+ .file "avcall-sparc64.c"
+- .version "01.01"
+-.section ".text"
++ .section ".text"
+ .align 4
++ .align 32
+ .global __builtin_avcall
+ DECLARE_FUNCTION(__builtin_avcall)
+- .type __builtin_avcall,$function
+ .proc 04
+ __builtin_avcall:
+- !$PROLOGUE$ 0
+- save %sp, -2288, %sp
+- !$PROLOGUE$ 1
+- ldx [%i0+40], %g3
+- ld [%i0+60], %o7
+- add %g3, -72, %g3
+- add %sp, 136, %g1
+- sub %g3, %i0, %g3
+- cmp %o7, 0
+- sdivx %g3, 8, %g3
+- be,pn %icc, .LL3
+- sra %g3, 0, %l3
+- and %o7, 1, %g3
+- cmp %g3, 0
+- be,pn %icc, .LL161
+- and %o7, 2, %g3
+- ld 72(%i0),%f1
+- and %o7, 2, %g3
+-.LL161:
+- cmp %g3, 0
+- be,pn %icc, .LL162
+- and %o7, 4, %g3
+- ld 80(%i0),%f3
+- and %o7, 4, %g3
+-.LL162:
+- cmp %g3, 0
+- be,pn %icc, .LL163
+- and %o7, 8, %g3
+- ld 88(%i0),%f5
+- and %o7, 8, %g3
+-.LL163:
+- cmp %g3, 0
+- be,pn %icc, .LL164
+- and %o7, 16, %g3
+- ld 96(%i0),%f7
+- and %o7, 16, %g3
+-.LL164:
+- cmp %g3, 0
+- be,pn %icc, .LL165
+- and %o7, 32, %g3
+- ld 104(%i0),%f9
+- and %o7, 32, %g3
+-.LL165:
+- cmp %g3, 0
+- be,pn %icc, .LL166
+- and %o7, 64, %g3
+- ld 112(%i0),%f11
+- and %o7, 64, %g3
+-.LL166:
+- cmp %g3, 0
+- be,pn %icc, .LL167
+- and %o7, 128, %g3
+- ld 120(%i0),%f13
+- and %o7, 128, %g3
+-.LL167:
+- cmp %g3, 0
+- be,pn %icc, .LL168
+- and %o7, 256, %g3
+- ld 128(%i0),%f15
+- and %o7, 256, %g3
++ .register %g2, $scratch
++ .register %g3, $scratch
++ save %sp, -192, %sp
++ ldx [%i0+40], %g1
++ add %i0, 64, %g2
++ lduw [%i0+60], %g3
++ sub %g1, %g2, %g1
++ cmp %g3, 0
++ be,pt %icc, .LL2
++ srlx %g1, 3, %o7
++ andcc %g3, 1, %g0
++ bne,pt %xcc, .LL161
++ andcc %g3, 2, %g0
++ bne,pt %xcc, .LL162
++ andcc %g3, 4, %g0
++.LL222:
++ bne,pt %xcc, .LL163
++ andcc %g3, 8, %g0
++.LL221:
++ bne,pt %xcc, .LL164
++ andcc %g3, 16, %g0
++.LL220:
++ bne,pt %xcc, .LL165
++ andcc %g3, 32, %g0
++.LL219:
++ bne,pt %xcc, .LL166
++ andcc %g3, 64, %g0
++.LL218:
++ bne,pt %xcc, .LL167
++ andcc %g3, 128, %g0
++.LL217:
++ bne,pt %xcc, .LL168
++ andcc %g3, 256, %g0
++.LL216:
++ bne,pt %xcc, .LL169
++ andcc %g3, 512, %g0
++.LL215:
++ bne,pt %xcc, .LL170
++ andcc %g3, 1024, %g0
++.LL226:
++ bne,pt %xcc, .LL171
++ andcc %g3, 2048, %g0
++.LL225:
++ bne,pt %xcc, .LL172
++ sethi %hi(4096), %g1
++.LL224:
++ andcc %g3, %g1, %g0
++ bne,pt %icc, .LL173
++ sethi %hi(8192), %g1
++.LL223:
++ andcc %g3, %g1, %g0
++ bne,pt %icc, .LL174
++ sethi %hi(16384), %g1
++.LL228:
++ andcc %g3, %g1, %g0
++ bne,pt %icc, .LL175
++ sethi %hi(32768), %g1
++.LL227:
++ andcc %g3, %g1, %g0
++ bne,pt %icc, .LL176
++ nop
++.LL2:
++ cmp %o7, 6
++.LL229:
++ bg,pn %icc, .LL213
++ add %o7, -6, %g1
++ ldx [%i0], %g1
++.LL212:
++ ldx [%i0+64], %o0
++ ldx [%i0+72], %o1
++ ldx [%i0+80], %o2
++ ldx [%i0+88], %o3
++ ldx [%i0+96], %o4
++ call %g1, 0
++ ldx [%i0+104], %o5
++ mov %o0, %l1
++ nop
++ lduw [%i0+24], %g1
++ cmp %g1, 1
++ be,pn %icc, .LL38
++ cmp %g1, 0
++ be,a,pt %icc, .LL214
++ ldx [%i0+16], %g1
++ cmp %g1, 2
++ be,pn %icc, .LL153
++ cmp %g1, 3
++ be,pn %icc, .LL153
++ cmp %g1, 4
++ be,pn %icc, .LL153
++ cmp %g1, 5
++ be,pn %icc, .LL154
++ cmp %g1, 6
++ be,pn %icc, .LL154
++ cmp %g1, 7
++ be,pn %icc, .LL155
++ cmp %g1, 8
++ be,pn %icc, .LL155
++ cmp %g1, 9
++ be,pn %icc, .LL159
++ cmp %g1, 10
++ be,pn %icc, .LL159
++ cmp %g1, 11
++ be,pn %icc, .LL159
++ cmp %g1, 12
++ be,pn %icc, .LL159
++ cmp %g1, 13
++ be,pn %icc, .LL178
++ cmp %g1, 14
++ be,pn %icc, .LL179
++ cmp %g1, 15
++ be,pn %icc, .LL159
++ cmp %g1, 16
++ bne,pt %icc, .LL38
++ nop
++ lduw [%i0+8], %g1
++ andcc %g1, 1, %g0
++ be,pt %xcc, .LL71
++ andcc %g1, 512, %g0
++ ldx [%i0+32], %g1
++ cmp %g1, 1
++ be,pn %xcc, .LL180
++ cmp %g1, 2
++ be,pn %xcc, .LL181
++ cmp %g1, 4
++ be,pn %xcc, .LL182
++ cmp %g1, 8
++ be,pn %xcc, .LL183
++ add %g1, 7, %g1
++ srlx %g1, 3, %g1
++ addcc %g1, -1, %g4
++ bneg,pn %icc, .LL38
++ sra %g4, 0, %g1
++ ldx [%i0+16], %i0
++ sllx %g1, 3, %g2
++ add %o0, %g2, %g3
++.LL82:
++ ldx [%g3], %g1
++ add %g4, -1, %g4
++ add %g3, -8, %g3
++ cmp %g4, -1
++ stx %g1, [%g2+%i0]
++ bne,pt %icc, .LL82
++ add %g2, -8, %g2
++.LL38:
++ return %i7+8
++ mov 0, %o0
++.LL159:
++ ldx [%i0+16], %g1
++.LL214:
++ stx %l1, [%g1]
++ return %i7+8
++ mov 0, %o0
++.LL176:
++ ldd [%i0+184],%f30
++ cmp %o7, 6
++ ble,a,pt %icc, .LL212
++ ldx [%i0], %g1
++ add %o7, -6, %g1
++.LL213:
++ mov 6, %g4
++ sra %g1, 0, %g1
++ mov 0, %g3
++ sllx %g1, 3, %g1
++ add %g1, 15, %g1
++ and %g1, -16, %g1
++ sub %sp, %g1, %sp
++ add %sp, 2238, %g2
++ and %g2, -16, %g5
++.LL37:
++ add %g3, %i0, %g1
++ add %g4, 1, %g4
++ ldx [%g1+112], %g2
++ cmp %o7, %g4
++ stx %g2, [%g3+%g5]
++ bne,pt %icc, .LL37
++ add %g3, 8, %g3
++ ba,pt %xcc, .LL212
++ ldx [%i0], %g1
+ .LL168:
+- cmp %g3, 0
+- be,pn %icc, .LL169
+- and %o7, 512, %g3
+- ld 136(%i0),%f17
+- and %o7, 512, %g3
+-.LL169:
+- cmp %g3, 0
+- be,a,pn %icc, .LL170
+- ld [%i0+60], %o7
+- ld 144(%i0),%f19
+- ld [%i0+60], %o7
+-.LL170:
+- and %o7, 1024, %g3
+- cmp %g3, 0
+- be,pn %icc, .LL171
+- and %o7, 2048, %g3
+- ld 152(%i0),%f21
+- and %o7, 2048, %g3
+-.LL171:
+- cmp %g3, 0
+- be,pn %icc, .LL172
+- sethi %hi(4096), %g3
+- ld 160(%i0),%f23
+- sethi %hi(4096), %g3
++ ldd [%i0+120],%f14
++ andcc %g3, 256, %g0
++ be,pt %xcc, .LL215
++ andcc %g3, 512, %g0
++ ba,pt %xcc, .LL169
++ nop
++.LL167:
++ ldd [%i0+112],%f12
++ andcc %g3, 128, %g0
++ be,pt %xcc, .LL216
++ andcc %g3, 256, %g0
++ ba,pt %xcc, .LL168
++ nop
++.LL166:
++ ldd [%i0+104],%f10
++ andcc %g3, 64, %g0
++ be,pt %xcc, .LL217
++ andcc %g3, 128, %g0
++ ba,pt %xcc, .LL167
++ nop
++.LL165:
++ ldd [%i0+96],%f8
++ andcc %g3, 32, %g0
++ be,pt %xcc, .LL218
++ andcc %g3, 64, %g0
++ ba,pt %xcc, .LL166
++ nop
++.LL164:
++ ldd [%i0+88],%f6
++ andcc %g3, 16, %g0
++ be,pt %xcc, .LL219
++ andcc %g3, 32, %g0
++ ba,pt %xcc, .LL165
++ nop
++.LL163:
++ ldd [%i0+80],%f4
++ andcc %g3, 8, %g0
++ be,pt %xcc, .LL220
++ andcc %g3, 16, %g0
++ ba,pt %xcc, .LL164
++ nop
++.LL162:
++ ldd [%i0+72],%f2
++ andcc %g3, 4, %g0
++ be,pt %xcc, .LL221
++ andcc %g3, 8, %g0
++ ba,pt %xcc, .LL163
++ nop
++.LL161:
++ ldd [%i0+64],%f0
++ andcc %g3, 2, %g0
++ be,pt %xcc, .LL222
++ andcc %g3, 4, %g0
++ ba,pt %xcc, .LL162
++ nop
+ .LL172:
+- andcc %o7, %g3, %g0
+- be,pn %icc, .LL173
+- sethi %hi(8192), %g3
+- ld 168(%i0),%f25
+- sethi %hi(8192), %g3
+-.LL173:
+- andcc %o7, %g3, %g0
+- be,pn %icc, .LL174
+- sethi %hi(16384), %g3
+- ld 176(%i0),%f27
+- sethi %hi(16384), %g3
++ ldd [%i0+152],%f22
++ sethi %hi(4096), %g1
++ andcc %g3, %g1, %g0
++ be,pt %icc, .LL223
++ sethi %hi(8192), %g1
++ ba,pt %xcc, .LL173
++ nop
++.LL171:
++ ldd [%i0+144],%f20
++ andcc %g3, 2048, %g0
++ be,pt %xcc, .LL224
++ sethi %hi(4096), %g1
++ ba,pt %xcc, .LL172
++ nop
++.LL170:
++ ldd [%i0+136],%f18
++ andcc %g3, 1024, %g0
++ be,pt %xcc, .LL225
++ andcc %g3, 2048, %g0
++ ba,pt %xcc, .LL171
++ nop
++.LL169:
++ ldd [%i0+128],%f16
++ andcc %g3, 512, %g0
++ be,pt %xcc, .LL226
++ andcc %g3, 1024, %g0
++ ba,pt %xcc, .LL170
++ nop
+ .LL174:
+- andcc %o7, %g3, %g0
+- be,pn %icc, .LL175
+- sethi %hi(32768), %g3
+- ld 184(%i0),%f29
+- sethi %hi(32768), %g3
++ ldd [%i0+168],%f26
++ sethi %hi(16384), %g1
++ andcc %g3, %g1, %g0
++ be,pt %icc, .LL227
++ sethi %hi(32768), %g1
++ ba,pt %xcc, .LL175
++ nop
++.LL173:
++ ldd [%i0+160],%f24
++ sethi %hi(8192), %g1
++ andcc %g3, %g1, %g0
++ be,pt %icc, .LL228
++ sethi %hi(16384), %g1
++ ba,pt %xcc, .LL174
++ nop
+ .LL175:
+- andcc %o7, %g3, %g0
+- be,a,pn %icc, .LL176
+- ld [%i0+64], %g3
+- ld 192(%i0),%f31
+-.LL3:
+- ld [%i0+64], %g3
+-.LL176:
+- cmp %g3, 0
+- be,pn %icc, .LL20
+- mov %g3, %o7
+- and %o7, 1, %g3
+- cmp %g3, 0
+- be,pn %icc, .LL177
+- and %o7, 2, %g3
+- ldd 72(%i0),%f0
+- and %o7, 2, %g3
+-.LL177:
+- cmp %g3, 0
+- be,pn %icc, .LL178
+- and %o7, 4, %g3
+- ldd 80(%i0),%f2
+- and %o7, 4, %g3
++ ldd [%i0+176],%f28
++ sethi %hi(32768), %g1
++ andcc %g3, %g1, %g0
++ be,pt %icc, .LL229
++ cmp %o7, 6
++ ba,pt %xcc, .LL176
++ nop
++.LL153:
++ ldx [%i0+16], %g1
++ stb %l1, [%g1]
++ return %i7+8
++ mov 0, %o0
++.LL154:
++ ldx [%i0+16], %g1
++ ba,pt %xcc, .LL38
++ sth %l1, [%g1]
++.LL155:
++ ldx [%i0+16], %g1
++ ba,pt %xcc, .LL38
++ st %l1, [%g1]
+ .LL178:
+- cmp %g3, 0
+- be,pn %icc, .LL179
+- and %o7, 8, %g3
+- ldd 88(%i0),%f4
+- and %o7, 8, %g3
++ ldx [%i0+16], %g1
++ ba,pt %xcc, .LL38
++ st %f0, [%g1]
+ .LL179:
+- cmp %g3, 0
+- be,pn %icc, .LL180
+- and %o7, 16, %g3
+- ldd 96(%i0),%f6
+- and %o7, 16, %g3
++ ldx [%i0+16], %g1
++ ba,pt %xcc, .LL38
++ std %f0, [%g1]
++.LL71:
++ be,pn %xcc, .LL38
++ nop
++ ldx [%i0+32], %g2
++ add %g2, -1, %g1
++ cmp %g1, 31
++ bgu,pn %xcc, .LL38
++ cmp %g2, 1
++ be,pn %xcc, .LL184
++ cmp %g2, 2
++ be,pn %xcc, .LL185
++ cmp %g2, 3
++ be,pn %xcc, .LL186
++ cmp %g2, 4
++ be,pn %xcc, .LL187
++ cmp %g2, 5
++ be,pn %xcc, .LL188
++ cmp %g2, 6
++ be,pn %xcc, .LL189
++ cmp %g2, 7
++ be,pn %xcc, .LL190
++ add %g2, -8, %g1
++ cmp %g1, 24
++ bgu,pn %xcc, .LL38
++ srax %o0, 56, %g1
++ ldx [%i0+16], %g2
++ srax %o0, 48, %g3
++ stb %g1, [%g2]
++ srax %o0, 40, %g4
++ ldx [%i0+16], %g1
++ srax %o0, 32, %g5
++ srax %o0, 24, %o7
++ stb %g3, [%g1+1]
++ srax %o0, 16, %l0
++ ldx [%i0+16], %g2
++ srax %o0, 8, %g3
++ stb %g4, [%g2+2]
++ ldx [%i0+16], %g1
++ stb %g5, [%g1+3]
++ ldx [%i0+16], %g2
++ stb %o7, [%g2+4]
++ ldx [%i0+16], %g1
++ stb %l0, [%g1+5]
++ ldx [%i0+16], %g2
++ stb %g3, [%g2+6]
++ ldx [%i0+16], %g1
++ stb %o0, [%g1+7]
++ ldx [%i0+32], %g1
++ cmp %g1, 8
++ be,pn %xcc, .LL38
++ cmp %g1, 9
++ be,pn %xcc, .LL191
++ cmp %g1, 10
++ be,pn %xcc, .LL192
++ cmp %g1, 11
++ be,pn %xcc, .LL193
++ cmp %g1, 12
++ be,pn %xcc, .LL194
++ cmp %g1, 13
++ be,pn %xcc, .LL195
++ cmp %g1, 14
++ be,pn %xcc, .LL196
++ cmp %g1, 15
++ be,pn %xcc, .LL197
++ add %g1, -16, %g1
++ cmp %g1, 16
++ bgu,pn %xcc, .LL38
++ srax %o1, 56, %g1
++ ldx [%i0+16], %g2
++ srax %o1, 48, %g3
++ stb %g1, [%g2+8]
++ srax %o1, 40, %g4
++ ldx [%i0+16], %g1
++ srax %o1, 32, %g5
++ srax %o1, 24, %o7
++ stb %g3, [%g1+9]
++ srax %o1, 16, %l0
++ ldx [%i0+16], %g2
++ srax %o1, 8, %g3
++ stb %g4, [%g2+10]
++ ldx [%i0+16], %g1
++ stb %g5, [%g1+11]
++ ldx [%i0+16], %g2
++ stb %o7, [%g2+12]
++ ldx [%i0+16], %g1
++ stb %l0, [%g1+13]
++ ldx [%i0+16], %g2
++ stb %g3, [%g2+14]
++ ldx [%i0+16], %g1
++ stb %o1, [%g1+15]
++ ldx [%i0+32], %g1
++ cmp %g1, 16
++ be,pn %xcc, .LL38
++ cmp %g1, 17
++ be,pn %xcc, .LL198
++ cmp %g1, 18
++ be,pn %xcc, .LL199
++ cmp %g1, 19
++ be,pn %xcc, .LL200
++ cmp %g1, 20
++ be,pn %xcc, .LL201
++ cmp %g1, 21
++ be,pn %xcc, .LL202
++ cmp %g1, 22
++ be,pn %xcc, .LL203
++ cmp %g1, 23
++ be,pn %xcc, .LL204
++ add %g1, -24, %g1
++ cmp %g1, 8
++ bgu,pn %xcc, .LL38
++ srax %o2, 56, %g1
++ ldx [%i0+16], %g2
++ srax %o2, 48, %g3
++ stb %g1, [%g2+16]
++ srax %o2, 40, %g4
++ ldx [%i0+16], %g1
++ srax %o2, 32, %g5
++ srax %o2, 24, %o7
++ stb %g3, [%g1+17]
++ srax %o2, 16, %l0
++ ldx [%i0+16], %g2
++ srax %o2, 8, %g3
++ stb %g4, [%g2+18]
++ ldx [%i0+16], %g1
++ stb %g5, [%g1+19]
++ ldx [%i0+16], %g2
++ stb %o7, [%g2+20]
++ ldx [%i0+16], %g1
++ stb %l0, [%g1+21]
++ ldx [%i0+16], %g2
++ stb %g3, [%g2+22]
++ ldx [%i0+16], %g1
++ stb %o2, [%g1+23]
<<Diff was trimmed, longer than 597 lines>>
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ffcall/ffcall-sparc64.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list