This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/6526] [SH4] sdivsi3_i4 can clobber xd0/xd2
- From: "joern dot rennecke at superh dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2003 11:40:00 -0000
- Subject: [Bug target/6526] [SH4] sdivsi3_i4 can clobber xd0/xd2
- References: <20020430191600.6526.marcus@mc.pp.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6526
------- Additional Comments From joern.rennecke@superh.com 2003-06-02 11:39 -------
Subject: Re: [SH4] sdivsi3_i4 can clobber xd0/xd2
If you want to change fpscr so that the change is effecitve and preserved
in and across function calls, you should use __set_fpscr.
The new value for fpscr is to be passed in r4, and it is put in fpscr,
and with appropriate modifications to the PR and SZ bit into the two
locations of __fpscr_values.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.