Displaying 20 results from an estimated 1000 matches similar to: "opus Digest, Vol 70, Issue 3"
2014 Nov 06
2
[PATCH] float_cast: Fix MSVC ARM build
_WIN32, WIN32, WIN64, and _WIN64 are the wrong definitions to be gating
this on in the first place. They aren't at all meant to be x86/x86-64
specific. At best, they're 32-bit/64-bit specific, but that's not the
intended use in the code. The correct definitions are _M_IX86 and _M_X64,
as Martin said.
I sent a patch to this ML that fixed these a few months ago but it was
2014 Nov 06
2
[PATCH] float_cast: Fix MSVC ARM build
Yeah that's the one.
On Nov 6, 2014 1:23 PM, "Tristan Matthews" <le.businessman at gmail.com> wrote:
> On Thu, Nov 6, 2014 at 4:20 PM, Cameron Gutman <aicommander at gmail.com>
> wrote:
> > _WIN32, WIN32, WIN64, and _WIN64 are the wrong definitions to be gating
> this
> > on in the first place. They aren't at all meant to be x86/x86-64
>
2014 Nov 06
0
[PATCH] float_cast: Fix MSVC ARM build
On Thu, Nov 6, 2014 at 4:20 PM, Cameron Gutman <aicommander at gmail.com> wrote:
> _WIN32, WIN32, WIN64, and _WIN64 are the wrong definitions to be gating this
> on in the first place. They aren't at all meant to be x86/x86-64 specific.
> At best, they're 32-bit/64-bit specific, but that's not the intended use in
> the code. The correct definitions are _M_IX86 and
2014 Nov 06
0
[PATCH] float_cast: Fix MSVC ARM build
Is there any consensus on what's the correct fix here?
Jean-Marc
On 06/11/14 04:26 PM, Cameron Gutman wrote:
> Yeah that's the one.
>
> On Nov 6, 2014 1:23 PM, "Tristan Matthews" <le.businessman at gmail.com
> <mailto:le.businessman at gmail.com>> wrote:
>
> On Thu, Nov 6, 2014 at 4:20 PM, Cameron Gutman
> <aicommander at gmail.com
2014 Nov 06
0
[PATCH] float_cast: Fix MSVC ARM build
On Thu, 6 Nov 2014, Hugo Beauz?e-Luyssen wrote:
> ---
> celt/float_cast.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/celt/float_cast.h b/celt/float_cast.h
> index ede6574..4892e2c 100644
> --- a/celt/float_cast.h
> +++ b/celt/float_cast.h
> @@ -90,14 +90,14 @@
> #include <math.h>
> #define float2int(x) lrint(x)
>
>
2014 Nov 06
2
[PATCH] float_cast: Fix MSVC ARM build
---
celt/float_cast.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/celt/float_cast.h b/celt/float_cast.h
index ede6574..4892e2c 100644
--- a/celt/float_cast.h
+++ b/celt/float_cast.h
@@ -90,14 +90,14 @@
#include <math.h>
#define float2int(x) lrint(x)
-#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN64) || defined (_WIN64))
2014 Nov 10
0
[PATCH] float_cast: Fix MSVC ARM build
On 11/06/2014 10:55 PM, Martin Storsj? wrote:
> On Thu, 6 Nov 2014, Jean-Marc Valin wrote:
>
>> Is there any consensus on what's the correct fix here?
>
> Cameron's fix looks correct to me (I didn't read the code closely enough
> in my first comment).
>
> // Martin
> _______________________________________________
> opus mailing list
> opus at
2015 Feb 27
1
[PATCH] Fix WindowsRT build
Hi,
The attached patch fixes build on Windows/ARM platform, as it doesn't
have inline assembly.
Regards,
--
Hugo Beauz?e-Luyssen
hugo at beauzee.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_msvc_build.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
Url :
2010 Oct 16
1
WIN64 issue
Hi Jean-Marc,
I've been compiling CELT for 64-bit Windows and it all seems to work
fine (with the occasional benign warning message) except for one place,
and that is in "float_cast.h" where there is some inline assembly
language that gets complied for Windows. Since the Microsoft 64-bit
compiler won't allow inline assembly language (and *still* doesn't have
2014 Nov 19
1
[PATCH] float_cast: Fix MSVC ARM build
On Mon, 10 Nov 2014, Hugo Beauzee-Luyssen wrote:
> On 11/06/2014 10:55 PM, Martin Storsj? wrote:
>> On Thu, 6 Nov 2014, Jean-Marc Valin wrote:
>>
>>> Is there any consensus on what's the correct fix here?
>>
>> Cameron's fix looks correct to me (I didn't read the code closely enough
>> in my first comment).
>>
>
> That looks good
2014 Nov 05
0
opus Digest, Vol 70, Issue 1
What is the possibility to use the Cortex-M4 DSP instructions to fully optimize the OPUS code? Could we use the ARM CMSIS DSP library for this optimization?
Thanks,
Heng
-----Original Message-----
From: opus-bounces at xiph.org [mailto:opus-bounces at xiph.org] On Behalf Of opus-request at xiph.org
Sent: Tuesday, November 04, 2014 2:00 PM
To: opus at xiph.orgis
Subject: opus Digest, Vol 70,
2015 Mar 21
0
use xmm intrinsics for lrintf() with mingw-w64
The following tiny patches make opus and opusfile to use xmm intrinsics
for lrintf() with mingw-w64 builds when targetting x64 instead of their
default x87 asm.
Regards.
--
O.S.
diff --git a/celt/float_cast.h b/celt/float_cast.h
index ed5a39b..b9b8484 100644
--- a/celt/float_cast.h
+++ b/celt/float_cast.h
@@ -61,7 +61,14 @@
** the config.h file.
*/
-#if (HAVE_LRINTF)
+#if
2017 Jan 06
1
[PATCH 5/5] win_utf8_io: Avoid forbidden functions when building for WinRT/UWP
Hugo Beauzée-Luyssen <hugo at beauzee.fr> wrote:
> ---
> src/share/win_utf8_io/win_utf8_io.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/src/share/win_utf8_io/win_utf8_io.c
> b/src/share/win_utf8_io/win_utf8_io.c
> index c61d27f3..1437b41e 100644
> --- a/src/share/win_utf8_io/win_utf8_io.c
> +++ b/src/share/win_utf8_io/win_utf8_io.c
>
2014 Nov 06
2
[PATCH] float_cast: Fix MSVC ARM build
On Thu, 6 Nov 2014, Jean-Marc Valin wrote:
> Is there any consensus on what's the correct fix here?
Cameron's fix looks correct to me (I didn't read the code closely enough
in my first comment).
// Martin
2017 Jan 14
0
[PATCH 0/5] Allow multiple targets to be disabled
On 01/06/2017 01:53 PM, Hugo Beauzée-Luyssen wrote:
> Hi,
>
> This patchet allows a few targets to be disabled when unrequired.
> The rational is coming from VLC's contrib buildsystem, so far we use make -C to select only some subparts of the available targets.
> It would be easier and cleaner to use autoconf to do so IMHO.
>
> There's an additional patch which fixes
2017 Jan 06
8
[PATCH 0/5] Allow multiple targets to be disabled
Hi,
This patchet allows a few targets to be disabled when unrequired.
The rational is coming from VLC's contrib buildsystem, so far we use make -C to select only some subparts of the available targets.
It would be easier and cleaner to use autoconf to do so IMHO.
There's an additional patch which fixes the build when building for WinRT/UWP platform, upstreamed from VLC.
We have a couple
2014 Apr 07
0
MSVC ARM compilation issue with patch
I?ve been working on a Windows Phone 8 app that uses libopus for audio decoding. I used the included MSVC project files by switching the toolchain to WP8?s.
I ran into a compilation issue in float_cast.h where it was trying to use the MSVC x86 code path (with x86 assembly). This was because WIN32 and _WIN32 are defined in ARM projects for WP8 libraries (for source compatibility reasons I assume).
2015 Apr 29
2
[LLVMdev] [RFC][Float2Int] Converting (fcmp Pred, x * F, y) to (ICmp ...)
Hi,
I'm trying expand the Float2Int pass in order to make it able to optimize
expressions like f * x > y, where x and y are integers (we'll assume
unsigned for
simplicity) and f is a floating point constant. The optimization would
convert
the expression to something like:
(a * x)/b > y
where a and b are integers guessed by the compiler (currently using
continued
2020 Jun 14
0
Prefer SSE and ASM implementation of float2int before lrintf for MSVC patch
This commit
https://github.com/xiph/opus/commit/94b68f341cadd5433a10d346c1c248a641d8be57
Enabled HAVE_LRINTF defined in CMake builds.
As later versions of visual studio have LRINTF it got enabled by default due to precedence over SSE in MSVC. The use of lrintf is a lot slower which can easily be seen in the tests
>From test result Windows X64 (similar results on X86):
LRINTF 4/4 Test #4:
2017 Jan 14
2
[PATCH 0/5] Allow multiple targets to be disabled
Hugo Beauzée-Luyssen wrote:
>> configure.ac: Allow the programs to be disabled
>> configure.ac: Allow bench to be disabled
>> configure.ac: Don't build any tests when they are explicitely disabled
>> configure.ac: Allow examples to be disabled
>> win_utf8_io: Avoid forbidden functions when building for WinRT/UWP
>>
>> configure.ac