[Webkit-unassigned] [Bug 185944] [MIPS] Fix build on MIPS32r1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 24 08:40:06 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=185944

Loïc Yhuel <loic.yhuel at softathome.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |loic.yhuel at softathome.com

--- Comment #2 from Loïc Yhuel <loic.yhuel at softathome.com> ---
This looks ok, and builds fine.

Here are the different cases I can think of :
 - -march=mips32 -mfp32 : mtc1/mfc1, OK
 - -march=mips32 -mfpxx (so __mips_isa_rev == 1, __mips_fpr == 0) : "as" would fail with "Error: float register should be even, was xx" (the only way would be to an intermediate memory transfer). Nothing changes here, so I think no one uses this configuration so it's fine if WebKit doesn't support it.
 - -march=mips32r2 -mfp32 : mfhc1 and mthc1 are used even if not necessary, but this isn't an issue
 - -march=mips32r2 -mfpxx : mfhc1 and mthc1, OK
 - -mfp64 : gcc already ensures mfhc1 and mthc1 are available

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180524/dbda0f42/attachment.html>


More information about the webkit-unassigned mailing list