Need some Info regarding OpenJDK for MIPS.

Yongqiang Yang xiaoqiangnk at gmail.com
Fri Dec 24 20:13:36 PST 2010


Hi Kiran,

We have no any design documents, hotspot was designed and developed by Sun.
Maybe you can find some documents on internet.

Cheers,
Yongqiang.

2010/12/24 Kumar, Kiran 3. (NSN - IN/Bangalore) <kiran.3.kumar at nsn.com>:
> Hi Ynag
>
> I am facing some difficulties in chnaging the endian to big endian,can u have any
> Design document for the OpenJDK.
>
>
>
>
> Thanks and Regards
> -------------------------------------
>
> Kiran Kumar P
> Mobile: 9880758736
>
> -----Original Message-----
> From: ext YANG Yongqiang [mailto:yangyongqiang at loongson.cn]
> Sent: Thursday, December 23, 2010 12:33 PM
> To: Kumar, Kiran 3. (NSN - IN/Bangalore)
> Cc: ext YANG Yongqiang; mips-port at openjdk.java.net
> Subject: RE: Need some Info regarding OpenJDK for MIPS.
>
> Hi Kiran,
>
> I think it will need not too much effort to do this job. The job could be
> divided into 2 phases.
>
> First, you can change template interperter back to big endian.
> To do this, you need to implement your bytes operations, which are in
> hotspot/src/cpu/mips/vm/bytes_mips*.
>
> Second, you can make c1 support MIPS with big endian. You need to
> implement  native instructions which are in
> hotspot/src/cpu/mips/vm/nativeInst_mips*.
>
> During our porting, we had a premise that destination processor is little
> endian.  Thus maybe there are some ugly codes which rely on the premise.
> This will need your some efforts to detect these codes.
>
>
> Cheers,
> Yongqiang.
>
>> Hi Yang
>>
>> Thanks for the reply ,what is the effort needed to change it back
>> to big endian.If you have any idea please let me know ,as I am intersted
>> to change it back
>> to bigendian as the Hadware we use is MIPS big endian.
>>
>>
>> Thanks and Regards
>> -------------------------------------
>>
>> Kiran Kumar P
>> Mobile: 9880758736
>>
>> -----Original Message-----
>> From: ext YANG Yongqiang [mailto:yangyongqiang at loongson.cn]
>> Sent: Thursday, December 23, 2010 12:10 PM
>> To: Kumar, Kiran 3. (NSN - IN/Bangalore)
>> Cc: ext YANG Yongqiang; mips-port at openjdk.java.net
>> Subject: RE: Need some Info regarding OpenJDK for MIPS.
>>
>>>
>>> Hi  YANG
>>>
>>> Here I have one question as JAVA by defaullt is big endian ,correct me
>>> if
>>> I am wrong.
>>> What I understood is it is ported to  little endian now I have to change
>>> it back to use big endian right.
>>
>> Yes, you are right.
>> BTW: The destination of this porting is Loongson processor which is little
>> endian, so we must change big endian to little endian .
>>
>>>
>>>
>>>
>>>
>>> Thanks and Regards
>>> -------------------------------------
>>>
>>> Kiran Kumar P
>>> Mobile: 9880758736
>>>
>>> -----Original Message-----
>>> From: ext YANG Yongqiang [mailto:yangyongqiang at loongson.cn]
>>> Sent: Thursday, December 23, 2010 11:58 AM
>>> To: Kumar, Kiran 3. (NSN - IN/Bangalore)
>>> Cc: mips-port at openjdk.java.net
>>> Subject: Re: Need some Info regarding OpenJDK for MIPS.
>>>
>>> Hi Kiran Kumar P,
>>>
>>> Now it only supports MIPS on little Endian architecture.  If you want a
>>> version supporting MIPS on big Endian architecture.  You just need to
>>> change native instructions and bytes instructions yourself.
>>>
>>> Cheers,
>>> Yongqiang.
>>>
>>>>
>>>> HI
>>>>
>>>> I am Kiran from Nokia Siemens Bangalore, I came across u r website
>>>> http://icedtea.classpath.org/hg/openjdk6-mips/summary
>>>> That I came to know that OpenJDK is available for MIPS ,we are also
>>>> looking for java on MIPS.
>>>>
>>>> Here my question is this OpenJDK supports MIPS on big Endian
>>>> architecure,as we are looking for OpenJDK on MIPS for big Endian.
>>>> Thank you.
>>>>
>>>>
>>>> Thanks and Regards
>>>> -------------------------------------
>>>>
>>>> Kiran Kumar P
>>>> Mobile: 9880758736
>>>>
>>>>
>>>
>>>
>>> --
>>> Yongqiang
>>>
>>>
>>>
>>
>>
>> --
>> Yongqiang
>>
>>
>>
>
>
> --
> Yongqiang
>
>
>



-- 
Best Wishes
Yongqiang Yang


More information about the mips-port mailing list