I am using some trignometric functions in uboot . it gives exception while running .,
The P1022 processor has floating point unit named SPE, it does not implement floating point instructions as it defined in Book E.
If you attempt to execute common floating point instruction, it will lead to exception.
Have a great day,
Alexander
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Dear alexander.yakovlev ,
Normal floating point operation operations like addition.subtraction , multiplication and division works fine with float and double data type .
But while using the above file it gives exception in GET_HIGH_WORD which uses a structure for getting the lsw and msw for a float data.
Regards,
Suman kr Chakraborty
Dear alexander.yakovlev
Can you tell the alternative for this problem . how can i execute floating point instructions in p1022. This functions works fine in mpc8379 processor.
The code which i am using is presesnt in https://github.com/fidian/MathLib/blob/master/Src/e_acos.c
The exception gives in GET_HIGH_WORD point .
Regards,
Suman kr Chakraborty
SDG
1411