Sin, Cos, Sinh, and Cosh#
Sin, cos, sinh, and cosh on PowerVR architecture have a reasonably low cost of four cycles.
This is broken down as:
Two cycles of reduction
sinc
One conditional.
fragColor.x = sin(t.x); // four cycles
{fred}
{fred}
{fsinc}
{fmul, mov} // plus conditional
fragColor.x = cos(t.x); // four cycles
{fred}
{fred}
{fsinc}
{fmul, mov} // plus conditional
fragColor.x = cosh(t.x); // three cycles
{fmul, fmul, mov, mov}
{fexp}
{sop, sop}
fragColor.x = sinh(t.x); // three cycles
{fmul, fmul, mov, mov}
{fexp}
{sop, sop}