https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117036
Stefanos Kornilios Mitsis Poiitidis <skmp at emudev dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |skmp at emudev dot org --- Comment #1 from Stefanos Kornilios Mitsis Poiitidis <skmp at emudev dot org> --- Created attachment 60402 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60402&action=edit Initial patch for builtin_sh_fsca This is an initial patch to add __builtin_sh_fsca. It needs the vectors enabled (abi breaking/extending), as it returns 2-float vector. Vector to vector mov also needed to be implemented (partial; won't work from/to memory as is in the patch). The following test code float fsca_test(unsigned angle) { return __builtin_sh_fsca(angle)[0]; } produces _fsca_test: lds r4,fpul rts fsca fpul,dr0