Advertisement

Test32Args again fails

Started by May 27, 2009 05:39 AM
0 comments, last by WitchLord 15 years, 6 months ago
As stated here http://www.gamedev.net/community/forums/topic.asp?topic_id=518683, i'm getting these results with "2.16.2 WIP" using -O2 flag in gcc 4.3.2:

TestExecute32Args: testVal is not of expected value. Got:

value 0: 1.000000
value 1: 2.000000
value 2: 3.000000
value 3: 4.000000
value 4: 5.000000
value 5: 6.000000
value 6: nan
value 7: nan
value 8: 9.000000
value 9: 10.000000
value 10: 11.000000
value 11: 12.000000
value 12: 13.000000
value 13: 14.000000
value 14: 15.000000
value 15: 16.000000
value 16: 17.000000
value 17: 18.000000
value 18: 19.000000
value 19: 20.000000
value 20: 21.000000
value 21: 22.000000
value 22: 23.000000
value 23: 24.000000
value 24: 25.000000
value 25: 26.000000
value 26: 27.000000
value 27: 28.000000
value 28: 29.000000
value 29: 30.000000
value 30: 31.000000
value 31: 32.000000
--------------------------------------------






Any ideas ?
Looks like I need to add fninit to all GCC assembly code in as_callfunc_x86.cpp too. Just as I did for the MSVC assembly code in the same file in revision 405.

This didn't happen in earlier versions of GCC, so it looks to be a new optimization that they've added.

Perhaps you could give the fix a try for me?

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement