https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117036
Bug ID: 117036
Summary: [SH] add __builtin_sh_fsca, __builtin_sh_fsrra
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: olegendo at gcc dot gnu.org
Target Milestone: ---
Currently the compiler will convert std::sin, std::cos, 1/std::sqrt into fsca
and fsrra instruction when e.g. --fast-math is enabled.
However, there are cases where users want to emit those instructions directly,
regardless of optimization settings. E.g. to implement platform specific
fast-math functions/libraries.