[Bug target/54681] New: [SH] Add tanf approximation
olegendo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Sep 23 12:40:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54681
Bug #: 54681
Summary: [SH] Add tanf approximation
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: target
AssignedTo: olegendo@gcc.gnu.org
ReportedBy: olegendo@gcc.gnu.org
Target: sh4*-*-*
When the sinf and cosf approximation 'fsca' is enabled on SH4 it can also be
used to approximate tanf, by calculating sinf (x) / cosf (x).
For example like that:
fsca fpul,dr2
fdiv fr3,fr2
More information about the Gcc-bugs
mailing list