How to generate an efficient sine tone?

I have tested the two different sine tones in sigma studio.One is the sine tone in "source" category with few MIPS being used.And the other sine tone is from test signal generator in "SHARC Audio Toolbox" category,which results in even 8 MIPS used.Refering to the source code of the sine tone in "SHARC Audio Toolbox",I see it just straightly generate the sine tone with the sine function in "math.h".

So I wonder if there is any other way to generate the sine tone with less MIPS used,as the sine tone in the "source" category?As you know we may also use cosine tone most of the time,and I just want to generate an efficient cosine tone according to the learning the sin tone.

I also used sine tone in source combining up with delay modul to generate cosine tone,even though,as you know it may be so bothering to calcucating the delay samples for the different frequence of sine tone.

1) Yes, it is expected. The two modules are implemented differently. The internal module is implemented using optimized ASM instructions whereas the second implementation is using standard library functions.

2) As mentioned above, it uses functions from standard library functions, which is expensive.

3) Yes. You will have to implement it using Algorithm Designer based on a tone generation algorithm/equation. The iterative equations mentioned in one of my earlier posts is one of the possible options.

1) Yes, it is expected. The two modules are implemented differently. The internal module is implemented using optimized ASM instructions whereas the second implementation is using standard library functions.

2) As mentioned above, it uses functions from standard library functions, which is expensive.

3) Yes. You will have to implement it using Algorithm Designer based on a tone generation algorithm/equation. The iterative equations mentioned in one of my earlier posts is one of the possible options.

It seems I am returning back to this problem again.And I would like to describe the problem breifily again.

The quetion is "how could I build my own custom designed Sine module in sigma for sharc".Even though there is already an optimized sine module internally,as you known,Sine function is so common in conjuntion with the other algorithm processing.

It will be really appreciated,if you may offer me some instructions about how to calculate "sine(x)"efficiently.