[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] SPARC sdiv patch
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] SPARC sdiv patch |
Date: |
Mon, 25 Aug 2008 22:45:20 +0300 |
On 8/25/08, Vince Weaver <address@hidden> wrote:
> Hello
>
> the SPARC v9 manual specifies the sdiv instruction as computing
> Y concated with the *lower 32 bits* of r[rs1] / lower 32 bits of r[rs2]
>
> The current code does not ensure that only the lowest 32 bits of rs1 are
> used. The following patch fixes this.
>
> This fix allows the "gcc" SPEC 2000 benchmark complete successfully.
>
> The "udiv" helper might also need this fix.
Thanks, applied.