Closed Bug 1157065 Opened 9 years ago Closed 9 years ago

GFX: MIPS: Optimize 2D operations by Loongson3 MMI

Categories

(Core :: Graphics, defect)

Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox40 --- affected
firefox41 --- fixed

People

(Reporter: hev, Assigned: hev)

Details

Attachments

(8 files)

Hi,

The GS464 core of Loongson3 implemented a SIMD ASE like as intel MMX, we call it Loongson3 MMI. This is a 64-bit SIMD instruction set, it isn't support floating point.

In public, it used by another open source project pixman for Loongson3. currently, we want to public some 2d operations implemented in LS3 MMI.
Assignee: nobody → r
This is a helpers for translate SSE instruction interface to MMI and used by next patches.
Attachment #8595687 - Flags: review?(tnikkel)
Comment on attachment 8595687 [details] [diff] [review]
0001-GFX-2D-Add-Loongson3-MMI-helpers.patch

Did you mean to request review from me? I don't think I'm the right reviewer for this. Jeff or Bas can likely help here.
Attachment #8595687 - Flags: review?(tnikkel)
Attachment #8595687 - Flags: review?(jmuizelaar)
Attachment #8595687 - Flags: review?(bas)
This patch added a new source file convolverLS3.cpp, will build in every mips platforms, just enabled for Loongson3 (-march=loongson3a).
Attachment #8595706 - Flags: review?(jmuizelaar)
Attachment #8595706 - Flags: review?(bas)
Attachment #8595707 - Flags: review?(jmuizelaar)
Attachment #8595707 - Flags: review?(bas)
Attachment #8595687 - Flags: review?(jmuizelaar) → review+
Comment on attachment 8595706 [details] [diff] [review]
0002-GFX-2D-Implement-skia-Convolve-in-LS3-MMI.patch

Review of attachment 8595706 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/2d/moz.build
@@ +109,1 @@
>  

I don't think this is correct. There are mips chips without LS3.
Attachment #8595706 - Flags: review?(jmuizelaar) → review-
Attachment #8595707 - Flags: review?(jmuizelaar) → review+
(the actual code seems protected by #if defined(_MIPS_ARCH_LOONGSON3A) so it should be safe to build on all mips)
(In reply to Jeff Muizelaar [:jrmuizel] from comment #5)
> Comment on attachment 8595706 [details] [diff] [review]
> 0002-GFX-2D-Implement-skia-Convolve-in-LS3-MMI.patch
> 
> Review of attachment 8595706 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: gfx/2d/moz.build
> @@ +109,1 @@
> >  
> 
> I don't think this is correct. There are mips chips without LS3.

Thanks.

(In reply to Vladimir Vukicevic [:vlad] [:vladv] from comment #6)
> (the actual code seems protected by #if defined(_MIPS_ARCH_LOONGSON3A) so it
> should be safe to build on all mips)

You are right, Thanks for you help.
Comment on attachment 8595706 [details] [diff] [review]
0002-GFX-2D-Implement-skia-Convolve-in-LS3-MMI.patch

Review of attachment 8595706 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/2d/moz.build
@@ +109,1 @@
>  

Thanks, the real codes protected by '#if defined(_MIPS_ARCH_LOONGSON3A)'.
Keywords: checkin-needed
Can we please clean up the reviews here? I see pending ones and one patch that has an outright review- on it.
Keywords: checkin-needed
Attachment #8595706 - Flags: review?(jmuizelaar)
Attachment #8595706 - Flags: review?(bas)
Attachment #8595706 - Flags: review-
Attachment #8595706 - Flags: review?(jmuizelaar) → review+
Keywords: checkin-needed
Attachment #8610294 - Flags: review?(jmuizelaar)
Attachment #8610296 - Flags: review?(jmuizelaar)
Attachment #8610297 - Flags: review?(jmuizelaar)
Attachment #8610298 - Flags: review?(jmuizelaar)
Attachment #8610299 - Flags: review?(jmuizelaar)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment on attachment 8610294 [details] [diff] [review]
0004-GFX-Skia-Implement-SkUtils-in-LS3-MMI.patch

Review of attachment 8610294 [details] [diff] [review]:
-----------------------------------------------------------------

Please submit all of the skia optimizations to upstream skia. They will flow into our tree from there.
Attachment #8610294 - Flags: review?(jmuizelaar) → review-
Attachment #8610296 - Flags: review?(jmuizelaar) → review-
Attachment #8610297 - Flags: review?(jmuizelaar) → review-
Attachment #8610298 - Flags: review?(jmuizelaar) → review-
Attachment #8610299 - Flags: review?(jmuizelaar) → review-
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
Attachment #8595707 - Flags: review?(bas)
Attachment #8595687 - Flags: review?(bas)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: