e32tools/elf2e32/source/parametermanager.cpp
changeset 617 3a747a240983
parent 607 378360dbbdba
child 666 76dc8e3e7f2e
--- a/e32tools/elf2e32/source/parametermanager.cpp	Wed Jul 14 14:50:01 2010 +0100
+++ b/e32tools/elf2e32/source/parametermanager.cpp	Tue Jul 20 15:02:28 2010 +0800
@@ -2576,14 +2576,14 @@
 {
 	INITIALISE_PARAM_PARSER;
 
-	if (strnicmp(aValue, "softvfp", 7)==0)
-		aPM->SetFPU(0);
+	if (strnicmp(aValue,"vfpv3D16", 8)==0)
+		aPM->SetFPU(3);
+	else if (strnicmp(aValue,"vfpv3", 5)==0)
+		aPM->SetFPU(2);
 	else if ((strnicmp(aValue, "vfpv2", 5)==0) || (strnicmp(aValue, "softvfp+vfpv2",13 )==0))
 		aPM->SetFPU(1);
-	else if (strnicmp(aValue,"vfpv3", 5)==0)
-		aPM->SetFPU(2);
-	else if (strnicmp(aValue,"vfpv3D16", 8)==0)
-		aPM->SetFPU(3);
+	else if (strnicmp(aValue, "softvfp", 7)==0)
+		aPM->SetFPU(0);
 	else
 		throw InvalidArgumentError(INVALIDARGUMENTERROR, aValue, aOption);
 }