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

2020-03-04 Thread Yin Shiyou
1. Replace LS_CFLAGS with MMI_CFLAGS to express its intention more accurately. 2. Improve the control logic for enabling MMI. Three essential conditions for enabling MMI: 1) user have not specify --disable-loongson-mmi. 2) MMI options has been specified by MMI_CFLAGS,CC or compiler's default

[Pixman] [PATCH] pixman-combine: Fix wrong value of RB_MASK_PLUS_ONE.

2020-02-03 Thread Yin Shiyou
--- pixman/pixman-combine32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixman/pixman-combine32.h b/pixman/pixman-combine32.h index cdd56a6..59bb247 100644 --- a/pixman/pixman-combine32.h +++ b/pixman/pixman-combine32.h @@ -12,7 +12,7 @@ #define RB_MASK 0xff00ff

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

2020-02-20 Thread Yin Shiyou
It's suggested to use '-mloongson-mmi' to enable MMI. To keep compatible with old processor, '-mloongson-mmi' will be setted for Loongson-3A only. --- configure.ac | 8 ++-- meson.build | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index

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

2020-02-10 Thread Yin Shiyou
It's suggested to use '-mloongson-mmi' to enable MMI. Use '-march=loongson2f' will lead a link error in new platform while config check and then MMI will be disabled. --- configure.ac | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac

[Pixman] [PATCH 3/3] Add MSA support.

2020-02-11 Thread Yin Shiyou
ongson-mmi.la diff --git a/pixman/pixman-mips-msa.c b/pixman/pixman-mips-msa.c new file mode 100644 index 000..10b731a --- /dev/null +++ b/pixman/pixman-mips-msa.c @@ -0,0 +1,44 @@ +/* + * Copyright © 2019 Loongson Technology Co. Ltd. + * Contributed by Yin Shiyou(yinshiyou...@loongson.cn) + *