This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: -mfmovd enabled by default for SH2A but not for SH4
- From: "Naveen H.S." <naveen dot hs at kpitcummins dot com>
- To: "Kaz Kojima" <kkojima at rr dot iij4u dot or dot jp>
- Cc: <gcc at gcc dot gnu dot org>, "Prafulla Thakare" <Prafulla dot Thakare at kpitcummins dot com>
- Date: Mon, 25 Feb 2008 15:03:54 +0530
- Subject: RE: -mfmovd enabled by default for SH2A but not for SH4
Hi,
>> Have you got this error on the real SH2A-FPU hardware?
Yes, we got this error on SH72513(SH2A) hardware. When the same code
is run on simulator, the "address error" occurs on encountering the
"fmov.d" instruction.
>> couldn't find any description for 8-byte alignment restriction for
>> double data on memory in my SH2A manual
Please refer the section 3.3 "address errors" in the SH2A software
manual at the following link:-
http://documentation.renesas.com/eng/products/mpumcu/rej09b0051_sh2a.pdf
It is mentioned that "Double longword data accessed from other than
double longword boundary" results in address error.
Regards,
Naveen.H.S.
KPIT Cummins Infosystems Ltd,
Pune (INDIA)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH, H8, R8C, M16C
and M32C Series. The following site also offers free technical support
to its users. Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools were released on February 4, 2008.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~