* MIPS32v2 toolchain for MIPS32 24KE Core?
@ 2006-12-13 10:36 KokHow.Teh
2006-12-13 10:36 ` KokHow.Teh
2006-12-13 11:00 ` Thiemo Seufer
0 siblings, 2 replies; 3+ messages in thread
From: KokHow.Teh @ 2006-12-13 10:36 UTC (permalink / raw)
To: linux-mips, info; +Cc: Bing-Tao.Xu
Hi;
Which toolchain can I use to build linux kernel for 24KEc core
in order to use MIPS32v2 ISA?
"Programming the MIPS32 24KE Core Family" (Document Number
MD00458 Revision 1.10 December 21,2005) from MIPS Technologies
illustrates the details of programming this core using MIPS32v2 ISA to
access into some hardware registers using some extended instructions.
One typical critical example that I encounter now is the use of `rdhwr
v0, CCRes` that tells you how fast the COUNT register is running. I
assumed it to be running at pipeline frequency but in fact it is not.
What I do now is to hard-code it to be running at half of the pipeline
frequency according to hardware implementation document since the
present toolchain that I am using is not supporting this ISA. Assembling
`rdhwr v0,CCRes` will result in "opcode not supported at this ISA level
(mips2) error. GCC(1) does not give any indication of MIPS32v2 ISA at
all.
Any advice and insight is appreciated.
Regards,
KH
^ permalink raw reply [flat|nested] 3+ messages in thread
* MIPS32v2 toolchain for MIPS32 24KE Core?
2006-12-13 10:36 MIPS32v2 toolchain for MIPS32 24KE Core? KokHow.Teh
@ 2006-12-13 10:36 ` KokHow.Teh
2006-12-13 11:00 ` Thiemo Seufer
1 sibling, 0 replies; 3+ messages in thread
From: KokHow.Teh @ 2006-12-13 10:36 UTC (permalink / raw)
To: linux-mips, info; +Cc: Bing-Tao.Xu
Hi;
Which toolchain can I use to build linux kernel for 24KEc core
in order to use MIPS32v2 ISA?
"Programming the MIPS32 24KE Core Family" (Document Number
MD00458 Revision 1.10 December 21,2005) from MIPS Technologies
illustrates the details of programming this core using MIPS32v2 ISA to
access into some hardware registers using some extended instructions.
One typical critical example that I encounter now is the use of `rdhwr
v0, CCRes` that tells you how fast the COUNT register is running. I
assumed it to be running at pipeline frequency but in fact it is not.
What I do now is to hard-code it to be running at half of the pipeline
frequency according to hardware implementation document since the
present toolchain that I am using is not supporting this ISA. Assembling
`rdhwr v0,CCRes` will result in "opcode not supported at this ISA level
(mips2) error. GCC(1) does not give any indication of MIPS32v2 ISA at
all.
Any advice and insight is appreciated.
Regards,
KH
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MIPS32v2 toolchain for MIPS32 24KE Core?
2006-12-13 10:36 MIPS32v2 toolchain for MIPS32 24KE Core? KokHow.Teh
2006-12-13 10:36 ` KokHow.Teh
@ 2006-12-13 11:00 ` Thiemo Seufer
1 sibling, 0 replies; 3+ messages in thread
From: Thiemo Seufer @ 2006-12-13 11:00 UTC (permalink / raw)
To: KokHow.Teh; +Cc: linux-mips, info, Bing-Tao.Xu
KokHow.Teh@infineon.com wrote:
> Hi;
> Which toolchain can I use to build linux kernel for 24KEc core
> in order to use MIPS32v2 ISA?
MIPS32R2 support was added in gcc-3.4.6, as mentioned in the release
notes at http://gcc.gnu.org/
Thiemo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-13 11:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 10:36 MIPS32v2 toolchain for MIPS32 24KE Core? KokHow.Teh
2006-12-13 10:36 ` KokHow.Teh
2006-12-13 11:00 ` Thiemo Seufer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox