Displaying 20 results from an estimated 100 matches similar to: "PATCH: asm versions for two _wide() functions"
2004 Sep 10
5
last minute changes
--- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote:
> On Wed, Nov 14, 2001 at 09:37:47AM -0800, Josh Coalson wrote:
> > cpu support for 3dnow and sse can be easily detected at
> > runtime. I turned off 3dnow by default because it is
> > implicated in some crashes.
>
> Hmm, i never have any crash. Can i get more informations about these
> crases? Or you
2007 Sep 01
2
Re: 1.2.0: Test suite failures on LP64 archs?
Christian Weisgerber <naddy@mips.inka.de> wrote:
> #0 0x0000000040d18810 in FLAC__lpc_compute_residual_from_qlp_coefficients_wide
> (data=0x49e4c014, data_len=110, qlp_coeff=0x7f7ffffece70, order=1,
> lp_quantization=14, residual=0x4fced000) at lpc.c:745
> 745 residual[i] =
> data[i] - (FLAC__int32)((qlp_coeff[0] *
2004 Sep 10
3
Altivec, automake
I think I've gotten FLAC__lpc_restore_signal() about as good as I'm going to
get it.
Here's what I have:
-a new file, lpc_asm.s, which has the assembly routines
-changes to cpu.h, cpu.c, and stream_decoder.c to enable them
-changes to configure.in to support the new cpu stuff
-a preliminary Makefile.am
-maybe something else I'm forgetting
Now automake complains that configure.in
2004 Sep 10
0
1.0 candidate checked in
On Sat, Jul 21, 2001 at 03:53:26AM -0700, collver@linuxfreemail.com wrote:
> > OK, that worked.
> >
> > I checked in your patch to make a static libFLAC-asm.a and
> > I moved @XMMS_LIBS@ to the end of ...LIBADD. Matt and Ben,
> > can you try the latest CVS to see if it works for you now?
>
> It doesn't work for me. Looks like libtool decided not to link
2004 Sep 10
0
last minute changes
On Thu, Nov 15, 2001 at 01:57:16PM -0800, Josh Coalson wrote:
> yes, the ones a month ago. it's not clear that this is
> even related to 3dnow but since it was happening on
> Matt's new AMD box and I don't have enough info I turned
> it off by default.
Ok, i did test on a debian/testing box (as Matt is probably using
something like this) and that segfaults was really
2013 Sep 22
2
GCC generates slow code for IA32
I measured encoding speed of 24-bit WAV files. It turns out that 32-bit
encoder made by GCC is ~1.7x times slower than 32-bit encoder made by MSVS.
It seems that GCC creates inefficient code for 32bit * 32bit -> 64bit multiplication
for 32-bit architecture. This problem affects FLAC__lpc_compute_residual_from_qlp_coefficients_wide() and FLAC__lpc_restore_signal_wide() functions.
Is there any
2014 Jan 03
1
PATCH: match calls and returns
According to Agner Fog, "...you must make sure that all calls
are matched with returns. Never jump out of a subroutine without
a return and never use a return as an indirect jump."
(see paragraph 3.15 in microarchitecture.pdf and
examples 3.5a and 3.5b in optimizing_assembly.pdf)
Basically this patch replaces
call .get_eip0
.get_eip0:
pop eax
with
call .mov_eip_to_eax
2013 Oct 04
2
Again about encoding speed of different compiles
I downloaded current version of FLAC sources and compiled it with:
* GCC 4.8.1 (MSYS from http://xhmikosr.1f0.de/tools/)
* Intel C++ Composer XE 2013 update 5
* MSVS 2010 SP1
* MSVS 2012 update 3
(SSSE3 and SSE4.1 code was disabled for all compilers)
Stereo 24-bit WAV file was encoded with -8 preset.
Encoding time, in seconds:
GCC 32-bit: 209
ICC 32-bit: 130
VS10 32-bit: 116
VS12 32-bit: 114
2007 Aug 31
2
1.2.0: Test suite failures on LP64 archs?
Running the basic (--disable-thorough-tests) test suite, I get these
failures
round-trip test (rt-1-24-111.raw) encode... Segmentation fault (core
dumped) ERROR
FAIL: ./test_flac.sh
fsd24-01 (--channels=1 --bps=24 -0 -l 16 --lax -m -e -p): encode...ERROR during encode of fsd24-01
FAIL: ./test_streams.sh
on alpha and amd64. By contrast, i386 is fine. (All OpenBSD/4.2.)
Could be a generic LP64
2004 Sep 10
2
1.0 candidate checked in
> OK, that worked.
>
> I checked in your patch to make a static libFLAC-asm.a and
> I moved @XMMS_LIBS@ to the end of ...LIBADD. Matt and Ben,
> can you try the latest CVS to see if it works for you now?
It doesn't work for me. Looks like libtool decided not to link
libFLAC-asm.a into libFLAC.
Here's the output:
Making all in src
gmake[1]: Entering directory
2004 Nov 06
3
Compile flac-1.1.1 on ppc Linux
Hi all,
I'm trying to compile the flac-1.1.1 tarball on a Linux PPC system (a G3 iBook
running Debian Testing).
Configure is fine, but make bombs out almost immediately with:
lpc_asm.s: Assembler messages:
lpc_asm.s:1: Error: junk at end of line, first unrecognized character is `l'
lpc_asm.s:2: Error: junk at end of line, first unrecognized character is `C'
lpc_asm.s:4:
2014 Jul 03
4
[PATCH] two patches of doubtful usefulness
Erik de Castro Lopo wrote:
>> There's the following code in stream_decoder.c:
>
> Like you, I don't see a lot of value in these. I think I'll decline
> these.
FLAC__lpc_restore_signal_asm_ia32_mmx compares 'order' argument with 4
and if it's greater then it jumps to FLAC__lpc_restore_signal_asm_ia32.
I wonder why the same wasn't done for PPC/Altivec:
2004 Oct 01
1
[PATCH] fix compile errors with asm disabled
The #endifs are mismatched, and my builds were failing because
lpc_restore_signal* weren't getting declared.
I've also commented the endifs to make them easier to match.
Also, is there any reason #ifdefs for FLAC__HAS_NASM and FLAC__CPU_IA32 are
separate and nested the way they are and not combined like this?:
#if defined(FLAC__CPU_IA32) && defined(FLAC__HAS_NASM)
I'm not
2007 Sep 12
1
FLAC x64?
Hello!
As I understand, there is versions of FLAC for Linux x64. Such question,
whether is native x64-86 versions for OS Windows?
Best regards, Valentin.
2013 Aug 22
2
New routine: FLAC__lpc_compute_autocorrelation_asm_ia32_sse_lag_16
libFLAC have three SSE-accelerated functions FLAC__lpc_compute_autocorrelation_asm_ia32_sse_lag_N (N = 4, 8, 12). They require lpc_order less than N.
The best compression preset (flac -8) uses lpc_order up to 12; it means that during encoding FLAC also uses unaccelerated C function.
I'm not very familiar with asm so I took FLAC__lpc_compute_autocorrelation_asm_ia32_sse_lag_12, changed it and
2004 Sep 10
2
Altivec, automake
Here's what I listed in that email. Merging doesn't appear to be necessary. If
you have any build problems, let me know.
Note that my detection code is Darwin-specific. It's a BSD call (sysctl()), so
a change to the platform-detection macros should enable it to work on other
BSDs. However, I don't know what that would be, and I couldn't determine any
safe way to do the check
2004 Sep 10
2
1.0 candidate checked in
On Fri, Jul 20, 2001 at 03:01:54PM -0700, Josh Coalson wrote:
> --- Matt Zimmerman <mdz@debian.org> wrote:
> >
> > automake will include ltmain.sh in the source distribution, so it
> > should be
> > used even if it isn't installed on the build system. In fact, it
> > seems to
> > always use the distributed version, and not the installed one
2014 Jun 19
1
stream_encoder: 32 vs 64 bit accumulator
Another interesting comment is inside src/libFLAC/include/private/fixed.h:
"The _wide() version uses 64-bit integers which is statistically necessary
when bits-per-sample + log2(blocksize) > 30"
I mean the word "statistically".
libFLAC uses FLAC__fixed_compute_best_predictor_wide()
if "bits_per_sample + FLAC__bitmath_ilog2(blocksize)+1 > 30" is true
(see
2004 Sep 10
3
patch
So here is quick patch solving the problem, now it should be PIC.
--
Miroslav Lichvar
lichvarm@phoenix.inf.upol.cz
-------------- next part --------------
--- lpc_asm.nasm.orig Wed Jul 18 02:23:40 2001
+++ lpc_asm.nasm Sat Nov 17 21:09:46 2001
@@ -59,10 +59,10 @@
;
ALIGN 16
cident FLAC__lpc_compute_autocorrelation_asm_ia32
- ;[esp + 24] == autoc[]
- ;[esp + 20] == lag
- ;[esp + 16] ==
2017 Feb 12
1
Problems installing tibble (ggplot2) in R running Ubuntu 14.04
On 12 February 2017 at 12:28, Jeroen Ooms wrote:
| On Mon, Dec 19, 2016 at 2:27 PM, Terje J?rgensen <terjej at imr.no> wrote:
| > Hi,
| >
| > I am unable to install tibble, a required package for ggplot2 in R. I am
| > running R (version 3.3.2 ) in RStudio (version 1.0.44). My OS is ubuntu
| > 14.04 (64 bits).
|
| I was able to reproduce this problem. What happened is that