Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
difference mips32/mips64
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
olk  
View profile  
 More options Aug 3 2010, 2:38 pm
Newsgroups: comp.sys.mips
From: olk <oliver.kowa...@gmx.de>
Date: Tue, 03 Aug 2010 20:38:35 +0200
Local: Tues, Aug 3 2010 2:38 pm
Subject: difference mips32/mips64
I'm little bit confused how mip232 and mips64 are different:

- as it seams to me both have the  same amount of registers (and same name)
- what is the size of a register 32bit on mips32 and 64bit on mips64?
- what about the instruction-set: lw loads a word (I would use it for
loading register context on mips32, what instruction should I use on mips64

Other platforms like Intel have differences between 32bit and 64bit
platforms.

thx,
Oliver


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Sieweke  
View profile  
 More options Aug 9 2010, 11:20 pm
Newsgroups: comp.sys.mips
From: Mike Sieweke <msiew...@ix.netcom.com>
Date: Mon, 09 Aug 2010 23:20:17 -0400
Local: Mon, Aug 9 2010 11:20 pm
Subject: Re: difference mips32/mips64

 olk <oliver.kowa...@gmx.de> wrote:
> I'm little bit confused how mip232 and mips64 are different:

> - as it seams to me both have the  same amount of registers (and same name)
> - what is the size of a register 32bit on mips32 and 64bit on mips64?
> - what about the instruction-set: lw loads a word (I would use it for
> loading register context on mips32, what instruction should I use on mips64

> Other platforms like Intel have differences between 32bit and 64bit
> platforms.

> thx,
> Oliver

The main programmer-visible difference between MIPS32 and MIPS64
is that registers are 64 bits wide on MIPS64.  Pointers can also be
64 bits.  You can run MIPS32 code on a MIPS64, and it should behave
the same as it would on a MIPS32.  You can't call MIPS32 code
directly from MIPS64 code, because the MIPS32 code will only save
the low half of each register.

There are new instructions for dealing with 64-bit operands -
for example loads/stores (ld, sd, etc.), shifts, and so on.
There are important differences in the ABI, since saved
registers or passed values can take twice as much stack space.

The privileged architecture is, of course, more different -
but even that is not hugely different.  TLB entries are wider,
for example.

This is all well documented.  You can download documentation
from the MTI web site.

-- Mike Sieweke
-- "Just a bit of harmless brain alteration, that's all..."


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »