Selaa lähdekoodia

removed unnecessary register shift by one (XMM0 is the first floating point register passed in A64bit WINAPI calling convention)

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7585 8c9fc860-2736-0410-a75d-ab315db34111
felixf 7 vuotta sitten
vanhempi
commit
5b35c0cf7a
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      source/FoxAMDBackend.Mod

+ 0 - 1
source/FoxAMDBackend.Mod

@@ -3306,7 +3306,6 @@ TYPE
 				END;
 				RETURN HardwareIntegerRegister(RAX + index, type.sizeInBits)
 			ELSIF type.form = IntermediateCode.Float THEN
-				index := index + 1; (* start with XMM1 *)
 				RETURN HardwareFloatRegister(index, type.sizeInBits)
 			ELSE
 				HALT(100);