Re: [Pixman] [PATCH 2/2] Add support for MIPS MSA.

2020-03-28 Thread YunQiang Su
#ifdef USE_MIPS_DSPR2 > if (!_pixman_disabled ("mips-dspr2")) > { > diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h > index d836cc5..f82ae61 100644 > --- a/pixman/pixman-private.h > +++ b/pixman/pixman-private.h > @@ -620,6 +620,11 @@ pixman_implementation_t * > _pixman_implementation_create_mmx (pixman_implementation_t *fallback); > #endif > > +#if USE_MIPS_MSA > +pixman_implementation_t * > +_pixman_implementation_create_msa (pixman_implementation_t *fallback); > +#endif > + > #ifdef USE_SSE2 > pixman_implementation_t * > _pixman_implementation_create_sse2 (pixman_implementation_t *fallback); > -- > 2.1.0 > > ___ > Pixman mailing list > Pixman@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/pixman -- YunQiang Su ___ Pixman mailing list Pixman@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pixman

Re: [Pixman] [PATCH 1/2] configure.ac: Use '-mloongson-mmi' for Loongson MMI.

2020-03-28 Thread YunQiang Su
于2020年3月28日周六 上午11:13写道: > > -原始邮件- > 发件人: "YunQiang Su" > 发送时间: 2020-03-28 08:50:46 (星期六) > 收件人: "Shiyou Yin" > 抄送: pixman > 主题: Re: [Pixman] [PATCH 1/2] configure.ac: Use '-mloongson-mmi' for > Loongson MMI. > > Please reject

Re: [Pixman] [PATCH 1/2] configure.ac: Use '-mloongson-mmi' for Loongson MMI.

2020-03-27 Thread YunQiang Su
Please reject ALL of @loongson.cn patch, as I know they are try to KILL all other MIPS platform. There are some extensions are Loongson-only (MMI here), while they continue to try to set them as default. ___ Pixman mailing list

Re: [Pixman] [PATCH 1/2] configure.ac: Use '-mloongson-mmi' for Loongson MMI.

