[Bug target/88630] Incorrect float negating together with convertion to int on SH4

2019-10-01 Thread zavadovsky.yan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630 --- Comment #9 from Zavadovsky Yan --- >Can you try it out please and see >if it fixes the issue on your hardware? Checked GCC 8.2 + your patch and crosstool-ng to build toolchain(using same config as I've used while reporting bug). At least it

[Bug target/88630] Incorrect float negating together with convertion to int on SH4

2019-10-01 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630 --- Comment #8 from Oleg Endo --- Created attachment 46987 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46987&action=edit Trial patch The ST-40 manual describes the fneg and fabs instructions separately for single and double precision.

[Bug target/88630] Incorrect float negating together with convertion to int on SH4

2019-09-30 Thread zavadovsky.yan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630 --- Comment #7 from Zavadovsky Yan --- Hello. >your posted disassembly doesn't seem to match >the actual source that you have posted Sorry, my mistake. Seems that I attached some temporary ASM sources. Must be check for -12, of course. >The

[Bug target/88630] Incorrect float negating together with convertion to int on SH4

2019-09-28 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630 Oleg Endo changed: What|Removed |Added CC||olegendo at gcc dot gnu.org --- Comment #6 f