r273648 - in /trunk: gcc/testsuite/ChangeLog li...
shorne@gcc.gnu.org
shorne@gcc.gnu.org
Sun Jul 21 20:59:00 GMT 2019
Author: shorne
Date: Sun Jul 21 20:59:50 2019
New Revision: 273648
URL: https://gcc.gnu.org/viewcvs?rev=273648&root=gcc&view=rev
Log:
or1k: Fix issues with msoft-div
Fixes bad assembly logic with software divide as reported by Richard Selvaggi.
Also, add a basic test to verify the soft math works when enabled.
gcc/testsuite/ChangeLog:
PR target/90362
* gcc.target/or1k/div-mul-3.c: New test.
libgcc/ChangeLog:
PR target/90362
* config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
instructions are not available on every processor. Change a
l.bnf to l.bf to fix logic issue.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgcc/ChangeLog
trunk/libgcc/config/or1k/lib1funcs.S
More information about the Gcc-cvs
mailing list