[Bug target/88630] Incorrect float negating together with convertion to int on ST-40

zavadovsky.yan at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 2 11:23:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630

--- Comment #11 from Zavadovsky Yan <zavadovsky.yan at gmail dot com> ---
>We can set it as a default behavior for all FPU-capable SH4 variants, 
>but that will pessimize it for everything.

>The other option is to enable this only for your specific CPU (ST-40), 
>which would require you to use the -m4-300 option, not the -m4 option

If behavior of hardware is variative for this fpscr register switching it by
some option sounds as good idea.


>Would that be feasible for you?

Yes.
Any variant - I can add more compiler options to "makefiles" or rebuild whole
toolchain.


More information about the Gcc-bugs mailing list