qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH][SPARC] Doubleword alignment for floating point inst


From: Aurelien Jarno
Subject: [Qemu-devel] [PATCH][SPARC] Doubleword alignment for floating point instructions
Date: Thu, 5 Apr 2007 19:58:28 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hi all,

According to the SPARC v8 manual, floating point instructions that
operate on doublewords should be aligned. The processor should
ignore the least significant bit of the register number, and may 
generate a trap.

Very few real CPU are actually generating a trap, so the attached patch
simply make the emulated CPU to ignore the smaller bit.

Note that on SPARC v9, this bit is actually used as the most significant
bit.

Bye,
Aurelien

-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   address@hidden         | address@hidden
   `-    people.debian.org/~aurel32 | www.aurel32.net

Attachment: sparc-qemu-double_ops.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]