CodeWarrior wizard creates project using hardware floating point in default.
There is no mistake if floating point is used under CodeWarrior.
It looks like that your code is incorrect.
For example, check the following:
addis r5,0, 0x3f800000
This line should be the following:
addis r5,0, 0x3f80
Compare your assembler code using floating point procedure using C language.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------