2020-03-27 Thread YunQiang Su
se_loongson_mmi.disabled() >if host_machine.cpu_family() == 'mips64' and cc.compiles(''' >#ifndef __mips_loongson_vector_rev > -- > 2.1.0 > > _______ > Pixman mailing list > Pixman@lists.freedesktop.org > https://list

Re: [Pixman] [PATCH v2 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-03-09 Thread YunQiang Su
Matt Turner 于2020年3月9日周一 上午8:31写道: > > On Sat, Feb 22, 2020 at 6:34 AM YunQiang Su wrote: > > > > Shiyou Yin 于2020年2月22日周六 下午9:26写道: > > > > > > >-Original Message- > > > >From: Adam Jackson [mailto:a...@redhat.com] > > > >

Re: [Pixman] [PATCH v3] build: improve control logic for enabling MMI.

2020-03-06 Thread YunQiang Su
> -if test $have_loongson_mmi = yes ; then > - AC_DEFINE(USE_LOONGSON_MMI, 1, [use Loongson Multimedia > Instructions]) > -else > - LS_CFLAGS= > +# MMI will be disabled if compiler didn't support it or > +# exact option for compiling it is not specified. > +if test x&

Re: [Pixman] [PATCH v2] build: improve control logic for enabling MMI.

2020-03-06 Thread YunQiang Su
_DEFINE(USE_LOONGSON_MMI, 1, [use Loongson Multimedia Instructions]) > fi > +AC_MSG_RESULT($enable_loongson_mmi) > > -AM_CONDITIONAL(USE_LOONGSON_MMI, test $have_loongson_mmi = yes) > +AM_CONDITIONAL(USE_LOONGSON_MMI, test x"$enable_loongson_mmi" != xno) > > dnl > === > dnl Check for MMX > @@ -531,7 +554,7 @@ case $host_os in >;; > esac > > -AC_SUBST(LS_CFLAGS) > +AC_SUBST(MMI_CFLAGS) > AC_SUBST(IWMMXT_CFLAGS) > AC_SUBST(MMX_CFLAGS) > AC_SUBST(MMX_LDFLAGS) > -- > 2.1.0 > > ___ > Pixman mailing list > Pixman@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/pixman -- YunQiang Su ___ Pixman mailing list Pixman@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pixman

Re: [Pixman] [PATCH] build: improve control logic for enabling MMI.

2020-03-04 Thread YunQiang Su
OR([Loongson MMI not detected]) > +CFLAGS="$xserver_save_CFLAGS $MMI_CFLAGS" > +if test x"$enable_loongson_mmi" != xno; then > + AC_DEFINE(USE_LOONGSON_MMI, 1, [use Loongson Multimedia Instructions]) > fi > +AC_MSG_RESULT($enable_loongson_mmi) > > -A

Re: [Pixman] [PATCH v2 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-02-29 Thread YunQiang Su
Shiyou Yin 于 2020年2月29日周六 下午10:25写道: > > > > > >-Original Message- > > >From: YunQiang Su [mailto:wzss...@gmail.com] > > >Sent: Thursday, February 27, 2020 11:38 AM > > >To: Shiyou Yin > > >Cc: pixman@lists.freedesktop.org > >

Re: [Pixman] [PATCH v2 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-02-26 Thread YunQiang Su
在 2020-02-26三的 17:45 +0800,Shiyou Yin写道: > > -Original Message- > > From: YunQiang Su [mailto:wzss...@gmail.com] > > Sent: Saturday, February 22, 2020 10:20 PM > > To: Shiyou Yin > > Cc: pixman@lists.freedesktop.org > > Subject: Re: [Pixman] [PATC

Re: [Pixman] [PATCH v2 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-02-26 Thread YunQiang Su
This patch is some small. You can consider this version. >From de2e4b6f363a1b263f8b62cbf0bac52c130cbf4d Mon Sep 17 00:00:00 2001 From: YunQiang Su Date: Thu, 27 Feb 2020 09:55:23 +0800 Subject: [PATCH] smal --- configure.ac | 74 ++-- 1 f

Re: [Pixman] [PATCH v2 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-02-26 Thread YunQiang Su
I have a sample version if you really need make so complicated. In fact I don't think that we need make it like this. Do *not* use it directly. diff --git a/configure.ac b/configure.ac index 1ca3974..f8c1b18 100644 --- a/configure.ac +++ b/configure.ac @@ -272,16 +272,32 @@

Re: [Pixman] [PATCH v2 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-02-26 Thread YunQiang Su
Shiyou Yin 于2020年2月26日周三 下午5:46写道: > > >-Original Message- > >From: YunQiang Su [mailto:wzss...@gmail.com] > >Sent: Saturday, February 22, 2020 10:20 PM > >To: Shiyou Yin > >Cc: pixman@lists.freedesktop.org > >Subject: Re: [Pixman] [P

Re: [Pixman] [PATCH v2 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-02-22 Thread YunQiang Su
on loongson-3A. > That's why you need to guess from compiler. You can read the code of config.guess: http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob;f=config.guess In fact I noticed that you have broken the build system of ffmpeg and some other project. Please STOP it. > > > ___ > Pixman mailing list > Pixman@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/pixman -- YunQiang Su ___ Pixman mailing list Pixman@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pixman

Re: [Pixman] [PATCH v2 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-02-22 Thread YunQiang Su
ptimization code but not in > configure. The configure just need to ensure the compile process can finished > successfully, > So it may check compiler support some options or not and then enable/disable > the features. > Generally, we don't need to guess the BUILD_MACHINE'

Re: [Pixman] [PATCH v2 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-02-21 Thread YunQiang Su
olchains are configured: --with-cpu=longson3a If you don't determine compiler, you will override the default configuration of gcc. > > >-Original Message- > >From: YunQiang Su [mailto:wzss...@gmail.com] > >Sent: Thursday, February 20, 2020 10:30 PM > >To: Yin Shiyou

Re: [Pixman] [PATCH v2 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-02-20 Thread YunQiang Su
ips64' and cc.compiles(''' >#ifndef __mips_loongson_vector_rev > -- > 2.1.0 > > ___ > Pixman mailing list > Pixman@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/pixman -- YunQiang Su ___ Pixman mailing list Pixman@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pixman

Re: [Pixman] [PATCH 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-02-11 Thread YunQiang Su
Shiyou Yin 于2020年2月11日周二 下午6:29写道: > > > >-Original Message----- > >From: YunQiang Su [mailto:wzss...@gmail.com] > >Sent: Tuesday, February 11, 2020 5:26 PM > >To: Yin Shiyou > >Cc: pixman@lists.freedesktop.org > >Subject: Re: [Pixman] [PATCH 2/3

Re: [Pixman] [PATCH 2/3] build: use '-mloongson-mmi' for Loongson MMI.

2020-02-11 Thread YunQiang Su
gt; ___ > Pixman mailing list > Pixman@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/pixman -- YunQiang Su ___ Pixman mailing list Pixman@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pixman

[Pixman] Pixman 0.32.6 Failed to build on mips64el for mips64r2

2014-07-14 Thread YunQiang Su
/pixman_0.32.6-1/pixman_0.32.6-1_mips64el-20140714-1353.build 0.32.4 builds successfully. -- YunQiang Su ___ Pixman mailing list Pixman@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pixman

Re: [Pixman] mips* asm exports symbols that should not export

2014-06-23 Thread Yunqiang Su
...@gmail.com] Sent: Monday, April 7, 2014 7:45 PM To: Nemanja Lukic Cc: 'Yunqiang Su'; pixman@lists.freedesktop.org Subject: Re: [Pixman] mips* asm exports symbols that should not export Nemanja Lukic nemanja.lu...@rt-rk.com writes: Attached is solution for unwanted symbol visibility. I'll

Re: [Pixman] mips* asm exports symbols that should not export

2013-12-19 Thread Yunqiang Su
On Thu, Dec 19, 2013 at 5:20 PM, Nemanja Lukic nemanja.lu...@rt-rk.com wrote: Hi YunQiang Su, Yes, you are right, these symbols shouldn't be exported. This is due to the fact that some optimizations were compiled (not executed) With this patch, if I use mips32r2 option to build for o32

[Pixman] mips* asm exports symbols that should not export

2013-12-07 Thread YunQiang Su
/pixman_0.30.2-2_mips64el.build.xz -- YunQiang Su ___ Pixman mailing list Pixman@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pixman