Skip to content

Commit f62dbcc

Browse files
jcowgilldcommander
authored andcommitted
Fix build error when compiling MIPS SIMD w/ -mfpxx
When compiled with -mfpxx (which is now the default on Debian), there are some restrictions on the use of odd-numbered FP registers. More details about FPXX can be found here: https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking This commit simply changes all uses of FP registers to an even-numbered equivalent like this: f0 -> f0 f1 -> f2 f2 -> f4 ... f8 -> f16 This commit should have no observable effect except that the MIPS assembly will now compile with -mfpxx. Closes flutter#11
1 parent b657631 commit f62dbcc

File tree

2 files changed

+199
-196
lines changed

2 files changed

+199
-196
lines changed

ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ This facilitates passing read-only buffers to those functions and ensures the
3131
caller that the source buffer will not be modified. This should not create any
3232
backward API or ABI incompatibilities with prior libjpeg-turbo releases.
3333

34+
[7] The MIPS DSPr2 SIMD code can now be compiled to support either FR=0 or FR=1
35+
FPUs.
36+
3437

3538
1.4.1
3639
=====

0 commit comments

Comments
 (0)