[opus] Misc patches

Marcus Asteborg xnorpx at outlook.com
Thu Jun 11 18:05:34 UTC 2020


3, no good catch attached is an updated patch

//Marcus

________________________________
From: Jean-Marc Valin <jmvalin at jmvalin.ca>
Sent: Thursday, June 11, 2020 10:49
To: Marcus Asteborg <xnorpx at outlook.com>; opus at xiph.org <opus at xiph.org>
Subject: Re: [opus] Misc patches

On 2020-06-08 01:39, Marcus Asteborg wrote:
>  1. Build test for cmake and run the test in gitlab-ci.

OK, merged.

>  2. Disable the message box on Windows on abort that cause test hangs in CI.

Merged too.

>  3. Build time improvement by removing unnecessary includes of stdio.h
>     in production code and change to a lighter header intrin.h ->
>     intrin0.h (windows only). Attached screenshot of measurement but it
>     resulted in 14% buildspeed compared to master on Windows 64 debug
>     builds on my setup. As most improvements comes from change intrin.h
>     the impact on other platforms will not be that much.

I'm having a bit of an issue with the change to debug.h. I'm not sure
exactly what you're trying to do, but the

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

should always be there (unconditionally) at the top of C files. Any
reason you want to move an include before it and make it conditional?

Cheers,

        Jean-Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/opus/attachments/20200611/1315ac8d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Build-time-improvement-for-MSVC-use-intrin0.h-instea.patch
Type: application/octet-stream
Size: 3450 bytes
Desc: 0001-Build-time-improvement-for-MSVC-use-intrin0.h-instea.patch
URL: <http://lists.xiph.org/pipermail/opus/attachments/20200611/1315ac8d/attachment-0001.obj>


More information about the opus mailing list