Sqaure root function in assembly language:

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Sqaure root function in assembly language:

跳至解决方案
2,143 次查看
RohitSinghal
NXP Employee
NXP Employee
Hi,
 
In order to handle performance issue, i require assembly code for sqaure root function that will boost the
over all system performance providing better results.
 
Regds,
Rohit
 
 
标签 (1)
标记 (1)
0 项奖励
1 解答
723 次查看
CompilerGuru
NXP Employee
NXP Employee
There are a few important details missing in the question.
First, for which processor is this, for a S08 or S12 (or XGATE or RS08 or CF)?
Then on which kind of values (floating point, int, long, limited value range, complex numbers,...)?
ANSI C provides a floating point one only, so if you need an integral one, then
here's a C implementation by bigmac using a new Newton algorithm:

http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&message.id=6411


Daniel


在原帖中查看解决方案

0 项奖励
2 回复数
724 次查看
CompilerGuru
NXP Employee
NXP Employee
There are a few important details missing in the question.
First, for which processor is this, for a S08 or S12 (or XGATE or RS08 or CF)?
Then on which kind of values (floating point, int, long, limited value range, complex numbers,...)?
ANSI C provides a floating point one only, so if you need an integral one, then
here's a C implementation by bigmac using a new Newton algorithm:

http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&message.id=6411


Daniel


0 项奖励
723 次查看
RohitSinghal
NXP Employee
NXP Employee
Thanks for the info.,
 
This code is required for flexis AC series of controller for S08 as well as CF processor.
 
It is basicly used for handling floating point numbers.
 
Regds,
Rohit
0 项奖励