Displaying 3 results from an estimated 3 matches for "lvewx".
Did you mean:
lrwx
2004 Oct 06
3
flac-1.1.1 completely broken on linux/ppc and on macosx if built with the standard toolchain (not xcode)
Sadly the latest optimization broke completely everything.
The asm code isn't gas compliant. the libFLAC linker script has a typo,
disabling the asm optimization and/or altivec won't let a correct build
anyway.
Instant fixes for the asm stuff:
sed -i -e"s:;:\#:" on the lpc_asm.s
to load address instead of addis+ori you could use
lis and la and PLEASE use the @l(register)
2004 Sep 10
1
altivec lpc_restore_signal
...31 ; declare VRs in vrsave
cmplw cr0,r8,r4 ; i<data_len
bc 4,0,L1400
; load coefficients into v0-v7 and initial history into v8-v15
li r31,0xf
and r31,r8,r31 ; r31: data%4
li r11,16
subf r31,r31,r11 ; r31: 4-(data%4)
slwi r31,r31,3 ; convert to bits for vsro
li r10,-4
stw r31,-4(r9)
lvewx v0,r10,r9
vspltisb v18,-1
vsro v18,v18,v0 ; v18: mask vector
li r31,0x8
lvsl v0,0,r31
vsldoi v0,v0,v0,12
li r31,0xc
lvsl v1,0,r31
vspltisb v2,0
vspltisb v3,-1
vmrglw v2,v2,v3
vsel v0,v1,v0,v2 ; v0: reversal permutation vector
add r10,r5,r6
lvsl v17,0,r5 ; v17: coefficient alignment p...
2004 Nov 06
3
Compile flac-1.1.1 on ppc Linux
...or: syntax error; found `(' but expected `,'
lpc_asm.s:70: Error: junk at end of line: `(0xfffffc00)'
lpc_asm.s:71: Error: syntax error; found `(' but expected `,'
lpc_asm.s:71: Error: junk at end of line: `(0xfffffc00)'
lpc_asm.s:85: Error: Unrecognized opcode: `lvewx'
lpc_asm.s:86: Error: Unrecognized opcode: `vspltisb'
lpc_asm.s:87: Error: Unrecognized opcode: `vsro'
lpc_asm.s:90: Error: Unrecognized opcode: `lvsl'
lpc_asm.s:91: Error: Unrecognized opcode: `vsldoi'
lpc_asm.s:93: Error: Unrecognized opcode: `lvsl'
lpc_a...