/[qemu]
ViewVC logotype

Revision 5471


Jump to revision: Previous Next
Author: aurel32
Date: Sun Oct 12 23:32:40 2008 UTC (15 years, 1 month ago)
Changed paths: 1
Log Message:
SH4: Fix swap.b

The SH4 manual documents the swap.b instruction as follows:

        SWAP.B Rm,Rn
                Rm → swap lower 2 bytes → Rn

Current QEMU code, in addition to the above, also clears the high
16 bits. The immediate breakage I saw is that htonl function applied
to  netmask of 255.255.255.0 gives 0, which breaks all networking.

(Vladimir Prus)

Changed paths:

Path Details
Directorytrunk/target-sh4/translate.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5