benmbrennan / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Don't override FGR with 0xffffffff after mtc0 #285

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe your system:
 - Linux distribution: Debian sid
 - Machine type: 64 bit
 - Mupen64Plus version: svn1416

When somebody switches between 64-bit wide FGR to 32-bit FGR it will
rearrange all registers in memory. This is partly done by shifting the
different parts of a new register pair for a double together. It is
important that this is done with unsigned integers or otherwise sign
extension is done and the upper part of the register will always be
0xffffffff when the bit 31 of the lower part of the register is 1.

Original issue reported on code.google.com by sven@narfation.org on 10 Oct 2009 at 12:52

GoogleCodeExporter commented 9 years ago
Patch to fix it

Original comment by sven@narfation.org on 10 Oct 2009 at 12:55

Attachments:

GoogleCodeExporter commented 9 years ago
patches applied to Mupen64Plus v2.0 Hg repository

Original comment by richard...@gmail.com on 14 Nov 2009 at 6:11

GoogleCodeExporter commented 9 years ago

Original comment by richard...@gmail.com on 13 Jan 2010 at 1:21